[osg-users] some questions about Frame Scheme ON_DEMAND

Gianni Ambrosio g.ambrosio+osg at gmail.com
Mon Jul 20 02:20:03 PDT 2015


wernerM wrote:
> Hi Gianni,
> I solved it for me by deriving the viewer class and setting a 
> local variable "needsUpdate" with any mod of the sceene.
> This works pretty good.
> 


OK, so there isn't any way in OSG. I think it would be a nice improvement for the OSG code to add the scene modification flag to be handled by checkNeedToDoFrame().

I can understand your modification and I thought to implement a class for that so it can be injected where needed, it can be more testable and the viewer would have less resposibilities.

Regards,
Gianni

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64379#64379








More information about the osg-users mailing list