Guys,

Is it safe to modify the scene graph outside of frame() with
CompositeViewer with ThreadingModel SINGLE_THREADED, even if I don't
call stopThreading()? 

We are changing the node mask of certain elements during the root node's
cull callback. This turns certain draw elements on or off, but more
importantly it turns the textures mapped to those elements on or off as
well.

The issue that I am seeing is that if I call stopThreading, the textures
mapped to the draw elements are not the ones that I assigned, but random
ones that exist on other elements. This might be some kind of display
list corruption or something.

One more question: If someone has seen this behavior before, is there a
way to set up the draw elements so that this issue does not occur when I
call stopThreading?

I appreciate any input that you guys can provide that may help me on
this issue.

Sincerely,

John Argentieri
Software Engineer
GENERAL DYNAMICS
C4 Systems 
[EMAIL PROTECTED]

"This email message is for the sole use of the intended recipient(s) and
may contain GDC4S confidential or privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not an intended recipient, please contact the sender by reply
email and destroy all copies of the original message."

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to