Hi,

We are observing a few problems when displaying the statistics on the screen. 
Essencially, when we enable stats the State::getInitialViewMatrix() return 
identity matrix. If the stats are NOT enabled, then it return the view matrix 
of my "slave" camera. Is this the correct behavior? If so, what  is the best 
way to recover the view matrix of my "slave" camera?

I know that the State class contains a list of cameras. I can iterate through 
the vector and find my camera, but that seems and expensive solution. 

Any other suggestions would be appreciated.
 
Cheers,
Guy

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17568#17568





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to