Hello, osg-users!
I have a question regarding the choice of the body-specific coordinate system
made by the COLLADA reader (daeReader/Writer in osgDB).
When I import a geometry from a COLLADA document, the osgDB plugin returns a
osg::Group that contains the "nodes" declared in the COLLADA document together
with all the "geometries" used by the node declaration, plus material
properties etc.
That works fine, but there is one thing I haven't figured out yet: How does the
COLLADA importer decide where to put the "local" origin for a node hierarchy
imported from COLLADA? I have tested different geometries consisting of 20 to
about 50 triangle strips/fans/arrays, but the body-specific coordinate system
was chosen quite arbitrarily (at least I couldn't figure out any pattern).
This is important for me to know since I use OpenSceneGraph to visualize a
rigid body simulation with the Bullet Physics engine, and I haven't managed to
get the OSG and Bullet coordinate systems "in sync".
Any hints or pointers to documentation/examples/earlier questions regarding
this are gladly accepted.
Thank you!
Fabian Aichele
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org