Texture Rotation

What it says on the tin: a place to discuss proposed new features.
User avatar
kuangfengwu
Halfling
Posts: 61
Joined: Fri Jun 08, 2012 10:38 am
x 2

Texture Rotation

Post by kuangfengwu »

I use 3ds max and export a fbx file. Fbx file is widely used and it has 2d texture rotation around the u/v/w axises.
but in ogre , there is only one funtion to rotate the texture
void setTextureRotate(const Radian& angle);

There is also a function to set transform, but after i set the matrix ,it's still wrong. Now i'm still in trouble.
void setTextureTransform(const Matrix4& xform);

If ogre provide functions like this,it would be easy to use.
void setTextureRotateU(const Radian& angle);
void setTextureRotateV(const Radian& angle);
void setTextureRotateW(const Radian& angle);

It's my little advise ,thank you.
Best wishes.