Hi John,

On Tue, 2007-09-11 at 23:56 -0600, John Steinbis wrote:
[SNIP]
> root->addChild(BGProjectionMatrix);
> 
> BGProjectionMatrix->setMatrix(osg::Matrix::ortho2D(0,width,0,height));
> BGProjectionMatrix->addChild(BGModelViewMatrix);
> 
> BGModelViewMatrix->setMatrix(osg::Matrix::identity());
> BGModelViewMatrix->setReferenceFrame(osg::Transform::ABSOLUTE_RF);
> BGModelViewMatrix->addChild( BGGeode );
> 
> BGTexture->setDataVariance(osg::Object::DYNAMIC);
> BGTexture->setImage(BGImage);
> 
> BGGeode->addDrawable(BGBackgroundGeometry);
> BGGeode->setStateSet(BGStateSet);

I might be wrong, but the above code does not look like you are using
OpenSG, but maybe OpenSceneGraph ?
Due to the similar naming these two systems are easy to confuse, but if
you are indeed using OpenSceneGraph you'll most likely get more helpful
answers on one of their mailing lists (e.g. 
[EMAIL PROTECTED]).

        Thanks,
                Carsten



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to