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