Harley,
When a Java 3D program starts there is much going on, threads spawning,
background getting painted, maybe garbage collection, ....
It is quite possible the rendering system is not able to render while
this is all taking place. This effect is worse in software rendering
environments.
Even so, it is possible for behaviors to
'take place' simply because they are time based. The door is going
to close even if a single frame is rendered.
You can:
1) make the door close based on some event so you can make it
happen when you want.
2) give a delay on the door close. The Alpha class allows you
to specify a delay time (before starting).
I hope this helps.
Dennis
Harley Blumenfeld wrote:
>
> Has anyone else run into a situation where they have an
> Interpolator with an Alpha that does not loop (i.e Alpha a = new
> Alpha(1,2000)).
>
> When I run my program with this alpha the animation happens
> instantly and all I see is the end result.
>
> However when I set the Alpha loopcount to -1, I see the animation
> (in this case a rotation) interpolate beautifully. However the
> application calls for a kind of door effect where the door closes
> and stays closed.
>
> Does anyone know what I might be causing this?
>
> Thanks,
> Harley Blumenfeld
> Bloomberg L.P.
>
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.com
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/
--
-----
Dennis J Bouvier
Find the Java 3D Tutorial "Getting Started with the Java 3D API" at
http://sun.com/desktop/java3d/collateral
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/