EAGL.Examples.LearnOpenGL.GettingStarted.CoordinateSystemsMultiple (eagl v0.7.0)
View SourceLearnOpenGL 6.3 - Coordinate Systems (Multiple)
This example demonstrates rendering multiple objects with different transformations by drawing 10 cubes at various positions and rotations in 3D space.
Original C++ Source
This example is based on the original LearnOpenGL C++ tutorial: https://github.com/JoeyDeVries/LearnOpenGL/tree/master/src/1.getting_started/6.3.coordinate_systems_multiple
Framework Adaptation Notes
This example demonstrates:
- Multiple objects with different model transformations
- Efficient rendering with a single vertex array
- Different transformation matrices for each object
- 3D scene composition with multiple elements
Key Learning Points
- Instanced Rendering Concept: Multiple objects from one vertex array
- Matrix Variation: Different transformations for each instance
- Scene Composition: Arranging multiple objects in 3D space
- Rendering Loops: Efficient multi-object rendering patterns
Visual Effect
Shows 10 cubes arranged in 3D space:
- Each cube at a different position
- Some cubes rotating at different speeds
- Demonstrates scene complexity with coordinate systems
Usage
EAGL.Examples.LearnOpenGL.GettingStarted.CoordinateSystemsMultiple.run_example()
Press ENTER to exit.