Hi Carsten,

   Please send us a test program to verify if this is
a bug.

Thanks.

- Kelvin
--------------
Java 3D Team
Sun Microsystems Inc.

>Date: Wed, 03 Jul 2002 10:13:07 +1000
>From: Carsten Friedrich <[EMAIL PROTECTED]>
>Subject: [JAVA3D] ColorInterpolator Bug?
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>Content-transfer-encoding: 7bit
>X-Priority: 3
>X-MSMail-priority: Normal
>Delivered-to: [EMAIL PROTECTED]
>X-Claimed-Received: from lily
>
>Hi,
>
>I've written a Java 3D program simulating a model of a physical machine.
>I use Java 1.4.0 and Java3D 1.3 Beta 2. The simulated machine basically
>consists of all kinds of parts which rotate according to certain events. The
>rotations are done by standard rotation interpolators. I use a standard time
>elapsed Behavior to peridoically check which rotations are finished and
>remove
>the Interpolators from the scene graph to save resources (Sidenote:
>Is this a good idea?). This works fine so far.
>
>In addition to the rotations I now also want to change the color of certain
>parts
>at certain events. If I directly change the color in the Material, this also
>works fine.
>However if I use a color interpolator here things start to get funny. I
>noticed the following
>strange behavior:
>
>* Although the color interpolator seems to run and finally finish, and the
>material claims
>   it has the color it should have according to the interpolator, the color
>does not change on
>   the screen. This happens only for a small percentage of color
>interpolators but seems to
>   be deterministic. On each simulation run the same objects are affected at
>the same "time".
>   The same objects often get changed correctly by color interpolators at
>other times though.
>
>* Objects, for which no color interpolator was started, sometimes change
>their color for no apparent reason.
>   All interpolated objects are of the class Cone and only other objects of
>the class Cone get
>   changed by accident. There are other Objects in the scene which do not
>seem to be affected.
>
>I'm quite sure it is not a bug in my software as it runs without problems
>when changing the material
>directly.
>
>The source for the program is small and available if somebody wants to have
>a look at it.
>
>You can also look at the program running on:
>
>http://www.cs.usyd.edu.au/~carsten/LogicEngine/
>
>Enter somthing like:
>
>a b c
>a ~b d
>
>and press "Create Engine".
>
>This is the "bug-workaround" version which changes Material directly, but it
>might clarify what
>I'm talking about.
>
>Thanks for your help,
>Carsten
>
>===========================================================================
>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".

===========================================================================
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".

Reply via email to