• Advertisement
Sign in to follow this  

How to display an imagine?

This topic is 3265 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

I have an image 'pic.jpg" and I want to display it using OpenGL Glut. How do I do that? Can someone please help me? Thanks a lot

Share this post


Link to post
Share on other sites
Advertisement
I don't know the answer to your question, but I'd recommend that you use something other than .jpg images, to avoid graphics covered with compression artifacts. Just my little two penn'oth worth, I might be wrong.

Share this post


Link to post
Share on other sites
Stay away from Nehe.

Use this
http://www.opengl.org/sdk/docs/man/

or

http://www.google.com/search?hl=en&q=opengl+tutorials&btnG=Search



Just ignore anything related to Nehe.

Share this post


Link to post
Share on other sites
What BytePtr wanted to say is that nehe is quite outdated with respect to coding style and GL helper tool usage such as GLUT :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement