Hi Lincoln,
If you know that your updates don't always need calling you customize the
behaviour of the viewer by subclassing from CompositeViewerViewer and
override the run() or checkNeedToDoFrame() method and let this code decide
when a new frame is required.
Robert.
Hi Robert,
Okay thanks for the reply. That makes sense.
Thank you!
Cheers,
Lincoln
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72062#72062
___
osg-users mailing list
Hi Linclon,
This is done by design, if you've put an update callback into the scene
graph then you are tell the world that you plan to update it, typically one
would move a transform or alter some visual state in such an update, so you
really need to render a frame to make sure those updates get
Hi All,
Just to confirm, is it by design that after you add an update callback to a
node in the scene,
CompositeViewer:: checkNeedToDoFrame() always returns true? Meaning that the
Frame Scheme will always be CONTINUOUS and never ON_DEMAND. Or am I missing
something I should be doing?
...
4 matches
Mail list logo