Displaying RGB or TGA images using GLUT?

Started by
0 comments, last by Scaleo 23 years, 5 months ago
Hi! I wonder if anyone out there has a small and simple example how to display and maybe move a rgb or a tga-image using GLUT or openGL. I just need the basic code, nothing fancy or anything, just something thats easy to understand. MrAnderson
MrAnderson
Advertisement
ive got a few simple examples on me site (none with rgb though IIRC theres no info in the file about how big + what colour depth the textures are so a file that is 65535 bytes long it can be 128x128x4 or 256x256x1) personally i recommend using png files

http://members.xoom.com/myBollux

This topic is closed to new replies.

Advertisement