A small, SDL2 based software renderer for 3D models
Currently this application is only tested on macOS (10.14+)
$ ./compile.sh
$ ./Build/QuickRender <obj-file>
This program relies on SDL2.Framework to be installed on the system
Key | Action |
---|---|
W | Rotate -roll |
S | Rotate roll |
A | Rotate -pitch |
D | Rotate pitch |
Q | Rotate -yaw |
E | Rotate yaw |
1 | Wireframe Mode |
2 | Flat Shading Mode |
3 | Gouraud Shading Mode |
4 | Phong Shading Mode |
5 | Toon Shading Mode |
sphere.mov
teddy_light.mov
teapot_light.mov
- Quaternion rotation flip issue
- No zooming in/out when viewing models
- Shading is interpolation only, does not include any illumination model
- Illumination models would only be added in conjunction with
.mtl
file parsing
- Illumination models would only be added in conjunction with
- No texture support