View Full Version : Newbie question about rotate a picture using OpenG

Bin Chen
02-21-2008, 06:51 PM

I am new to this field and want to implement a function that can
rotate a picture using OpenGL. This picture is just a normal pixmap so
I wonder how to apply the rotate matrix to this pixmap.

I am using X windows, can you give me some sample for me to learn?
Your help will be highly appreciated!


02-21-2008, 07:13 PM
Here (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=06)'s a nice tutorial for you. It's the 6th tutorial in a series of 48, so you may want to start in the beginning of the OpenGL tutorials on the NeHe website (http://nehe.gamedev.net/).