Hi Tobias,

Tobias Kilian wrote:

Hi NG!

I want to skip some part of my scene from drawing. This is done using a switch using Switch::NONE as Selection. Now I have some Nodes underneath that Graph, that i never want to skip, except when the LODs say so.
The Structure is as follows;

...

and either draw root, or texturedBoxesRoot in the expectation of getting the textured ones always and be able to exclude the others.

But that did not work, because if "root" is selecting Switch:NONE, the texturedBoxes dont get drawn either.
I think my graph is correct. what am i missing?

Honestly I'm not sure if understood all the details of your structure, but I think that regardless of the details the easiest way to get what you want is using traversal masks. You can set a 32 bit mask on each Node and on the Viewport, and only if the & of the masks is !=0 is the Node rendered. This should give you more control than the Switch.

Hope it helps

   Dirk



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to