What to do
In this project we will write the finishing parts of a general
Catmull Clark subdivision function in Matlab that can do Catmull Clark subdivision of general polygon bodies
Recommended procedure
- Read and understand the DATA_STRUCTURE used to represent a polygon body by a simple face/vertex array.
Faces/vertexes can be plotted by plotEnkelMesh.m
- Do a manual Catmull Clark vertex adjustment of an already subdivided simple cube (see top figure), and check the
result against the fasit included in the file
- Fill in the missing parts of the function catMull.m (search for the symbol "?" in the file)
To deliver
- A Matlab function based on catMull.m, that will do Catmull Clark subdivision of general quad polygon meshes. Use
TriMesh as an example. Usage:
|
|