Testing AnimatedTexture2 with the texture program
In order to use the texture program, you need some MPEG format movies.
Some neato MPEG movie archives are listed at Yahoo under
MPEG archives
One of my favorites is eggclock.mpg, available at:
Program options
usage:
texture [-46wnd -t object -x num -y num -f freq] [-n || -locpm movie ...]
-l, loop (default)
-o, once
-c, cycle through movies
-4, 4 face cube filled with movies
-6, 6 face cube filled with movies
-p, do not fill faces with movies
-m, no multi-threading
-w, write a scene graph to movie.iv
-n, no movie, just the object
-d, deform face
-t [cone|cylinder|sphere|cube|surface|mesh], texture onto an object
-x num, Set resolution in x for mesh object (>1)
-y num, Set resolution in y for mesh object (>1)
-f freq, Set timer frequency for deformations (>0)
Examples
- The following will show each of movie1.mpg and movie2.mpg on three of the 6
faces of a cube.
texture -6 movie1.mpg movie2.mpg
- The following will show movie1 and movie2 on two side by side faces
texture movie1.mpg movie2.mpg
- The following will first show movie1.mpg on all the
faces of a cube, and then will show movie2.mpg on all faces of a cube, and then
start over with movie1.mpg again.
texture -6 -c movie1.mpg movie2.mpg
- The following will do the same thing, but in addition
will write the scene graph to movie.iv
texture -w -6 -c movie1.mpg movie2.mpg
- The following will show movie1.mpg on a cone
texture -t cone movie1.mpg
- The following will show movie1.mpg on a NURBS surface
texture -t surface movie1.mpg
- The following will show movie1.mpg on a quad mesh that is being deformed,
and write a scene graph to movie.iv.
texture -t mesh -d -w movie1.mpg
lsh@cs.brown.edu (Loring Holden)
this page is http://www.cs.brown.edu/software/AnimatedTexture2/texture.html
Loring Holden