Catmull-Clark subdivision surface generation project.
The project implements the Catmull-Clark subdivision surface algorithm with C++.
The source includes following knowledge:
shared_ptr
, weak_ptr
.In ubuntu:
$ sudo apt install -y freeglut3-dev
$ mkdir build && cd build
$ cmake .. && make -j
In macOS:
$ brew install freeglut
$ mkdir build && cd build
$ cmake .. && make -j
ccsubd filename.obj
c
key -> subdivison one timeu
key -> previous mesh