Hi,

I use [b]osg::Node* node = osgDB::readNodeFile()[/b] to load a 3ds file in 
openscenegraph but the scale does not seems to be ok.

The geometry I use measure : height 40, length 125 and width 15.

But When I get the radius of this node (just after the readNodeFile)  I have 
this measure: 2609 
And if I expand it to have a bounding box :

[b]osg::BoundingBox bbox;
bbox.expandBy( node->getBound() );[/b]

And when I display x,y,zMax and x,y,zMin I obtain this:

xMax 2641.32
yMax 2609.86
zMax 3292.57

xMin -2578.4
yMin -2609.86
zMin -1927.15


So what's wrong with my code ? readNodeFile ?
Do I miss something ?

Thank you

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18222#18222





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to