Skip to content

lauk20/gfx-engine-12-shading

Repository files navigation

Graphics Final Project

Name: Kenny Lau

Partner name:

Class Period: 5


How to Run

  1. Run make or python3 main.py [.mdl filename]
  2. Currently includes a file called "obj.mdl" which will create a spinning teapot animation with PHONG shading, reading from teapot.obj"

New Graphics Engine Features

  1. Gouraud Shading
  • Use command shading gouraud to use Gouraud shading. Default shading is flat shading.
  1. Phong Shading
  • Use command shading phong to use Phong shading. Default shading is flat shading.
  1. .obj Reader
  • Use command like so: mesh constant : teapot.obj, replacing constant with any color constants and teapot.obj with any .obj file.

The Details

I will be working in Python:

  1. Implement Gouraud Shading
  2. Implement Phong Shading
  3. Make animation work in Python if needed (since worked in C for animation assignment)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages