Hi all, it's my first expirience in openscenegraph (v2.6), and i need ur help 
plz. In my application i need to get camera position every frame, i try do this:

Code:

while(!viewer.done())
{
  viewer.getCamera()->getViewMatrixAsLookAt(eye, center, up);
  //eye hold camera pos???
  viewer.frame();
}



or there is another way to get it?

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to