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 loader)
Wouldn't it be better to have something like osg::Node::setID() or, if
we don't want to change too much in the core library, move the IDs to
description list? Other osgPlugin readers treat the node names as human
readable ones.
regards,
MG
On 01.05.2010 10:25, Roland Smeenk wrote:
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 essential that the ID's stay
the same. Writing with the same name would be nice too, but is not essential
for maintaining the correct internal structure. Probably the best solution
would be to store the Collada element names in the osg node descriptions.
regards,
Roland Smeenk
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27489#27489
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org