Archived

This topic is now archived and is closed to further replies.

Scaleo

Displaying RGB or TGA images using GLUT?

Recommended Posts

Scaleo    122
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

Share this post


Link to post
Share on other sites
zedzeek    529
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

Share this post


Link to post
Share on other sites