Hi. I am looking for some assistance.

I am trying to create a Behavior that successively looks at the
cross-section of an object.  I am using the ModelClip class and have
implemented a Behavior that allows me to step through the various sections
in accordance with KeyPress events.  Now, I would like to animate this
behavior so the whole thing will run automatically, triggered by a
KeyPress or other event.  Here's my problem:

- If I naively implement this as a loop as part of the Behavior, the
object does not redraw during successive iterations (because the Behavior
never returns control to the Viewer).  Question #1: Is there a way I can
force a refresh from within the Behavior?

- I am having trouble writing my own Interpolator, as it's not clear what
I need to be extending/using.  Question #2: Is there a place where I can
have a look at the implementation of the Interpolator class?

- In my case, it seems a little bassackwards to start with an Alpha that
interpolates smoothly and convert it to discrete knot values when they are
already discrete and nicely spaced. Question #3: Is there a better way to
do this?

Any insights, comments, suggestions would be greatly appreciated.

Thanks in advance.

------------------------------------------------------------------------
David L. Alderson  [EMAIL PROTECTED]   http://www.stanford.edu/~alderd
Ph.D. Candidate, Management Science and Engineering, Stanford University
------------------------------------------------------------------------

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