Hi all,

 I'm using the dotosgwrapper method (RegisterDotOsgWrapperProxy) on my custom 
class, which heritates of a osg::Group.

My problem is that I create a local scenegraph in my class, and my class 
instance is the local root of the scenegraph. But when I save the instance in a 
.osg file, how can I say to OSG to ignore some of the nodes in the local 
scenegraph to be saved in the file ?

For example :

My class is SuperGroup, based on osg::Group.
I create a scenegraph in the call code which is :


Code:

                              SuperGroup
                                     |
                              --------------
                              |               |
                       Node 1          Switch
                                             /\
                           LightSource    Node 2 (test2.osg)




So when I save the SuperGroup instance in output.osg , I would like to have 
Node1, Switch, but not the LightSource and I would like to have a proxyNode of 
the Node2, but not all the osg code of the node 2 in my output.osg...

How do I manage this ?

thanks a lot

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16640#16640





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to