Re: [osg-users] setCullMask and computeBounds of nodes

2016-05-10 Thread Andrew Cunningham
OK, makes sense. Now I at least understand what is going on. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67067#67067 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] setCullMask and computeBounds of nodes

2016-05-10 Thread Jannik Heller
Hi Andrew, the computeBound() does not respect node masks. In theory it would be possible to skip the bounds update for nodes that were filtered by the cull mask, but implementing this would get complicated quickly - you have to consider there may be different cameras with different masks,

[osg-users] setCullMask and computeBounds of nodes

2016-05-09 Thread Andrew Cunningham
Hi, I am using cull masks to hide objects in the scene graph. Works great. When working with some custom drawables I note that the computeBound() method of my 'hidden/culled' object is still being called. It seems the computeBound traversal ignores cullmasks. Is that as expected? (OSG 3.0.1)