Curves, Surfaces and Recursive Subdivision

Similar documents
Lecture IV Bézier Curves

INF3320 Computer Graphics and Discrete Geometry

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

3D Modeling Parametric Curves & Surfaces

ECE 600, Dr. Farag, Summer 09

Surfaces for CAGD. FSP Tutorial. FSP-Seminar, Graz, November

2D Spline Curves. CS 4620 Lecture 18

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Subdivision Surfaces

Advanced Modeling 2. Katja Bühler, Andrej Varchola, Eduard Gröller. March 24, x(t) z(t)

Subdivision surfaces. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Curves and Surfaces 1

Curves and Surfaces. Shireen Elhabian and Aly A. Farag University of Louisville

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics

CS354 Computer Graphics Surface Representation IV. Qixing Huang March 7th 2018

Computer Graphics Curves and Surfaces. Matthias Teschner

Computergrafik. Matthias Zwicker. Herbst 2010

Subdivision Surfaces

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Subdivision curves and surfaces. Brian Curless CSE 557 Fall 2015

CS-184: Computer Graphics

Physically-Based Modeling and Animation. University of Missouri at Columbia

Curves and Surfaces 2

Subdivision Curves and Surfaces: An Introduction

Know it. Control points. B Spline surfaces. Implicit surfaces

Local Mesh Operators: Extrusions Revisited

From curves to surfaces. Parametric surfaces and solid modeling. Extrusions. Surfaces of revolution. So far have discussed spline curves in 2D

Curves D.A. Forsyth, with slides from John Hart

Example: Loop Scheme. Example: Loop Scheme. What makes a good scheme? recursive application leads to a smooth surface.

Curve Corner Cutting

Curves and Surfaces Computer Graphics I Lecture 9

CS-184: Computer Graphics. Today

09 - Designing Surfaces. CSCI-GA Computer Graphics - Fall 16 - Daniele Panozzo

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

Grade VIII. Mathematics Geometry Notes. #GrowWithGreen

Sung-Eui Yoon ( 윤성의 )

2D Spline Curves. CS 4620 Lecture 13

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

Parameterization of triangular meshes

Modeling. Simulating the Everyday World

Parameterization. Michael S. Floater. November 10, 2011

Information Coding / Computer Graphics, ISY, LiTH. Splines

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

Curves and Surfaces for Computer-Aided Geometric Design

Lecture 25: Bezier Subdivision. And he took unto him all these, and divided them in the midst, and laid each piece one against another: Genesis 15:10

GEOMETRIC TOOLS FOR COMPUTER GRAPHICS

Curves & Surfaces. MIT EECS 6.837, Durand and Cutler

Subdivision Curves and Surfaces

Computer Aided Geometric Design

SHAPE AND STRUCTURE. Shape and Structure. An explanation of Mathematical terminology

Curves & Surfaces. Last Time? Progressive Meshes. Selective Refinement. Adjacency Data Structures. Mesh Simplification. Mesh Simplification

Rendering Curves and Surfaces. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Design considerations

Spline Surfaces, Subdivision Surfaces

CSE 167: Introduction to Computer Graphics Lecture #13: Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2017

CS130 : Computer Graphics Curves (cont.) Tamar Shinar Computer Science & Engineering UC Riverside

Curves and Surfaces Computer Graphics I Lecture 10

Central issues in modelling

336 Geometry for computer graphics

CSE 167: Introduction to Computer Graphics Lecture #11: Bezier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

Introduction to Computer Graphics

Local Modification of Subdivision Surfaces Based on Curved Mesh

Curves. Computer Graphics CSE 167 Lecture 11

Computer Graphics I Lecture 11

We have set up our axioms to deal with the geometry of space but have not yet developed these ideas much. Let s redress that imbalance.

Polygon Meshes and Implicit Surfaces

Polygon Meshes and Implicit Surfaces

Curves and Curved Surfaces. Adapted by FFL from CSE167: Computer Graphics Instructor: Ronen Barzel UCSD, Winter 2006

Subdivision Surfaces. Homework 1: Questions on Homework? Last Time? Today. Tensor Product. What s an illegal edge collapse?

C 1 Quadratic Interpolation of Meshes

Subdivision Surfaces

Advanced Graphics. Subdivision Surfaces. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Platonic Solids and the Euler Characteristic

Five Platonic Solids: Three Proofs

Introduction to Geometry. Computer Graphics CMU /15-662

Subdivision Surfaces. Homework 1: Questions/Comments?

INSTRUCTIONS FOR THE USE OF THE SUPER RULE TM

and the crooked shall be made straight, and the rough ways shall be made smooth; Luke 3:5

B-spline Curves. Smoother than other curve forms

On Smooth Bicubic Surfaces from Quad Meshes

CSE 554 Lecture 7: Deformation II

The Essentials of CAGD

Subdivision Surfaces. Course Syllabus. Course Syllabus. Modeling. Equivalence of Representations. 3D Object Representations

CS3621 Midterm Solution (Fall 2005) 150 points

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1

Computer Graphics 1. Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2011

LECTURE #6. Geometric Modelling for Engineering Applications. Geometric modeling for engineering applications

Bézier and B-spline volumes Project of Dissertation

11/1/13. Polygon Meshes and Implicit Surfaces. Shape Representations. Polygon Models in OpenGL. Modeling Complex Shapes

Computer Graphics Splines and Curves

form. We will see that the parametric form is the most common representation of the curve which is used in most of these cases.

Final Exam CS 184: Foundations of Computer Graphics! page 1 of 12!

CARDSTOCK MODELING Math Manipulative Kit. Student Activity Book

SEMIREGULAR PENTAGONAL SUBDIVISIONS

Geometric Modeling in Graphics

Subdivision Surfaces. Homework 1: Last Time? Today. Bilinear Patch. Tensor Product. Spline Surfaces / Patches

Today we will be exploring three-dimensional objects, those that possess length, width, and depth.

UNIVERSITY OF CALGARY. Subdivision Surfaces. Advanced Geometric Modeling Faramarz Samavati

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics 1/15

TESSELLATING ALGEBRAIC CURVES AND SURFACES USING A-PATCHES

Transcription:

Department of Computer Sciences Graphics Fall 25 (Lecture ) Curves, Surfaces and Recursive Subdivision Conics: Curves and Quadrics: Surfaces Implicit form arametric form Rational Bézier Forms Recursive Subdivision of Curves Recursive Subdivision of Surfaces The University of Texas at Austin

Department of Computer Sciences Graphics Fall 25 (Lecture ) Conic Curves Conic Sections (Implicit form) Ellipse Hyperbola arabola x 2 a 2 + y2 b 2 = a, b > x 2 a 2 y2 b 2 = a, b > y 2 = 4ax a > The University of Texas at Austin 2

Department of Computer Sciences Graphics Fall 25 (Lecture ) Conic Sections (arametric form) Ellipse Hyperbola arabola x(t) = a t2 + t 2 y(t) = b 2t ( < t < + ) + t2 x(t) = a + t2 t 2 y(t) = b 2t ( < t < + ) t2 The University of Texas at Austin 3

Department of Computer Sciences Graphics Fall 25 (Lecture ) x(t) = at 2 y(t) = 2at ( < t < + ) The University of Texas at Austin 4

Department of Computer Sciences Graphics Fall 25 (Lecture ) Constructing Curve Segments Linear blend: Line segment from an affine combination of points (t) = ( t) + t t ( _ t ) The University of Texas at Austin 5

Department of Computer Sciences Graphics Fall 25 (Lecture ) Quadratic blend: Quadratic segment from an affine combination of line segments (t) = ( t) + t (t) = ( t) + t 2 2 (t) = ( t) (t) + t (t) 2 2 The University of Texas at Austin 6

Department of Computer Sciences Graphics Fall 25 (Lecture ) Cubic blend: Cubic segment from an affine combination of quadratic segments (t) = ( t) + t (t) = ( t) + t 2 2 (t) = ( t) (t) + t (t) 2 (t) = ( t) 2 + t 3 2 (t) = ( t) (t) + t 2 (t) 3 (t) = ( t) 2 (t) + t 2 (t) The University of Texas at Austin 7

Department of Computer Sciences Graphics Fall 25 (Lecture ) 2 2 3 2 2 The pattern should be evident for higher degrees 3 The University of Texas at Austin 8

Department of Computer Sciences Graphics Fall 25 (Lecture ) Geometric view (de Casteljau Algorithm): Join the points i by line segments Join the t : ( t) points of those line segments by line segments Repeat as necessary The t : ( t) point on the final line segment is a point on the curve The final line segment is tangent to the curve at t t ( _ ) t _ ) ( t 2 t ( _ t) t 2 The University of Texas at Austin 9

Department of Computer Sciences Graphics Fall 25 (Lecture ) Subdivision of olygons Four oint Scheme c j -2 j+ c-3 j+ c-2 j - c j+ j+ c - c j+ c j c c 2 j c j+ j+ c 3 c j -3 c j 2 c j 3 Four point scheme: the filled circles are the level j control points, the filled squares are the level j + control points. For four-point scheme we need to consider only 7 control points; these 7 points completely define the piece of the curve around a control point. We can consider a set of 7 control points on any subdivision level, as we do not care how small our piece of the curve is. Note that we can compute the positions of the seven control points on level j + from the positions of similar seven control points on level j, using a 7 7 submatrix S of the infinite subdivision matrix. The University of Texas at Austin

Department of Computer Sciences Graphics Fall 25 (Lecture ) The local subdivision matrix for the four-point scheme is: c j+ 3 c j+ 2 c j+ c j+ c j+ c j+ 2 c j+ 3 = 9 9 6 6 6 6 9 9 6 6 6 6 9 9 6 6 6 6 9 6 6 9 6 6 c j 3 c j 2 c j c j c j c j 2 c j 3 The University of Texas at Austin

Department of Computer Sciences Graphics Fall 25 (Lecture ) Quadric Surfaces Implicit form arametric form The University of Texas at Austin 2

Department of Computer Sciences Graphics Fall 25 (Lecture ) Constructing Surface atches Triangular decasteljau: Join adjacently indexed ijk by triangles Find r : s : t barycentric point in each triangle Join adjacent points by triangles Repeat Final point is the surface point (r, s, t) final triangle is tangent to the surface at (r, s, t) Triangle up/down schemes become tetrahedral up/down schemes roperties: The University of Texas at Austin 3

Department of Computer Sciences Graphics Fall 25 (Lecture ) Each boundary curve is a Bézier curve atches will be joined smoothly if pairs of boundary triangles are planar as shown 2 2 3 2 3 Q 2 2 Q Q 2 The University of Texas at Austin 4

Department of Computer Sciences Graphics Fall 25 (Lecture ) Tensor roduct atches Tensor roduct atches: The control polygon is the polygonal mesh with vertices i,j The patch basis functions are products of curve basis functions (s, t) = n n i,j B n i,j (s, t) i= j= where B n i,j (s, t) = Bn i (s)bn j (t) The University of Texas at Austin 5

Department of Computer Sciences Graphics Fall 25 (Lecture ) The University of Texas at Austin 6

Department of Computer Sciences Graphics Fall 25 (Lecture ) Smoothly Joined atches: 2 3 Q 2 Q 3 Q 22 23 Q 2 Q 2 Q Q 3 33 Q 3 32 Can be achieved by ensuring that ( i,n i,n ) = β(q i, Qi, ) for β > (and correspondingly for other boundaries) The University of Texas at Austin 7

Department of Computer Sciences Graphics Fall 25 (Lecture ) Rendering via Subdivision: Divide up into polygons:. By stepping s =, δ, 2δ,..., t =, γ, 2γ,..., and joining up sides and diagonals to produce a triangular mesh 2. By subdividing and rendering the control polygon The University of Texas at Austin 8

Department of Computer Sciences Graphics Fall 25 (Lecture ) Subdivision for olyhedra Regular olyhedra (latonic Solids) Tetrahedron Octahedron Icosahedron Hexahedron (Cube) Dodecahedron The University of Texas at Austin 9

Department of Computer Sciences Graphics Fall 25 (Lecture ) Catmull Clark Refinement rule used by Catmull-Clark subdivision scheme is as follows. New vertices are added on each edge and in the center. When connected, 4 new level j + quadrilaterals are produced from the single level j quadrilateral. V j V j 8 V j 7 E j+ 2 V j 2 V j V j 6 E j+ 3 F j+ E j+ E j+ V j+ V j 3 V j 4 V j 5 Catmull-Clark subdivision scheme. Circles are the j level and Squares are the j + level. The vertex rule, edge rule and face rule are shown in the following figure. Each black circle The University of Texas at Austin 2

Department of Computer Sciences Graphics Fall 25 (Lecture ) represents a vertex at level j; we compute the position of the vertex at level j + marked by the black square. Note that for the vertex rule, the control vertex with weight 9 6 and the new vertex aren t necessarily aligned as they are in the figure. V j 64 V j 8 3 32 64 V j 7 V j 6 6 V j 8 V j 4 4 V j 8 V j 2 3 32 V j+ 9 6 3 32 V j 6 V j 2 3 8 E j+ 3 8 V j F j+ 64 3 32 64 6 6 4 4 V j 3 V j 4 V j 5 V j 3 V j 4 V j 2 V j Vertex rule: V j+ = 9 6 V j + 3 32 (V j 2 + V j 4 + V j 6 + V j 8 ) + 64 (V j + V j 3 + V j 5 + V j 7 ) The University of Texas at Austin 2

Department of Computer Sciences Graphics Fall 25 (Lecture ) Edge rule: Face rule: E j+ = 3 8 (V j + V j 2 ) + 6 (V j + V j 3 + V j 4 + V j 8 ) F j+ = 4 (V j + V j 2 + V j + V j 8 ) Arbitrary Meshes We have defined Catmull-Clark scheme on quadrilaterals; it can be extended to handle arbitrary polygonal meshes. Observe that if we do one step of refinement, splitting each edge into two and inserting a new vertex for each face (see below Figure), we get a mesh which has only quadrilateral faces. On all other steps of subdivision standard rule described above can be applied. Splitting a hexagon into quadrilaterals. The University of Texas at Austin 22

Department of Computer Sciences Graphics Fall 25 (Lecture ) Reading Assignment and News Chapter pages 569-583, of Recommended Text. lease also track the News section of the Course Web ages for the most recent Announcements related to this course. (http://www.cs.utexas.edu/users/bajaj/graphics25/cs354/) The University of Texas at Austin 23