[osg-users] CompositeViewer:: checkNeedToDoFrame() always returns true after adding an UpdateCallback

Robert Osfield robert.osfield at gmail.com
Mon Sep 25 00:39:41 PDT 2017


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 seen.

Robert.

On 24 September 2017 at 22:26, Lincoln Nxumalo <lincoln.nxumalo at gmail.com>
wrote:

> 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?
>
> ...
>
> Thank you!
>
> Cheers,
> Lincoln
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=72058#72058
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170925/056dcc68/attachment.htm>


More information about the osg-users mailing list