Catmull–Clark subdivision surface

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
First three steps of Catmull–Clark subdivision of a cube with subdivision surface below

The Catmull–Clark algorithm is a technique used in computer graphics to create smooth surfaces by subdivision surface modeling. It was devised by Edwin Catmull and Jim Clark in 1978 as a generalization of bi-cubic uniform B-spline surfaces to arbitrary topology.[1] In 2005, Edwin Catmull received an Academy Award for Technical Achievement together with Tony DeRose and Jos Stam for their invention and application of subdivision surfaces.

Recursive evaluation

Catmull–Clark surfaces are defined recursively, using the following refinement scheme:[1]

Start with a mesh of an arbitrary polyhedron. All the vertices in this mesh shall be called original points.

  • For each face, add a face point
    • Set each face point to be the average of all original points for the respective face.
  • For each edge, add an edge point.
    • Set each edge point to be the average of the two neighbouring face points and its two original endpoints.
  • For each face point, add an edge for every edge of the face, connecting the face point to each edge point for the face.
  • For each original point P, take the average F of all n (recently created) face points for faces touching P, and take the average R of all n edge midpoints for edges touching P, where each edge midpoint is the average of its two endpoint vertices. Move each original point to the point
\frac{F + 2R + (n-3)P}{n}.
This is the barycenter of P, R and F with respective weights (n − 3), 2 and 1.
  • Connect each new vertex point to the new edge points of all original edges incident on the original vertex.
  • Define new faces as enclosed by edges.

The new mesh will consist only of quadrilaterals, which in general will not be planar. The new mesh will generally look smoother than the old mesh.

Repeated subdivision results in smoother meshes. It can be shown that the limit surface obtained by this refinement process is at least \mathcal{C}^1 at extraordinary vertices and \mathcal{C}^2 everywhere else (when n indicates how many derivatives are continuous, we speak of \mathcal{C}^n continuity). After one iteration, the number of extraordinary points on the surface remains constant.

The arbitrary-looking barycenter formula was chosen by Catmull and Clark based on the aesthetic appearance of the resulting surfaces rather than on a mathematical derivation, although Catmull and Clark do go to great lengths to rigorously show that the method yields bicubic B-spline surfaces.[1]

Exact evaluation

The limit surface of Catmull–Clark subdivision surfaces can also be evaluated directly, without any recursive refinement. This can be accomplished by means of the technique of Jos Stam.[2] This method reformulates the recursive refinement process into a matrix exponential problem, which can be solved directly by means of matrix diagonalization.

Creases

Lua error in package.lua at line 80: module 'strict' not found.

Adaptive schemes

Lua error in package.lua at line 80: module 'strict' not found.

Software using Catmull–Clark subdivision surfaces

<templatestyles src="Div col/styles.css"/>

See also

References

  1. 1.0 1.1 1.2 Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. https://www.youtube.com/watch?v=xFZazwvYc5o
  5. http://www.fxguide.com/featured/pixars-opensubdiv-v2-a-detailed-look/
  6. http://on-demand.gputechconf.com/gtc/2014/video/S4856-subdivision-surfaces-industry-standard.mp4
  7. https://www.youtube.com/watch?v=dzIl_S-qHIQ

Further reading