Note
The source code has been customized and does not look like the given sample code in course's documents
- Learn about transformation process between coordinate systems
- Learn about orthographic and perspective projection
- Setup keyboard handler to control camera
- Handle multi-viewport cases
- Learn how to setup light and material
- Understand how light and material color mixing
- Implement base class for creating and drawing objects
- Create and draw some objects: cube, cone, hollow cube, ...
- Learn about object transformation in 2D and 3D spaces
- Draw 2D objects: square, triangle ...
- Draw 3D objects: cube, polygon ...
- Inherit and refine the base class from previous lab
- Create and draw some objects: cube, cylinder, sphere, ...
- Draw a dual-axis slider
- Control slider using f/b keys
- Control camera using up/down/left/right keys
- Modify the base class and draw methods to colorize using lights and materials
- Modify previous lab to draw multi-way rails
- Draw ground with repeated pattern