View Full Version : RGB to PPM converter and RGB file loader
06-06-2002, 07:21 PM
Is there a RGB file to PPM file converter for windows I can download? And is there source code for loading RGB files to my OpenGL program anywhere?
Any hint would be appreciated.
06-06-2002, 07:24 PM
You'd definately want to try out Developer's Image Library, a.k.a. DevIL. It can load, convert, and save between numerous image formats, including RGB and PPM.
06-06-2002, 11:16 PM
Thanks, but somehow it doesn't work for me.
I got the image using the ilGetData function, and put the image array I got into gluBuild2DMipmaps() funciton. But no texture is shown up. I am reading a .ppm file btw. Any suggestion or is there other image loader?
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.