catmull-clark icon indicating copy to clipboard operation
catmull-clark copied to clipboard

Catmull-Clark subdivision surfaces demo

This is a school project demonstrating a simple implementation of the Catmull-Clark subdivision algorithm.

Build instructions:

  • Ensure dependencies are installed: GLUT development headers, make.
  • Download the source code and navigate into the directory
  • Run make

Demo control: Esc / Ctrl-Q Exit Space / Right Switch to next object Backspace / Left Switch to previous object F Focus camera on current object W Toggle wireframe

  • / = / Up Show next subdivision level
  • / _ / Down Show previous subdivision level

Camera control: Left click Rotate camera Middle click Pan camera Right click Zoom camera Ctrl-Left click Pan camera

Homepage: http://github.com/skaslev/catmull-clark/ Author: Slavomir Kaslev [email protected]