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
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 =
Eric Pouliquen wrote:
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
3 matches
Mail list logo