Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: opengl rotate

  1. #1
    Newbie Newbie
    Join Date
    Sep 2013

    opengl rotate

    hi i want to know how to rotate a sphere in any angle with opengl thanks

  2. #2
    Junior Member Newbie
    Join Date
    Aug 2013
    Web search "glRotate", and follow the link at the top from opengl org. That's the old way. The new way is to learn linear algebra, and compute your own model view matrix in the CPU, and use it in the vertex shader on the GPU. Or, get the GLM matrix math library for OpenGL, and use it in the vertex shader.

  3. #3
    Intern Newbie
    Join Date
    Sep 2013
    Or, take a look at your double post. Seriously.

Posting Permissions

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