PDA

View Full Version : different sized textures like 100x100 or 150x150 is it possable?



Josh Kasten
02-14-2003, 05:03 PM
different sized textures like 100x100 or 150x150 is it possable?

nexusone
02-14-2003, 05:57 PM
Textures must be in the power of 2...

32 x 32, 64 x 32, 128 x 64, 256 x 256, etc


Originally posted by Josh Kasten:
different sized textures like 100x100 or 150x150 is it possable?

Orzech
02-15-2003, 08:58 AM
Originally posted by nexusone:
Textures must be in the power of 2...

32 x 32, 64 x 32, 128 x 64, 256 x 256, etc



Well, from what I know MIPMAP TEXTURES can be of every width and height. Am I wrong?

chxfryer
02-16-2003, 01:03 AM
I do believe Mips can be any resolution.

Mazy
02-16-2003, 01:19 AM
Mipmapped textures follows the same rules, each side has to be 2^n in size.. just that gluBuild2DMipmaps rescale the image for you to nearest n^2 size.

Orzech
02-16-2003, 04:39 AM
So now it is clear.

Obli
02-17-2003, 05:28 AM
You can use NV_texture_rectangle to make textures like 35x49, but you cannot use mipmaps and you also lose some wrapping modes (basically, no WRAP is supported).


Bye