Skip to content

Sarose550/Final-Project

Repository files navigation

Final-Project

by Sam Rosenstrauch and Jude Rizzo

This is our final project in Computer Graphics. It showcases several features of a graphics engine written in Python throughout the spring semester of 2020. We used scanline conversion to draw polygons in three dimensions, and a z-buffer to create depth perception. Our lighting included several features, such as ambient reflection, diffuse reflection, as well as specular lighting.

Install imagemagick before running.

To run from terminal, enter "python main.py face.mdl" or "python main.py robot.mdl".

When running on Mac or Linux, in display.py, on line 86, change "imdisplay" to "display." (Note: on Mac, you may need to run this under XQuartz.)

Features to be added:

  1. Mesh
  2. New Primitive Shapes
  3. More options to the vary command (different parametrizations such as log, exp, ect.)
  4. Save knob

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages