non square textures?

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
iq
Greenskin
Posts: 125
Joined: Mon Oct 20, 2003 8:25 pm

non square textures?

Post by iq »

Just wanted to know if it is 'safe' to use non-square (but still power of two) textures these days. (ie 256x1024)
Or are there any compatibility issues to watch for - I aim for GF4Ti class or higher.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Non square is absolutely ok. The reason some sites discourage it is because the non square texture is still mapped to texture coordinates 0.0 .. 1.0 in x and y direction, and that confuses some people. But if you need less resolution in one of the coordinates it's perfectly ok.
iq
Greenskin
Posts: 125
Joined: Mon Oct 20, 2003 8:25 pm

Post by iq »

Great, thanks.

Actually I want to combine several textures for batching while still being able to use tex-address wrapping in one direction.
Post Reply