Newbie question about rotate a picture using OpenG

Hi,

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!

Bin

Here’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.

N.