karansher / computer-graphics-meshes

Computer Graphics Assignment about Meshes
0 stars 0 forks source link

Pointy Catmull-Clark #10

Closed talicopanda closed 2 years ago

talicopanda commented 2 years ago

Is this the result what we should be expecting for Catmull-Clark? I feel like my shape is a bit too pointy on the first and second iterations, but I am wondering if that's expected. If not, does anyone know what might be causing this pointy issue?

Original

image

Iteration 1

image

Iteration 2

image

Iteration 3

image

Iteration 4

image
cyuan17 commented 2 years ago

Hi, I think the expected result should be like the bob-subdivision gif. My suggestion for debugging this is first using a simple object like a cube and checking which vertex is at the wrong position.

talicopanda commented 2 years ago

Found the issue, I misinterpreted Catmull-Clark as finding the midpoint of edges instead of the average of its adjacent face average values. Thanks.