/subdivision-surface

Computer graphics - Subdivision surface

Primary LanguageC++MIT LicenseMIT

Subdivision surface

Project for Computer Graphics course.

Summary

This project is about applying subdivision algorithm to a cube.
I used a Lomont's description about implementing a Loop method subdivision.
Lomont Subdivision
The camera can be moved around on a cylinder's surface. Also you can open '.obj' files to use. See Usage for controls.

You will need GLFW to compile this project:
GLFW download page

And here is a screenshot of it working:
Screenshot

Usage

Camera position can be adjusted with the arrow keys and keypad '-' and '+'.

  • 'F' : Turn On/Off wireframe
  • 'Space' : Do a subdivision iteration
  • 'L' : Open '.obj' file