├── LICENSE.txt ├── ObjLoader.py ├── README.md ├── TextureLoader.py ├── camera.py ├── ep01_glfw_window.py ├── ep02_fixed_function_pipeline.py ├── ep03_programmable_pipeline.py ├── ep04_quad_TRIANGLE_STRIP.py ├── ep05_indexed_drawing.py ├── ep06_rotating_cube.py ├── ep07_textured_cube.py ├── ep08_pygame_cube.py ├── ep09_perspective_projection.py ├── ep10_orthographic_projection.py ├── ep11_view_matrix.py ├── ep12_draw_multiple_cubes.py ├── ep13_VAOs.py ├── ep14_simplifying.py ├── ep15_obj_loading.py ├── ep16_camera.py ├── ep17_camera_mouse_capture.py ├── ep18_camera_WASD.py ├── ep19_pygame_camera.py ├── ep20_instanced_rendering.py ├── ep21_texturing_from_framebuffers.py ├── ep22_color_picking.py ├── meshes ├── chibi.obj ├── chibi.png ├── cube.jpg ├── cube.obj ├── floor.jpg ├── floor.obj ├── monkey.jpg ├── monkey.obj └── monkey_smooth.obj ├── requirements.txt └── textures ├── brick.jpg ├── cat.png ├── crate.jpg ├── metal.jpg └── smiley.png /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /ObjLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ObjLoader.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/README.md -------------------------------------------------------------------------------- /TextureLoader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/TextureLoader.py -------------------------------------------------------------------------------- /camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/camera.py -------------------------------------------------------------------------------- /ep01_glfw_window.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep01_glfw_window.py -------------------------------------------------------------------------------- /ep02_fixed_function_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep02_fixed_function_pipeline.py -------------------------------------------------------------------------------- /ep03_programmable_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep03_programmable_pipeline.py -------------------------------------------------------------------------------- /ep04_quad_TRIANGLE_STRIP.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep04_quad_TRIANGLE_STRIP.py -------------------------------------------------------------------------------- /ep05_indexed_drawing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep05_indexed_drawing.py -------------------------------------------------------------------------------- /ep06_rotating_cube.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep06_rotating_cube.py -------------------------------------------------------------------------------- /ep07_textured_cube.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep07_textured_cube.py -------------------------------------------------------------------------------- /ep08_pygame_cube.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep08_pygame_cube.py -------------------------------------------------------------------------------- /ep09_perspective_projection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep09_perspective_projection.py -------------------------------------------------------------------------------- /ep10_orthographic_projection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep10_orthographic_projection.py -------------------------------------------------------------------------------- /ep11_view_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep11_view_matrix.py -------------------------------------------------------------------------------- /ep12_draw_multiple_cubes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep12_draw_multiple_cubes.py -------------------------------------------------------------------------------- /ep13_VAOs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep13_VAOs.py -------------------------------------------------------------------------------- /ep14_simplifying.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep14_simplifying.py -------------------------------------------------------------------------------- /ep15_obj_loading.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep15_obj_loading.py -------------------------------------------------------------------------------- /ep16_camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep16_camera.py -------------------------------------------------------------------------------- /ep17_camera_mouse_capture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep17_camera_mouse_capture.py -------------------------------------------------------------------------------- /ep18_camera_WASD.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep18_camera_WASD.py -------------------------------------------------------------------------------- /ep19_pygame_camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep19_pygame_camera.py -------------------------------------------------------------------------------- /ep20_instanced_rendering.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep20_instanced_rendering.py -------------------------------------------------------------------------------- /ep21_texturing_from_framebuffers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep21_texturing_from_framebuffers.py -------------------------------------------------------------------------------- /ep22_color_picking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/ep22_color_picking.py -------------------------------------------------------------------------------- /meshes/chibi.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/meshes/chibi.obj -------------------------------------------------------------------------------- /meshes/chibi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/meshes/chibi.png -------------------------------------------------------------------------------- /meshes/cube.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/meshes/cube.jpg -------------------------------------------------------------------------------- /meshes/cube.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/meshes/cube.obj -------------------------------------------------------------------------------- /meshes/floor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/meshes/floor.jpg -------------------------------------------------------------------------------- /meshes/floor.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/meshes/floor.obj -------------------------------------------------------------------------------- /meshes/monkey.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/meshes/monkey.jpg -------------------------------------------------------------------------------- /meshes/monkey.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/meshes/monkey.obj -------------------------------------------------------------------------------- /meshes/monkey_smooth.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/meshes/monkey_smooth.obj -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | glfw 2 | pyopengl 3 | -------------------------------------------------------------------------------- /textures/brick.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/textures/brick.jpg -------------------------------------------------------------------------------- /textures/cat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/textures/cat.png -------------------------------------------------------------------------------- /textures/crate.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/textures/crate.jpg -------------------------------------------------------------------------------- /textures/metal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/textures/metal.jpg -------------------------------------------------------------------------------- /textures/smiley.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/totex/Learn-OpenGL-in-python/HEAD/textures/smiley.png --------------------------------------------------------------------------------