Hi, folks!
I have a question regarding to the osgUtil::Optimizer. It seems that it does
much more work than I currently need. My scene graph setup is following:
root -> envMap -> renderable
root-> renderable
- root is the root node of the scene
- envMap is a node which do update a texture by rendering the content of
renderable into it (for now I use 6 cameras to dynamicaly update the
environment map)
- renderable is a group node containing the whole scene.
If I do not use Optimizer, then the things are done in the way I expect. Scene
is rendered on the screen and also in the texture (so it rendered twice)
However if I use osgUtil::Optimizer then the scene does not updated in the
texture and then there is also no call to Node::traverse() method of the
envMap node. So probably Optimizer does remove it from the graph.
So how can I setup Optimizer that it does not remove the subgraph from the
scene? Or what is the way to setup the whole things?
Thanks in advance.
MfG, Art
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/