Hi Robert, I'm wondering about the logic of the osgViewer::frame() method. I have a key event handler that wants to influence the simulation time (eg a "pause" key that fixes simulation time), but advance() takes place before the events are handled. Would it make more sense to have the advance() after the eventTraversal and before the updateTraversal ? Perhaps it needs to be broken up such that advance_viewer() and advance_simulation(double simulationTime) surround the eventTraversal() call. advance_viewer() would then take care of viewer house keeping of things like ReferenceTime and Stats. Of course this is something that can be overridden but perhaps it's a common enough usage that it would be worth putting into the existing frame() ?
-Drew -- Drew Whitehouse ANU Supercomputer Facility Vizlab _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
