How do I create a 3D movable camera in Python OpenGL?
I have had trouble in the past couple days with this problem of not being able to make a 3D mouse-controlled camera for a game I am developing with OpenGL and Pygame, and I am not able to find a way over it. I have no knowledge about C++ or what makes it different from Python, so all the tutorials on the internet are of no use to me. Any help would be appreciated on this difficult problem for me.
You must be logged in to post. Please login or register an account.
Not something I've ever done either. You can at least track the mouse movements on screen, and then I would imagine you'd take those movements and translate them to a rotate. We covered rotating the camera in one of the open gl tutorials: https://pythonprogramming.net/opengl-rotating-cube-example-pyopengl-tutorial, and really in the rest of the tutorials. You can modify the rotate to give the perception of spinning around.
The C documentation should be of help, the functions and their parameters are identical.
-Harrison 9 years ago
You must be logged in to post. Please login or register an account.