ok, it's a quite hard question. because if you load a lot different files into 
a whole scenegraph and merge the loaded group with the global scenegraph,
you can no longer say, that's a model. because the global becomes your model.
:-) also i guess you ask how you can find some objects, geode, groups in the scenegraph.
if you load a external file, you can add each time a field called name. node->getName().
so you have just walk trough the scenegraph and collect the node referance and the node name. if you find a node with the name you are currently looking for, this would be the place where you can start working on the loaded model in the global scene (model)

adegli

2006/5/21, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Hi:

I loaded a file in which contains quite a few models. How can I know the
number of the models and get their names? Thanks a lot.

Cheers



_______________________________________________
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