What's the story with RotPosPathInterpolator? Up to this point, I have been
walking around my universe by driving my ViewPlatform with the standard key
navigation behaviors. This is too much like virtual exercise, so I decided
to fly to frequently-used places. I thought using an Alpha object with a
loop count of 1, I could use the RotPosPathInterpolator to control the
ViewPlatform's TransformGroup in just the same way as the KeyNavigator does.
Unless I'm doing something silly, I've discovered two annoying bugs and only
one workaround.

1. Constructing an Alpha object with a loop count of 1, e.g. new Alpha(1,
slide_time_ms) doesn't work. This will still give you a repeating Alpha! I
still had to use myAlpha.setLoopCount(1) to get the thing to run once and
then stop.

2. The RotPosPathInterpolator doesn't give up control of the TransformGroup,
even when the Alpha has run its course. So, to my utter delight, once I'd
finally stumbled across the above hack to get the Alpha to run once-only,
the keys no longer worked, presumably because the RotPosPathInterpolator was
clobbering the KeyNavigator's adjustments to the TransformGroup with it's
own transform, ie the final position/orientation.

Hope I might save somebody some frustration with the Alpha thing. Does
anybody have an elegant way around the crazed RotPosPathInterpolator
behavior?

Regards,
Mike Wiese

Java3D 1.1.2
Java 1.2.2
NT4.0 SP5

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