Re: [osg-users] Using callbacks for all graph modifications?

2017-08-21 Thread Antoine Rennuit
Robert, Thanks a lot for taking the time to answer. This is much clearer now. Kind regards, Antoine. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71464#71464 ___ osg-users mailing list

Re: [osg-users] Using callbacks for all graph modifications?

2017-08-19 Thread Robert Osfield
Hi Antonie, On 18 August 2017 at 22:25, Antoine Rennuit wrote: > I understand the design difference you mentioni and it is relevant. > > Now from my readings of the beginners' guide, I understood that callbacks > were needed to enforce thread safety. Your answer

Re: [osg-users] Using callbacks for all graph modifications?

2017-08-18 Thread Antoine Rennuit
Robert, Thanks a lot for your quick answer! I understand the design difference you mentioni and it is relevant. Now from my readings of the beginners' guide, I understood that callbacks were needed to enforce thread safety. Your answer suggests that it is not the case. Can you confirm? i.e.

Re: [osg-users] Using callbacks for all graph modifications?

2017-08-18 Thread Robert Osfield
HI Antoine, Callbacks are just one way of managing updates to the scene graph, whether they are the most appropriate tool for each job depends entirely and usage case, within one application you may well use multiple approaches, using the appropriate tool for each task. As a general guide I

[osg-users] Using callbacks for all graph modifications?

2017-08-18 Thread Antoine Rennuit
Hi all, I have a custom DataModel describing objects, relations between them. The objects of my custom DataModel are rendered using OSG. Depending on user events in my app, the objects of my DataModel are modified and OSG is being notified of all these modifications. These modifications leads