[osg-users] cull traversal

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Sun Mar 20 14:05:19 PDT 2016


Heh :-) .. That is even simplier ..

Thanks Jannik!

Nick

On Sun, Mar 20, 2016 at 9:43 PM, Jannik Heller <scrawl at baseoftrash.de>
wrote:

> >  I did it in a simpler way by adding a node at the end of the scenegraph
> and set a cullcallback and it works
>
> Yes, that should work. You could also set a cull callback on the root
> node, and in the callback do this:
>
> traverse(node, nv); // cull scene root
>
> // end of cull traversal
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=66569#66569
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160320/49230d9c/attachment-0003.htm>


More information about the osg-users mailing list