PDA

View Full Version : Square texture and dimension power of 2



devdept
02-15-2007, 12:59 AM
Hi All,

Are these limitations still valid.

Starting a new application today, should I manage these two limitations?

Thanks,

Alberto

Zengar
02-15-2007, 01:20 AM
This (http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_non_power_of_two.txt) extension removes the limitations. It was integrated into the core of OpenGL 2.0
Latest cards support it, but I still wouldn't think that every user has such card...

devdept
02-15-2007, 01:37 AM
Thanks a lot Zengar,

This means also that non square textures cannot be used yet?

Thanks again,

Alberto

zeoverlord
02-15-2007, 05:40 AM
If you are referring to square textures as xsize=ysize, then yes, they can be used, since there has never been such a limitation as long as i can remember.

So go crazy and use 512x32 textures, or might i even suggest 246x322 textures if you have the hardware for it(GF6 or above).

devdept
02-15-2007, 06:39 AM
Ok, thanks!