This code is from a 3D Graphics Programming course I took on pikuma.com. I have not tested the code on Windows or Linux.
- 3D projection
- DDA line generation algorithm
- Scanline rasterization algorithm
- Z-Buffer method for solving hidden-surface problem
- PNG texture mapping
- Flat shading
- Backface culling
- Frustum clipping
- Reading OBJ files
- SDL
- Usage of structs, enums, and header files
- Pointers
- Memory management
In the future, I plan to add smooth shading, homogeneous clipping, toon shading, and support for other file formats.
