How chinmay0303/15_opengl works
This repository is a sequence of OpenGL learning demos, progressing from window setup and primitive drawing through shaders, transforms, cameras, model loading, lighting, and slicing. The main workflow is to run a lesson and interact with its rendered scene. The tree and excerpts show several later demos split into world, view, projection, and domain helpers; links below are limited to relationships visible in the source index or excerpts. The README only names the repository, so it does not document additional capabilities.
Main entry points: 28_Volume_Slicing/main.cpp Volume Slicing · 23_Camera_Movement/main.cpp Camera Movement · 24_WVP/main.cpp WVP Demo · 25_OFF_Reader/main.cpp OFF Model Viewer
Components 22
OpenGL Basics
- Window Setup
01_window/main.cpp - Primitive Drawing
05_triangle/main.cpp - Shaders and Uniforms
07_Shaders/main.cpp
Transforms and Cameras
- Transform Demos
18_Transforms/main.cpp - Perspective Projection
21_Perspective_Projection/main.cpp - Camera Space
22_Camera_Space/main.cpp - Camera Movement
23_Camera_Movement/main.cpp - Camera Controls
23_Camera_Movement/camera.cpp - WVP Demo
24_WVP/main.cpp - WVP Components
24_WVP
Models and Lighting
- OFF Model Viewer
25_OFF_Reader/main.cpp - OFF Mesh Reader
25_OFF_Reader/offreader.h - Lighting Demo
26_Lighting/main.cpp - Lighting Mesh Reader
26_Lighting/offreader.h
Slicing and Volumes
- Mesh Slicing
27_Slicing/main.cpp - Slice Logic
27_Slicing/slicing.cpp - Volume Slicing
28_Volume_Slicing/main.cpp - Volume Data
28_Volume_Slicing/volume.cpp - Colour Mapping
28_Volume_Slicing/colourmap.cpp
Shared Math
- Vector and Matrix Math
Include/ogldev_math_3d.h - Transform Pipeline
Common/pipeline.cpp
Other components
- Learner
Connections 20
- Learner → Window Setup: runs demo
- Learner → Primitive Drawing: runs demo
- Learner → Shaders and Uniforms: runs demo
- Learner → Transform Demos: runs demo
- Learner → Perspective Projection: runs demo
- Learner → Camera Space: runs demo
- Learner → Camera Movement: runs demo
- Learner → WVP Demo: runs demo
- Learner → OFF Model Viewer: runs demo
- Learner → Lighting Demo: runs demo
- Learner → Mesh Slicing: runs demo
- Learner → Volume Slicing: runs demo
- Camera Movement → Camera Controls: uses controls
23_Camera_Movement/main.cpp - WVP Demo → WVP Components: uses components
24_WVP/main.cpp - OFF Model Viewer → OFF Mesh Reader: uses reader
25_OFF_Reader/main.cpp - Lighting Demo → Lighting Mesh Reader: uses reader
26_Lighting/main.cpp - Mesh Slicing → Slice Logic: uses slicing
27_Slicing/main.cpp - Volume Slicing → Volume Data: uses volume
28_Volume_Slicing/main.cpp - Volume Slicing → Colour Mapping: uses colormap
28_Volume_Slicing/main.cpp - Transform Pipeline → Vector and Matrix Math: uses math