It is true that there is a mistake in the code sipnet I posted.
However, with the correct code

shape.setBounds( new BoundingBox(new Point3d(-10000,-10000,-10000),new Point3d(10000,10000,10000)));

it still doesn't work.

I also tried this with a BoundingSphere first, but that through an ClassCastException in Java3D.
 

[EMAIL PROTECTED] wrote:

If that's not a typo, then you've defined a bounding box with a z-height of 0.  I haven't done much work with bounding boxes so this may not be a problem; it could also be a typo.

> shape.setBoundsAutoCompute(false);
> shape.setBounds( new BoundingBox(new Point3d(-10000,-10000,10000),
>                                  new Point3d(10000,10000,10000)));

Just thought I'd mention it because I hate spending a lot of time chasing down a bug, only to find that it's something simple.

Matt Huber
[EMAIL PROTECTED]


--
___________________________________________________________

Shawn Kendall               Full Sail Real World Education
Course Director             3300 University BLVD
Real Time 3D for Gaming     Winter Park FL 32792
[EMAIL PROTECTED]       http://www.fullsail.com
___________________________________________________________
 

Reply via email to