HI, i think what you want is:
osg::MatrixTransform* mtrans = new osg::MatrixTransform; mtrans->setReferenceFrame( osg::Transform::ABSOLUTE_RF ); mtrans->setMatrix( osg::Matrix::identity() ); mtrans->addChild( pGeode ); osg::Projection* pProj = new osg::Projection(); osg::Matrixd m_mOrtho = osg::Matrix::ortho2D( 0, 512, 0, 512 ); pProj->addChild( mtrans ); pProj->setMatrix( m_mOrtho ); set the ortho to your window size.. add the pGeode of your choice and add pProj to your scene. regards, Peter On Wed, Jun 11, 2008 at 12:20 PM, Eric Pouliquen < [EMAIL PROTECTED]> wrote: > Hi all, > > i'm trying to put a node in my scene, and making it following the > cameraNode... for example a textured plane which is always facing the cam, > centered in the viewport and always at the same distance from the cam... i > can't use classical pre-render options do to that because i want my plane to > be really in the scene, to manage zbuffer operations between other objects > and itself for example... > > thanks a lot > > Eric > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

