Skip to content

3D object (.obj) file reader and mesh decimator created for course CS4300 Computer Graphics

Notifications You must be signed in to change notification settings

jallex/Mesh-Decimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

3D Object reader and Mesh Decimator

.obj file reader and Mesh Decimator created as a final project for CS 4300 Computer Graphics

  • This project implements the Edge Collapse algorithm for mesh decimation.

How to run

  1. Python, OpenGL, and SDL are required to run
  2. Navigate to ./ModelParserAndDecimator/part1 and in the terminal run python3 build.py
  3. Then from the terminal run ./lab to run the executable.
  4. A SDL window will pop up and display a mesh, allowing decimation functionality. See the window commands below.

Commands

  1. Press w to toggle wireframe mode
  2. Press number keys to decimate mesh by a percentage * 1 is 10%, 2 is 20%, and so on * 0 is 99%
  3. Press spacebar to switch to a new model

External resources used:

About

3D object (.obj) file reader and mesh decimator created for course CS4300 Computer Graphics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages