Jimmy,

I demonstrate a (custom) Behavior for something similar to this in my
forthcoming book:
http://www.manning.com/Selman/index.html

I wrote a Behavior that took a TextureAttributes object in its ctor and
updated it inside processStimulus every N milliseconds. It worked pretty
well for my example (animating a flaming torch graphic).

So, the answer is it *can* be done - but for the moment you will have to
write your own Behavior to do this.

You *could* use the built in Interpolator classes by passing a dummy
TransformGroup to the Interpolator and then updating your TextureAttributes
based on the contents of the TransformGroup.

Hope that help a little!

Daniel Selman

[EMAIL PROTECTED]
http://www.tornadolabs.com

> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jimmy Talbot
> Sent: 16 January 2000 15:12
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] texture transform interpolator
>
>
> Hi,
>
>  Are there any texture transform interpolators hiding anywhere? I'd like
> to have a texture scrolling on a panel. Of course I can't use a
> PositionInterpolator since it requires a TransformGroup, not a
> TextureAttribute.
>
> Thanks
>
> Jimmy
>
> ==================================================================
> =========
> 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