-
opengl rotate
hi i want to know how to rotate a sphere in any angle with opengl thanks
-
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.
-
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
-
Forum Rules