Hi Shawn,
We can reproduce the ClassCastException problem.
Bug 4397777 is filed for investigation.
Thanks for your bug report.
- Kelvin
----------------
Java 3D Team
Sun Microsystems Inc.
>X-Accept-Language: en
>MIME-Version: 1.0
>Date: Fri, 3 Nov 2000 13:12:44 -0500
>From: Shawn Kendall <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] Shape3D Bounds and Culling problem
>Comments: To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>
>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
>___________________________________________________________
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".