Jump to content
  • Advertisement

Archived

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

Scaleo

Displaying RGB or TGA images using GLUT?

This topic is 6413 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!