View Full Version : texturing with .bmp, .jpg, .gif etc
anyone know where i can find some routines that'll read in .bmp, .jpg, etc and process them into good texture data. i.e. returning me an unsigned char* ?
05-26-2001, 11:40 PM
Try OpenIL. www.openil.org (http://www.openil.org)
Or for a simple jpeg loading routine: www.robals.f2s.com/easyjpeg/ (http://www.robals.f2s.com/easyjpeg/)
05-27-2001, 02:12 AM
Well, a simple .bmp loading routine is used in almost all of NeHe's tutorials. nehe.gamedev.net/opengl.asp
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.