computer graphics course subdivision 2005
play

Computer Graphics Course Subdivision 2005 The process of creating - PDF document

Computer Graphics Course Subdivision 2005 The process of creating a smooth (curve) surface by an (infinite) number of iterations. Input : polygonal control point Introduction to Subdivision Surfaces Process : repeated refinements


  1. Computer Graphics Course Subdivision 2005 � The process of creating a smooth (curve) surface by an (infinite) number of iterations. � Input : polygonal control point Introduction to Subdivision Surfaces � Process : repeated refinements and averaging � � Result : smooth (curve) surface Why use subdivision ? � Generates smooth surfaces from polygonal meshes of arbitral topology � Efficient rendering � Easy to animate � Level of detail � Compression � Smoothing Where subdivision was used? � Two main groups of schemes: � Approximating - original vertices are moved � Interpolating – original vertices are unaffected

  2. Corner Cutting Corner Cutting 1 1 : 3 : 3 Corner Cutting Corner Cutting Corner Cutting Corner Cutting

  3. Corner Cutting Corner Cutting Corner Cutting The 4-point scheme A control point The limit curve The control polygon The 4-point scheme The 4-point scheme 1 : 1 1 : 1

  4. The 4-point scheme The 4-point scheme 1 : 8 The 4-point scheme The 4-point scheme The 4-point scheme The 4-point scheme

  5. The 4-point scheme The 4-point scheme The 4-point scheme The 4-point scheme The 4-point scheme The 4-point scheme

  6. The 4-point scheme Subdivision curves Non interpolatory subdivision schemes A control point The limit curve • Corner Cutting Interpolatory subdivision schemes • The 4-point scheme The control polygon Curve Subdivision Surface Subdivision � Given a control polygon , a subdivision � Given a control net (polygonal mesh consisting curve is generated by repeatedly applying a of vertices, faces and edges) subdivision operator to it. � A sudivision surface is geterated by repeatedly � The central theoretical questions: � Refining the control net – increasing #vertices by factor ~4 � Convergence : Given a subdivision operator and a control polygon, does the subdivision process � Applying rules to find position of both new and old converge? vertices � Smoothness : Does the subdivision process converge to a smooth curve? Subdivision Schemes Triangular subdivision Works only for control nets whose faces are triangular. � In the limit (after ∞ iterations) the control mesh converges to a limit surface New vertices Old vertices � Usually 2-3 good enough for CG � Subdivision schemes characterized by Every face is replaced by 4 new triangular faces. � Topological refinement rules The are two kinds of new vertices: � Rules for calculating position of new vertices • Green vertices are associated with old edges • Red vertices are associated with old vertices.

  7. Loop’s scheme The original control net Every new vertex is a weighted average of the old vertices. The list of weights is called the subdivision mask or the stencil. A rule for new red vertices A rule for new green vertices 1 1 1 n - the vertex valency 1 3 3 w n 1 1 1 64 n = − w n n ( ( ) ) − + π 2 40 3 2 cos 2 n After 1st iteration After 2nd iteration After 3rd iteration The limit surface The limit surfaces of Loop’s subdivision have continuous curvature almost everywhere.

  8. The Butterfly scheme The original control net This is an interpolatory scheme. The new red vertices inherit the location of the old vertices. The new green vertices are calculated by the following stencil: -1 -1 2 8 8 -1 2 -1 After 1st iteration After 2nd iteration After 3rd iteration The limit surface The limit surfaces of the Butterfly subdivision are smooth but are nowhere twice differentiable.

  9. Quadrilateral subdivision Catmull Clark’s scheme Works for control nets of arbitrary topology. After one iteration, Step 1 Step 2 Step 3 all the faces are quadrilateral. First, all the yellow Then the green vertices are Finally, the red vertices are vertices are calculated calculated using the values calculated using the values Old vertices New vertices of the yellow vertices of the yellow vertices 1 1 Old face 1 1 1 1 1 Old edge 1 1 w n 1 1 1 1 1 1 Every face is replaced by quadrilateral faces. 1 The are three kinds of new vertices: 1 1 1 • Blue Blue vertices are associated with old faces faces n - the vertex valency • Green vertices are associated with old edges = ( − w n n n 2 ) • Red vertices are associated with old vertices. The original control net After 1st iteration After 2nd iteration After 3rd iteration

  10. The limit surface The limit surfaces of Catmull-Clarks’s subdivision have continuous curvature almost everywhere.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend