> Dear all:
>
> I load my object from a file as, e.g.
>
> osg::Geode* geode = osgDB:ReadNodeFile("lz.osg");
>
> How can I extract the bounding box information from it? I
> need the actual size of the object (width/length/depth) but
> not the bounding "sphere" dimensions.Hi Janusz! So if you wish to get the bounding box from your geode, just do the following: osg::BoundingBox bb = geode->getBoundingBox(); And then you can access the bounding box center, radius, etc... Belthil. Créez votre adresse électronique [EMAIL PROTECTED] 1 Go d'espace de stockage, anti-spam et anti-virus intégrés. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
