Welcome to the Computer Graphics course for 2023!
This course (Weekly Workbooks) aims to equip students with the fundamental concepts and skills in computer graphics through a series of progressive weekly assignments. Here's an overview of each week's focus:
- Topic: Template project to test
SDL. - How to Run: Use the
makecommand.
- Topic: Demonstrating pixel display and drawing, including grayscale interpolation and two-dimensional color interpolation.
- How to Run: Use the
makecommand.
- Topic: Demonstrating line drawing, triangle drawing, filling, and texture mapping.
- How to Run: Use the
makecommand, withu,fkeys for different effects.
- Topic: Demonstrating loading of
.objand.mtlfiles, projecting onto a 2D image plane using rasterization. - How to Run: Use the
makecommand.
- Topic: Demonstrating navigation and transformation of a 3D space projected onto a 2D plane.
- How to Run: Use the
makecommand, with keyboard for camera operation.
- Topic: Demonstrating the ray tracing method of projecting 3D points onto a 2D image plane, including shadow effects.
- How to Run: Use
makeormake speedycommand, with keyboard operation.
- Topic: Demonstrating various lighting effects on a ray-traced projection of 3D points.
- How to Run: Use
makeormake speedycommand, with keyboard for light control.
- Modelling: Various 3D
.objfiles are included, ranging from simple to increasingly complex environments. - Rendering: Three rendering options available: wireframe, rasterize, and raytrace.
- Lighting: Includes proximity lighting, angle of incidence lighting, specular lighting, and ambient lighting.
- materials: Includes mirror and metal.
- Build and Run: Use the included
Makefile. - Animation: Uncomment the following line inside
main()to enable renderFrame. - Keyboard Controls: A detailed guide to keyboard operations.