From: bh ahn
Sent: Sunday, March 31, 2002 7:49 PM

> hi all

> I would try to make program which is animated with interaction.

> For example, first make animation using Interpolator class and then insert
interaction using > Behavior class.

> Is this possible thing?

Sure.

> what can i do for this?

I think that the standard pattern for this is to write your own class -
depending on the details of your model, you may be able to extend an
Interpolator, or you may have to extend directly from Behavior.  In any case
your new class implements the Listener interface for the user interactions
you want.  You set wakeup conditions for your required rendering schedule OR
the interaction event.  In processStimulus(), you pick apart the criterion
and respond accordingly.

It's not that hard to write Interpolators because most of the ugly is hidden
in the Alpha.

hth,

Fred Klingener
Brock Engineering

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