[osg-users] Executing subtree multiple times / repeater node?
Robert Osfield
robert.osfield at gmail.com
Thu Sep 14 05:42:46 PDT 2017
Hi Antiro,
If you just want to render whole subgraphs subgraph multiple times then a
cull callback can be used, or have a custom node override traverse() and
handle the CullVisitor as a special case and traverse the subgraph multiple
times. When you use this approach you will typically alter the rendering
for each pass by pushing/popping StateSet or other controls onto the
CullVisitor to specialize the rendering state for each pass.
Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170914/bceb5945/attachment.htm>
More information about the osg-users
mailing list