Try osg::ComputeBoundsVisitor.

Glenn Waldron : Pelican Mapping : +1.703.652.4791


On Tue, Dec 28, 2010 at 4:03 AM, Axel Spirtaat <[email protected]> wrote:

> Hi,
>
> I need to place the imported model of a table on the floor of my virtual
> room. Since the table is longer and wider than high, the related
> boundingSphere radius is really imprecise and i can't place it correctly (i
> use also bullet for physics).
> Is it possible to get the bounding box of an object in any way?
> Since i need to decorate the room with many objects, this can result
> difficult only with the boundingSphere.
>
> Thank you!
>
> Cheers,
> Axel
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=35188#35188
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to