View Full Version : Newbie in GL
So I decided to learn OpenGL, but i in all tutorials examples are with 3d, or very simple 2d and i want to ask how to load image (*.jpg, *.bmp) in 2d mode.
P.S. sorry for my english I am from Lithuania http://www.opengl.org/discussion_boards/ubb/smile.gif
12-14-2003, 06:08 AM
you should check out nehe.gamedev.net or gametutorials.com - both pages have great tutorials on loading images.
and if you have come above this level, i recommend you to use DevIL (located at sourceforge), to load any type of image, because its a multiimageformat loading library.
12-16-2003, 05:43 PM
OpenGL is there for 3d (or 2d), not for loading images. There are no OpenGL functions for loading images.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.