Hi Jason,

I recently wrote a custom NodeVisitor to compute the bounding box of a
subgraph, I haven't yet exposed this generally yet, but have a look at
examples/osgshadow/osgshadow.cpp.

Robert.

On 11/27/06, Jason <[EMAIL PROTECTED]> wrote:
Hi everyone,

I was just wondering if there was a way to obtain a bounding box from a node
or a group. As far as I can tell this is only available via the
osg::Drawable class, but the terrain I am loading is an osg::Node and that
only seems to deal with bounding spheres. Specifically, I would like to use
a bounding box to obtain the maximum height of the terrain. Any help would
be appreciated.

Thanks!
Jason
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to