This question came up before. There were only a few answers to it in the
archive. Currently Java3d can not do animated textures, or movie types of
textures. This does not mean that it can not be done though.
You can easily import the quicktime libraries, or hmm..I guess you could also
use the JMF from java(the java media framework)
Now, you will have to do some weird rendering. Like perhaps you would have to
have your own graphics object created and just play the movie inside of that
graphics object.
Then, you set up a java3d behavior to run, say every 1000 milliseconds/ or 1
second and advance your movie, take a snapshot, retexture your object.
Yes, this would be slow. You could spawn a thread that would parse your avi
into gifs for you, and also creates the texture objects as well. Then, when your
behavior wakesup then it is just a matter of applying the texture to the object.
Again, I have not tried to change the textures quickly like this, so I have no
idea how fast it would be. Maybe someone on the java3d team could estimate? Or,
maybe someone has tried doing animated textures or the like and has some time
information?
Scott
Scott Decker
Research Scientist
Pacific Northwest National Labs
[EMAIL PROTECTED]
please feed the squirrels
===========================================================================
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".