Skip to content

Latest commit

 

History

History

proj-4-textures

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Project 4: Textures

https://graphics.cs.utah.edu/courses/cs6610/spring2022/?prj=4

Project 4 Teapot Project 4 Yoda

Usage

cargo run --bin proj-4-textures [OPTIONAL: Path to Wavefront OBJ file]

Examples

IMPORTANT: Current working directory is the workspace directory (repository root), not the project directory.

Teapot model

cargo run --bin proj-4-textures common-assets/teapot/teapot.obj

Yoda model

cargo run --bin proj-4-textures common-assets/yoda/yoda.obj

Controls

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