Hi Sameer,
Bug 4387382 -
ArrayIndexOutOfBoundsException when GeometryStripArray unIndexify
is submitted for the first two problems for investigation
which both throws Exception in the same place:
For the last problem, this bug
4340598 - Morph did not work after setGeometryArrays() in behavior
is fixed in v1.2.1 beta2 (but not v1.2.1 beta1)
Thanks.
- Kelvin
-------------
Java 3D Team
Sun Microsystems Inc.
>X-Unix-From: [EMAIL PROTECTED] Wed Nov 8 00:45:57 2000
>MIME-Version: 1.0
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>Importance: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
>Date: Wed, 8 Nov 2000 14:04:49 +0530
>From: Sameer Pokarna <[EMAIL PROTECTED]>
>Subject: [JAVA3D] GeometryArray byReference test codes.
>To: [EMAIL PROTECTED]
>
>Codes attached.
>
>Hi,
>
>I am using Java3d 1.2 and JDK 1.3
>I am trying to use byReference flag of GeometryArray.
>I have a couple of problems to report:
>
>- If I comment the line itsArray.setNormalRef3f (...) in GeometryHelper
>class,
>I get an exception.
>The main method is in IndexTest.java
>
>- If I use the geometry array returned by createIndTriStripArray (...) in a
>geometryArray
>and try ot create a Morph object out of this (as in TestMorphBehavior.java),
>it gives me
>an exception. If I disable the BY_REFERENCE flag and change the
>corresponding set methods,
>it works fine. However, this does not help me if I want to modify geometries
>later.
>If I use it without the BY_REFERENCE flag, and later on modify the geometry
>array and do
>a setGeometryArrays on the morph object, the behavior is as expected except
>that the
>geometries are not visible on the screen.
>
>Any clues as to what I might be doing wrong?
>
>Thanks,
>Sameer
>
>
===========================================================================
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".