TP9 : Subdivision Surfaces on Triangle Meshes
cd GeoNum2017/ git pull . exportPath.sh
$PYTHONPATH to verify it's been correctly set.
For the viewer to function properly, python scripts need to be executed from the root dir.
Functions to modify
InsertMidpoints: generate new topology by inserting midpoint indices to the edge matrix; compute midpoint positions.
Beta: compute the weight
RecomputePositions: recompute the positions of old vertices.
LoopSubdivision: perform one iteration of Loop subdivision.
- Implement the computation of the Loop subdivision scheme using the original weights (Loop).
- Use the simplified weights (Warren) and compare the results on provided surfaces.
- Subdivide the sphere and cube five times. Which surface is closer to the real sphere? Why?