PDA

View Full Version : Jpeg with VC++ and OpenGL



Ziggurat
08-03-2002, 11:10 AM
Can anyone tell me how to load a jpeg image for use it with OGL (texture). I am programming with VC++ 6.0

Bob
08-03-2002, 11:20 AM
You can download a JPEG library here (http://www.ijg.org/) .

Ziggurat
08-03-2002, 11:29 AM
I have the libraries but i dont know how to use it to load a jpeg and then use it as a tecture in OGL

nomad
08-05-2002, 01:26 AM
or you could use DevIL, found at:
http://www.imagelib.org

you can load more than .jpgs with it...

pleopard
08-05-2002, 08:07 AM
Intel Jpeg Library rocks for Win32 ... you can see where to get it and how to use it here ... http://codeguru.earthweb.com/opengl/snaptojpeg.shtml

pongsak.a
08-07-2002, 02:54 AM
I found one here
http://www.gametutorials.com/Tutorials/OpenGL/OpenGL_Pg2.htm

08-07-2002, 08:01 AM
FYI, Intel's JPEG library is no longer free... costs US$199. Gag.