Re: [osg-users] Collada Reader - name import

2010-05-03 Thread Jason Daly
Matthias Gabriel wrote: Hi Roland, I didn't know about the animation issue. What i'm trying to do is to find nodes by their name so that i can manipulate it later. I don't think, that putting the name to description list will do the job, because other loaders set their names via

[osg-users] Collada Reader - name import

2010-05-01 Thread Matthias Gabriel
Hi, i want to import a 3d model from a collada file. This works fine, but all the names of the Nodes in my scenegraph are set to some IDs like ID1057. So i looked to the .dae file and found something like this: node id=ID1057 name=Line01 obviously the osg collada importer sets the name of

Re: [osg-users] Collada Reader - name import

2010-05-01 Thread Roland Smeenk
Hi Matthias, names in Collada file are only their for providing a human friendly textual description. ID's are used for referencing of elements. These references are needed by the OSG loader in case of animation parsing and probably some other places too. When writing the Collada file it is

Re: [osg-users] Collada Reader - name import

2010-05-01 Thread Matthias Gabriel
Hi Roland, I didn't know about the animation issue. What i'm trying to do is to find nodes by their name so that i can manipulate it later. I don't think, that putting the name to description list will do the job, because other loaders set their names via osg::Node::setName(..) (i.e. the osg