PDA

View Full Version : Loading .JPG into a texture?



darkhorror
10-05-2000, 10:18 AM
is there a way to load a JPEG file into a texture? is there some source code that I could download or look at?

DFrey
10-05-2000, 10:28 AM
What you could do is use a 3rd party library to decompress the jpeg file, and use the decompressed image for the texture. Intel has such a jpeg library available, as does the IJG at http://www.ijg.org/