Game Development Community

Animated Textures in T3D

by JesseL · in Torque 3D Professional · 05/29/2009 (12:20 pm) · 22 replies

I think I am a little confused on how Animated Textures work. I would assume that if I created a texture that was 320 units long and 32 units high. Every 32 units I placed a texture like a number increasing from 0 1 2 3 4 5 6 7 8 9.

baseTex[0] = "demo/data/shapes/particles/alphasoup0_9";
   animFlags[0] = $sequence;
   sequenceFramePerSec[0] = "10";
   sequenceSegmentSize[0] = "0.1";

instead it just looks like it placed the whole texture on the shape and is scrolling it around. What do I do? This was not the intended effect!

About the author

I just realized that if I wanted to create a cat that caught on fire and ran up a telephone pole and then burst into a blue waterfall. That wouldn't be to hard!

Page«First 1 2 Next»
#21
07/30/2010 (6:27 am)
Beta 2 will have support for the 0.0-1.0 UV mapping. You can choose between this and the current behavior (map a single frame within the image sequence) by changing the 'Scale' animation flag in the Material Editor.

Neither approach works with tiling textures.
#22
08/02/2010 (4:33 pm)
Confirmed as Fixed in 1.1 Beta2
Page«First 1 2 Next»