Hi!
I tried to export model with animated texture (animating texture offset in material editor) but I see no effect in viewer.
Animation via transform of the UVWs doesn't work neither.
Please help. I am using MAX 2009 and Panda exporter.
Texture animation
-
- Posts: 237
- Joined: Mon Jan 16, 2006 1:18 pm
- Location: Odessa,Russian Federation
I think, you'll have to implement such animation by yourself...
It's pretty easy.....
You just need to adjust a texture matrix of the material.
Look
It's pretty easy.....
You just need to adjust a texture matrix of the material.
Look
Code: Select all
if(Time-LastTime>=100)//1/10 second
{
LastTime=Time;
X+=1.0f/32.0f;//There are 32 frames in the animation, the value is from 0.0f to 1.0f
TONode->getMaterial(1).getTextureMatrix(0).setTextureTranslate(X,0.0f);
}