View Full Version : display images wit opengl

10-01-2001, 06:20 PM
thanks buddy, but I am wondering how many ways that opengl use to display a image?

I only want opengl diaplay a image with any size, for example 200X100 or 600X800. the images should not be changed in size,

is this the only way that I map the image as a texture onto a QUAD? this way is not good since the images size is restricted to 2powern, which will always change the size.

any other ways? thanks.


10-03-2001, 06:55 AM
You have bitmap functions but they are slow.

10-03-2001, 07:00 AM
Search the archives, this seems to be answered every couple of days. But you can get any size of texture to work, just takes a bit of extra code and 'padding' of your images to 2^n dims.