dilevin / computer-graphics-meshes

Computer Graphics Assignment about Meshes
1 stars 6 forks source link

catmull_clark.cpp issue #71

Open MelodyZ708 opened 4 weeks ago

MelodyZ708 commented 4 weeks ago

The attached pictures are my subdivision results when running cube.obj, and the subdivided shape is apparently wrong.

image

Iteration 1:

image

Iteration 2:

image

And when i track the number of vertices generated for each iteration, i found it significantly increased for each time.

image

I strictly followed the algorithm and steps shown both in lecture and from wikipedia, so what might be the issue?

ZewenShen commented 4 weeks ago

First, determine the locations of the new vertices on paper and verify if they match the computed vertices. If they do, then the issue is with the matrix F.