How to display an imagine?

Started by
3 comments, last by Waterwalker 15 years, 1 month ago
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
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.
Anything and everything you need to know about OpenGL here.
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.
What BytePtr wanted to say is that nehe is quite outdated with respect to coding style and GL helper tool usage such as GLUT :)
------------------------------------I always enjoy being rated up by you ...

This topic is closed to new replies.

Advertisement