https://graphics.cs.utah.edu/courses/cs6610/spring2022/?prj=7
cargo run --bin proj-7-shadow-mapping [OPTIONAL: Path to Wavefront OBJ file]
IMPORTANT: Current working directory is the workspace directory (repository root), not the project directory.
cargo run --bin proj-7-shadow-mapping common-assets/teapot/teapot.obj
cargo run --bin proj-7-shadow-mapping common-assets/yoda/yoda.obj
Mouse | Action |
---|---|
Right button drag | Camera distance |
Left button drag | Camera orbits |
Ctrl + Right button drag | Light orbits |
Ctrl + Left button drag | Light distance |
Key | Action |
---|---|
0 | Ambient + Diffuse + Specular (default) |
1 | Normals |
2 | Ambient |
3 | Ambient + Diffuse |
4 | Specular |