[osg-users] Correct way to modify scene graph [SEC=UNCLASSIFIED]
Thamm, Russell
Russell.Thamm at dst.defence.gov.au
Wed Nov 8 19:49:56 PST 2017
UNCLASSIFIED
Hi
I am in the process of porting an MFC application from plib to osg.
Currently, if I want to actually modify the scene graph (adding, deleting nodes etc) while the render thread is running I do the following:
parentNode->setNodeMask(0);
modify scene graph below parent node
parentNode->setNodeMask(~0);
This seems to work but is there a better way?
Cheers
Russell
IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171109/7c7473b5/attachment.html>
More information about the osg-users
mailing list