CompositeViewer support: Difference between revisions

Jump to navigation Jump to search
m
Line 297: Line 297:
of support I can provide for free.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg01766.html</ref>
of support I can provide for free.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg01766.html</ref>


=== Crashing ===
SingleThreaded means that frame() doesn't return until the draw threads have
completed. At that time, you are free to make any changes you want. In other
threading models, the draw threads might still be active after frame() returns,
but you are guaranteed that objects with dynamic data variance have been
processed (only static or unspecified data variance is left for the draw threads
to work on).
The update NodeVisitor is for convenience only and isn't required for any
modifications.
If your instability (crash?) goes away in SingleThreaded mode, then the issue is
either improper use of data variance, or you have a thread safety issue in one
of your callbacks.
=== Data Variance ===
=== Data Variance ===
{{Note|If you are seeing a crash when running single threaded then
{{Note|If you are seeing a crash when running single threaded then

Navigation menu