Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: rotating bmp image

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2013
    Posts
    29

    Smile rotating bmp image

    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.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Apr 2010
    Location
    Germany
    Posts
    1,128
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •