I want to update the position of one of the cameras in my app based on the position of a light. I am updating the light position via an update callback. What is the recommend way to update the camera position? From some of the OSG source code I have seen that it is possible to get the light, and it's position, during a cull callback, and then set the camera matrix this way. Is this the best way to accomplish this?

CD

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

Reply via email to