My first assignment on Geometric Modeling was about subdivision surfaces. I implemented Loop's algorithm, and work on VC7 using CGAL library. Most of the time on this assignment i was dealing with how to work with the library, since i found it very confusing = =" (not the library's fault though). I also use some of the code from PBRT for counting the vertices' weights.
Here's the result of my program:
original shape
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihuAovcOCSMct0uX5Ry6EaoWj2cmuMnhWwkgmjIKF1NAy6KcsVmoi4g9sZ4pGJCFsNWmcBD80HWU7Vksd6nowzZRzEMUFqGarWLmztxI9Q8mtCYpFayy5M_EDfiyOv9wdXEz1S/s320/sub1.JPG)
after 3 levels of subdivision
No comments:
Post a Comment