PDA

View Full Version : Display TIFF file using OpenGL



songeb
01-17-2002, 08:55 AM
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,

heiman
01-17-2002, 10:52 AM
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 (http://www.sourceforge.com) that will read and display a variety of image formats on the windows platform.

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

songeb
01-17-2002, 04:56 PM
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,

Damon
01-17-2002, 05:02 PM
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

songeb
01-17-2002, 05:29 PM
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,

heiman
01-18-2002, 04:03 AM
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