Textures larger than 256x256 ?

Started by
6 comments, last by Jesper T 22 years, 8 months ago
I have a little problem with using textures that is larger than 256x256 pixels. When using linear filtering, it doesnt seem to be able to load it at all, and with mip mapping the texture seems to be resized to 256x256. Any clues on this would be helpful
Advertisement
what type of video card do you have? for most purposes you shouldn''t need a texture that big. but most 3d cards support it.


Never underestimante the power of stupid people in large groups.
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
i have a voodoo III
I use large textures for a interface, they are not neccasarily more than 65536 pixels big tho ( e.g. 1024x32 etc.. )
why don''t you try breaking up the texture into different parts and just render them seperately?


Never underestimante the power of stupid people in large groups.
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
Yup, that is what im doing... but it seems like a waste of resources and it also makes stuff a bit more complicated. But I guess that if not all cards support larger than 256x.. textures that is what I will have to do :\
voodoo1,2,3 dont support textures larger than 256x256. what happens when u call gluBuildMipMaps(..) is gluScaleImage(..) gets called which will scale your image to a power of 2 size 1024x32 -> 256x8 . also with voodoo cards u cant have one side more than 8x longer than the other. thus 16x2 works but 32x2 doesnt work.
ah ok, thanks for the info
Take a look at what I''m working on if you are curious:
[link]http://home.online.no/~7396/delta/[/link]

This topic is closed to new replies.

Advertisement