PDA

View Full Version : Img's width&height >= TexMaxSize, how to use Texture mapping?



mehdi
10-09-2003, 07:02 AM
hi,

The max texture size supported by my card is 1024, and i need to use texture mapping to draw some images which dimensions are >= 1024; can somone show me one way to still use textures while image's Dims are >= TexMaxSize?

thanks.

Klaus
10-09-2003, 11:32 AM
Use multiple texture tiles with smaller size.

Note that your tiles have to overlap by one texel to ensure continuous interpolation.

Klaus

Obli
10-11-2003, 05:16 AM
Originally posted by Klaus:
Use multiple texture tiles with smaller size.
Unluckly, this cannot be applied on some cases (example: vertex program is computing texcoords so texture appears to move while time passes).

If you can resize it you will live just fine with that (it is very straightfoward to do and can be transparent to the rest of the application).