Python script that renders .obj files using OpenGL and glfw.
-
Drag .obj file to the window to load the model.
-
Press KEY_LEFT / KEY_RIGHT to rotate 10° to the left / right with respect to the coordinates.
-
Press KEY_UP / KEY_DOWN to move the camera up / down with respects to the coordinates.
-
Press D / A to zoom in / out.
-
Press 1 / 2 to Toggle between Wireframe / Fill mode.
-
Press R to reset the view.
-
Press W to Center up the view.
-
Press S to Center down the view.
-
Press Z to User mode.
-
Press X to Auto Turn Table & Auto Capture mode.