PDA

View Full Version : loading ppm texture



12-17-2002, 09:21 AM
how do i load a ppm file as a texture?

jebus
12-17-2002, 09:33 AM
check out DevIL. it's an image loading library that supports many file formats.

jebus

yakuza
12-17-2002, 09:38 AM
I found this example code doing a Google search on "opengl ppm texture loading":
http://www.cs.rit.edu/usr/local/pub/ncs/graphics/OpenGL/ExamplesLab4/Texture/maiden.c