Pablo Carneiro Elias wrote:
> Hi there, I've verified that OpenSG is building the bounding box of my 
> whole scene even if all objects are set to invisible (setActive( false )).

Not being a core developer, SetActive()'s implementation is IMHO a bit
of a hack as it alters the travmask, which can be used to selectively
render pars of the scene graph. It is correct that the volume calcs
should not depend on the travmask, so that explains why you're getting
this behaviour.

> Is there a way of specifying that inactive nodes should not make part of 
> the bounding box of parent objects?

Not directly AFAIK (but there might be a way).

Another workaround is to call setEmpty(true/false) on a node when you
change it's active status. That might do the trick.

Cheers,
/Marcus


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to