Hi Phishjam,
Is it simply that you want the viewers camera to follow a child in the
scene? If so then you can use either node-getWorldMatrices() to get
the list of model matrices of the a node in the scene, inverting this
then gives
you the view matrix. Note, getWorldMatrices() may return 1 or
I am needing to set an osgUtil::SceneView's view matrix such that it is
identical to that of an osg::Group. The scene structure is along the lines of:
sceneRoot--osg::Switch--osg::PositionAttitudeTransform--osg::PositionAttitudeTransform--osg::Group
I need my scene view to have all of the
2 matches
Mail list logo