Re: [osg-users] Bounding Parallelepiped

2008-10-03 Thread Matthieu DIRRENBERGER
PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Robert Osfield Envoyé : jeudi 2 octobre 2008 18:07 À : OpenSceneGraph Users Objet : Re: [osg-users] Bounding Parallelepiped On Thu, Oct 2, 2008 at 4:13 PM, Matthieu DIRRENBERGER [EMAIL PROTECTED] wrote: Robert J-S thanks for precisions, I have

[osg-users] Bounding Parallelepiped

2008-10-02 Thread Matthieu DIRRENBERGER
Hello OSG masters, I have a question about BoundingBox (I checked the mailing archives before). You know that OSG generate BoundingBox, but it is really a box (all faces have the same size). I need the Bounding Parallelepiped of my scene. Not just the bigger radius from the center applied on

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Robert Osfield
HI Matthieu, An osg::BoundingBox is an axis aligned bounding box, all faces could be the same size as in a cube, but this is certainly not constrained to represent cubes. Secondly the scene graph uses BoundingBox for the Drawable leaves, and BoundingSphere for nodes of the scene graph. This

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Tomlinson, Gordon
:[EMAIL PROTECTED] On Behalf Of Matthieu DIRRENBERGER Sent: Thursday, October 02, 2008 10:03 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Bounding Parallelepiped Hello OSG masters, I have a question about BoundingBox (I checked the mailing archives before). You know that OSG

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Jean-Sébastien Guay
Hi Gordon, Unfortunately, OSG does not directly support what you want as osg'S bounding box, is as you have seen is a axially aligned min/max LL/UR That is not true. OSG's bounding box supports separate xmin/xmax, ymin/ymax, zmin/zmax values, so it can represent boxes that have different

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Matthieu DIRRENBERGER
2008 16:23 À : OpenSceneGraph Users Objet : Re: [osg-users] Bounding Parallelepiped HI Matthieu, An osg::BoundingBox is an axis aligned bounding box, all faces could be the same size as in a cube, but this is certainly not constrained to represent cubes. Secondly the scene graph uses BoundingBox

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Tomlinson, Gordon
02, 2008 10:52 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Bounding Parallelepiped Hi Gordon, Unfortunately, OSG does not directly support what you want as osg'S bounding box, is as you have seen is a axially aligned min/max LL/UR That is not true. OSG's bounding box supports separate

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Robert Osfield
On Thu, Oct 2, 2008 at 4:13 PM, Matthieu DIRRENBERGER [EMAIL PROTECTED] wrote: Robert J-S thanks for precisions, I have not conscience of all that points. I had understood that osg::BoundingBox can 'store' a Bounding Model with different axis sizes, but I asked the question to understand the

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Paul Melis
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sébastien Guay Sent: Thursday, October 02, 2008 10:52 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Bounding Parallelepiped Hi Gordon, Unfortunately, OSG does not directly support what you want as osg'S

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Tomlinson, Gordon
Sent: Thursday, October 02, 2008 12:19 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Bounding Parallelepiped Tomlinson, Gordon wrote: I disagree :) You need 8 vec3's to do that, you need the 4 corners of any 2 opposite sides of the bounding box in order to have every side a different

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Fuesz, Matthew
, Matthew Sent: Thursday, October 02, 2008 12:33 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Bounding Parallelepiped For the case of a non-world-aligned bounding box - but still one which is parallel-sided (i.e., a rectangular volume) - you actually do not need all eight corners. You

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Paul Melis
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Melis Sent: Thursday, October 02, 2008 12:19 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Bounding Parallelepiped Tomlinson, Gordon wrote: I disagree :) You need 8 vec3's to do that, you

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Jean-Sébastien Guay
Hi Gordon, I disagree :) You need 8 vec3's to do that, you need the 4 corners of any 2 opposite sides of the bounding box in order to have every side a different size The osg::Bounding box only supplies 2 vec3's which effectively gives you 2 corner points and you cannot get the 8 corner

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Fuesz, Matthew
Martin STS 1210 Massillon Road Akron, OH 44315 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tomlinson, Gordon Sent: Thursday, October 02, 2008 12:26 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Bounding Parallelepiped How OSG uses

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Tomlinson, Gordon
To: OpenSceneGraph Users Subject: Re: [osg-users] Bounding Parallelepiped Hi Gordon, I disagree :) You need 8 vec3's to do that, you need the 4 corners of any 2 opposite sides of the bounding box in order to have every side a different size The osg::Bounding box only supplies 2 vec3's which effectively