Hi There,
 
Are you trying to just read the files into a scene graph for display, or are you trying to merge them and write them to a new .osg file?
There are lots of examples in the code that use osgDB::readNodeFile().  You can also use osgDB::writeNodeFile() to write back out to a .osg file.
 
You need to create a scene graph in your application.  This means creating a root node that is an osg::Group and then adding children to it.  You can add several children in whatever way you want.
 
I hope I am not being too simplistic, I am not sure what you are asking for.  If none of this makes sense, you should work through some of the many many examples that are already provided.
 
-- Rick

 
On 11/13/06, yaqi fan <[EMAIL PROTECTED]> wrote:
I have a .osg scene, I want to add some models which are also .osg in the scene. What can I do? Can you give me some examples? Thank you very much.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to