PDA

View Full Version : rotating bmp image



pbivens
01-19-2013, 02:11 PM
well I am making an asteroids game using openGL and c++.I am importing bmp images. I have 8 images of a space ship that I want to rotate through.my question is how do I rotate through 8 images without using glRotatef function. I am unsure of how to post code to this site so if you need code let me know.

thokra
01-20-2013, 11:52 PM
Why would you exclude rotating geometry? The easiest way of rotating a rectangular image is to use texturing on a quad. You simply rotate the latter and the GL will handle the rest.