Display TIFF file using OpenGL

Hi all,

I have to display an TIFF image file using openGL. Is there anyone know of such a free loader or freeware that can do it? and please in windows platform not in unix coz I don’t have unix with me.

I have rever tohttp://www.opengl.org/developers/code/glut_examples/tiff/ Mark Kilgard has written the program but I couldn’t compile it do to some error that I don’t know. May it’s because I’m using windows. does anyone know the window compatible version of the above mentioned library?

regards,

The BMGLib library can resd TIFF files and display them as textures in OpenGL. You can download BMGLib from my web site. You will need either MSVC++ or Borland C++ builder to build the library.

You can also find several open source projects on www.sourceforge.com that will read and display a variety of image formats on the windows platform.

Regards,
Scott
http:/members.home.net/scottheiman/

Thanks Scott,

Unfortunately I couldn’t open the BMGLib2_2.zip the corresponding error message always says the file is invalid try to download again. Can you help me with this problem?

regards,

In the past, I’ve used libtiff. It’s been around for a long time and is used in zillions of products. http://www.libtiff.org

Thanks Damon,

But I’m not familiar with libtiff which file should I get and what to do? sorry I’m a very beginner programmer.

regards,

If your e-mail server can handle a 2+ MB file then I will send you a copy that way. Sen your e-mail address to me at scottheiman@home.net

BTW, for those that are curious, BMGLib uses libTIFF, libPNG, libJPEG, and libUnGIF. BMGLib is a wrapper around these libraries.

Regards,
Scott