Non-Square Texture Crunched
by Greg G · in Artist Corner · 05/01/2009 (4:22 pm) · 7 replies
I exported a model with a non-square texture (512x256) and it looked correct in Maya but when I import it into torque it crunches the texture back down to a square and screws up my uv layout.
Am I doing something wrong or does anyone know of a work around for this? Aren't non-square texture supported?
Am I doing something wrong or does anyone know of a work around for this? Aren't non-square texture supported?
#2
Like Infinitum3D said,
The side of the texture must be a power of 2, it will say if its not when you import it into torque constructor.
05/01/2009 (4:52 pm)
Yea i find that really annoying, while im modeling wider object and you can notice the repeat in the texture.Like Infinitum3D said,
The side of the texture must be a power of 2, it will say if its not when you import it into torque constructor.
#3
05/01/2009 (4:53 pm)
I also tried exporting to Torque 3D using collada, which I thought might remedy the issue, but I had the exact same result.
#4
The only way I have found to fix this is to squash my uvs back down to the 0-1 range.
05/01/2009 (5:01 pm)
Okay I found out more about this. Its an issue with the UV range. It can't go out side 0-1. In order to layout my uvs I had to go beyond that limit since it was a non-square texture.The only way I have found to fix this is to squash my uvs back down to the 0-1 range.
#5
12/07/2009 (6:13 pm)
since the uv's are 2d vectors, scaling them down isn't a bad practice to get into. it's always a good habit to get into to lay out your uv's in the main quadrant.
#6
12/09/2009 (4:06 pm)
Your correct, since posting this I had learned that this is the standard for most of the game industry.
#7
At least that's what I think I have been accomplishing in Blender->T3D Demo..
12/09/2009 (6:09 pm)
Mayeb I can learn something here. I thought using UV's outside of the main quadrant was the only way to get an image to tile across a 3D model.At least that's what I think I have been accomplishing in Blender->T3D Demo..
Torque Owner Infinitum3D
Not familiar with exporting from Maya. Sorry I can't help with that. Your texture should work if your size is correct.
Tony