[osg-users] Don't optimize me!

From: Joakim Simonsson <joakim_at_autosim.no>
Date: Mon Jan 03 2005 - 01:06:39 PST

I want to optimize a node and all its children.

That's easy:

osgUtil::Optimizer optimizer;
optimizer.optimize(node01);

But I don't want all of node01's children to be optimized.

Is it possible to attach information to nodes that instructs the optimizer
that it shouldn't optimize those nodes:

,--------.
| Node01 |
'--------'
     |
,--------. ,--------. ,--------.
| Node02 |-| Node03 |-| Node04 |
'--------' '--------' '--------'
                |
             (NO OPTIMIZATION)

Node03 shouldn't be optimized in the above example.

Is this possible in a convenient way?

/Joakim
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
Received on Mon Jan 3 00:06:57 2005

This archive was generated by hypermail 2.1.8 : Mon Jan 03 2005 - 00:06:57 PST