Archived

This topic is now archived and is closed to further replies.

Jesper T

Textures larger than 256x256 ?

Recommended Posts

Jesper T    322
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

Share this post


Link to post
Share on other sites
Julio    116
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.

Share this post


Link to post
Share on other sites
Jesper T    322
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.. )

Share this post


Link to post
Share on other sites
Julio    116
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.

Share this post


Link to post
Share on other sites
Jesper T    322
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 :\

Share this post


Link to post
Share on other sites
zedzeek    529
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.

Share this post


Link to post
Share on other sites