I have an update callback that needs the current frames (i.e. the one that's about to be rendered with the cull/draw traversals to follow) eyepoint. When I used the camera's view matrix, I seemed to be getting last frame's eyepoint - it hadn't been updated yet? When I changed my update callback to use the current matrix manipulator (fly,drive,etc) eyepoint, which had already been updated in the event traversal, I now got this frame's current eyepoint. Making my update callback a cull callback using the camera view matrix also worked.

Is there a "good" way to get the current, updated eyepoint in an update callback? When does the camera view matrix become current?

Thanks.

Bob.

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

Reply via email to