Curves & Surfaces. MIT EECS 6.837, Durand and Cutler

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

Schedule. Curves & Surfaces. Questions? Last Time: Today. Limitations of Polygonal Meshes. Acceleration Data Structures.

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

Subdivision Surfaces. Homework 1: Questions/Comments?

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

Last Time: Curves & Surfaces. Today. Questions? Limitations of Polygonal Meshes. Can We Disguise the Facets?

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Today. Curves & Surfaces. Can We Disguise the Facets? Limitations of Polygonal Meshes. Better, but not always good enough

Computergrafik. Matthias Zwicker. Herbst 2010

Introduction to Computer Graphics

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

Bezier Curves, B-Splines, NURBS

3D Modeling Parametric Curves & Surfaces

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

Curves and Surfaces for Computer-Aided Geometric Design

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

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

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

Curves and Surfaces 1

Curves. Computer Graphics CSE 167 Lecture 11

Surface Modeling. Polygon Tables. Types: Generating models: Polygon Surfaces. Polygon surfaces Curved surfaces Volumes. Interactive Procedural

Curves and Surfaces 2

Intro to Curves Week 4, Lecture 7

Information Coding / Computer Graphics, ISY, LiTH. Splines

Subdivision Curves and Surfaces: An Introduction

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

3D Modeling techniques

Advanced Geometric Modeling CPSC789

Spline Surfaces, Subdivision Surfaces

Computer Graphics Curves and Surfaces. Matthias Teschner

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

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

Splines. Connecting the Dots

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

B-spline Curves. Smoother than other curve forms

Curves and Surfaces Computer Graphics I Lecture 9

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

CS 536 Computer Graphics Intro to Curves Week 1, Lecture 2

CSE 167: Introduction to Computer Graphics Lecture 12: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

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

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

Advanced Texture-Mapping Curves and Curved Surfaces. Pre-Lecture Business. Texture Modes. Texture Modes. Review quiz

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

Central issues in modelling

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

Intro to Curves Week 1, Lecture 2

Local Modification of Subdivision Surfaces Based on Curved Mesh

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

Sung-Eui Yoon ( 윤성의 )

Curves, Surfaces and Recursive Subdivision

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

Curves & Surfaces. Last Time? Today. Readings for Today (pick one) Limitations of Polygonal Meshes. Today. Adjacency Data Structures

15.10 Curve Interpolation using Uniform Cubic B-Spline Curves. CS Dept, UK

Computer Graphics CS 543 Lecture 13a Curves, Tesselation/Geometry Shaders & Level of Detail

The Free-form Surface Modelling System

Design considerations

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

2D Spline Curves. CS 4620 Lecture 13

Advanced Graphics. Beziers, B-splines, and NURBS. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

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

To Do. Resources. Algorithm Outline. Simplifications. Advanced Computer Graphics (Spring 2013) Surface Simplification: Goals (Garland)

CS354 Computer Graphics Surface Representation III. Qixing Huang March 5th 2018

Computer Graphics I Lecture 11

INF3320 Computer Graphics and Discrete Geometry

3D Modeling: Surfaces

2D Spline Curves. CS 4620 Lecture 18

Les Piegl Wayne Tiller. The NURBS Book. Second Edition with 334 Figures in 578 Parts. A) Springer

Subdivision Surfaces

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

Review of Tuesday. ECS 175 Chapter 3: Object Representation

Design, Computation and Computer Controlled Devices

08 - Designing Approximating Curves

CS-184: Computer Graphics. Today

Interpolation and Basis Fns

Curves and Surfaces. CS475 / 675, Fall Siddhartha Chaudhuri

Topics and things to know about them:

Normals of subdivision surfaces and their control polyhedra

Curved PN Triangles. Alex Vlachos Jörg Peters

An introduction to interpolation and splines

Splines. Parameterization of a Curve. Curve Representations. Roller coaster. What Do We Need From Curves in Computer Graphics? Modeling Complex Shapes

Introduction to Geometry. Computer Graphics CMU /15-662

Ray Casting of Trimmed NURBS Surfaces on the GPU

Lahore University of Management Sciences. CS 452 Computer Graphics

Further Graphics. Bezier Curves and Surfaces. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Curves and Surface I. Angel Ch.10

Dgp _ lecture 2. Curves

Shape modeling Modeling technique Shape representation! 3D Graphics Modeling Techniques

Curves and Surfaces Computer Graphics I Lecture 10

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

CS GAME PROGRAMMING Question bank

Curves and Surfaces. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd

CS-184: Computer Graphics

Mathematical Tools in Computer Graphics with C# Implementations Table of Contents

Approximating Point Clouds by Generalized Bézier Surfaces

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

CS337 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics. Bin Sheng Representing Shape 9/20/16 1/15

QUADRATIC UNIFORM B-SPLINE CURVE REFINEMENT

Subdivision Surfaces

The Essentials of CAGD

Advanced Graphics

Transcription:

Curves & Surfaces

Schedule Sunday October 5 th, * 3-5 PM * Review Session for Quiz 1 Extra Office Hours on Monday Tuesday October 7 th : Quiz 1: In class 1 hand-written 8.5x11 sheet of notes allowed Wednesday October 15th: Assignment 4 (Grid Acceleration) due

Last Time: Acceleration Data Structures

Questions?

Today Review Motivation Limitations of Polygonal Models Phong Normal Interpolation Some Modeling Tools & Definitions Curves Surfaces / Patches Subdivision Surfaces Procedural Texturing

Limitations of Polygonal Meshes planar facets fixed resolution deformation is difficult no natural parameterization

Can We Disguise the Facets?

Phong Normal Interpolation Not Phong Shading from Assignment 3 Instead of using the normal of the triangle, interpolate an averaged normal at each vertex across the face Must be renormalized Courtesy of Leonard McMillan. Used with permission.

1K facets 10K facets 1K smooth 10K smooth

Better, but not always good enough Still low resolution (missing fine details) Still have polygonal silhouettes Intersection depth is planar Collisions in a simulation Solid Texturing...

Some Non-Polygonal Modeling Tools Extrusion Surface of Revolution Spline Surfaces/Patches Quadrics and other implicit polynomials

Continuity definitions: C 0 continuous curve/surface has no breaks/gaps/holes "watertight" C 1 continuous curve/surface derivative is continuous "looks smooth, no facets" C 2 continuous curve/surface 2 nd derivative is continuous Actually important for shading

Questions?

Today Review Motivation Curves What's a Spline? Linear Interpolation Interpolation Curves vs. Approximation Curves Bézier BSpline (NURBS) Surfaces / Patches Subdivision Surfaces Procedural Texturing

Definition: What's a Spline? Smooth curve defined by some control points Moving the control points changes the curve Interpolation Bézier (approximation) BSpline (approximation) Courtesy of Seth Teller. Used with permission.

Interpolation Curves / Splines www.abm.org MIT EECS Courtesy 6.837, of The Durand Antique and Boat Cutler Museum. Used with permission.

Linear Interpolation Simplest "curve" between two points

Interpolation Curves Curve is constrained to pass through all control points Given points P 0, P 1,... P n, find lowest degree polynomial which passes through the points x(t) = a n-1 t n-1 +... + a 2 t 2 + a 1 t + a 0 y(t) = b n-1 t n-1 +... + b 2 t 2 + b 1 t + b 0

Interpolation vs. Approximation Curves Interpolation curve must pass through control points Approximation curve is influenced by control points

Interpolation vs. Approximation Curves Interpolation Curve over constrained lots of (undesirable?) oscillations Approximation Curve more reasonable?

Cubic Bézier Curve 4 control points Curve passes through first & last control point Curve is tangent at P 0 to (P 0 -P 1 ) and at P 4 to (P 4 -P 3 )

Cubic Bézier Curve de Casteljau's algorithm for constructing Bézier curves t t t t t t

Cubic Bézier Curve

Connecting Cubic Bézier Curves How can we guarantee C0 continuity (no gaps)? How can we guarantee C1 continuity (tangent vectors match)? Asymmetric: Curve goes through some control points but misses others

Higher-Order Bézier Curves > 4 control points Bernstein Polynomials as the basis functions Every control point affects the entire curve Not simply a local effect More difficult to control for modeling Courtesy of Seth Teller. Used with permission.

Cubic BSplines 4 control points Locally cubic Curve is not constrained to pass through any control points Courtesy of Seth Teller. Used with permission.

Cubic BSplines Iterative method for constructing BSplines Shirley, Fundamentals of MIT Computer EECS 6.837, Durand Graphics and Cutler Courtesy of Seth Teller. Used with permission.

Cubic BSplines Courtesy of Seth Teller. Used with permission.

Cubic BSplines can be chained together better control locally (windowing) Courtesy of Seth Teller. Used with permission.

Bézier is not the same as BSpline Relationship to the control points is different Bézier BSpline Courtesy of Seth Teller. Used with permission.

Bezier is not the same as Bspline But we can convert between the curves using the basis functions:

NURBS (generalized BSplines) BSpline: uniform cubic BSpline NURBS: Non-Uniform Rational BSpline non-uniform = different spacing between the blending functions, a.k.a. knots rational = ratio of polynomials (instead of cubic)

Questions?

Today Review Motivation Spline Curves Spline Surfaces / Patches Tensor Product Bilinear Patches Bezier Patches Subdivision Surfaces Procedural Texturing

Tensor Product Of two vectors: Similarly, we can define a surface as the tensor product of two curves... Farin, Curves and Surfaces for Computer Aided Geometric Design Image adapted from: Farin, Gerald. Curves and Surfaces for Computer-aided Geometric Design: A Practical Guide. Elsevier Science & Technology Books: Oct 2001, ISBN or UPC: 1-55860-737-4.

Bilinear Patch

Bilinear Patch Smooth version of quadrilateral with non-planar vertices... But will this help us model smooth surfaces? Do we have control of the derivative at the edges?

Bicubic Bezier Patch

Trimming Curves for Patches v Trimming Points Basic Spine (u,v) = (0,0) u Trimmed Spline Image adapted from: Shirley, Peter. Fundamentals of Computer Graphics. A K Peters Limited. July 2002. ISBN: 1-56881-124-1.

Questions?

Today Review Motivation Spline Curves Spline Surfaces / Patches Subdivision Surfaces Procedural Texturing

Chaikin's Algorithm

Doo-Sabin Subdivision

Doo-Sabin Subdivision Courtesy of Zheng Xu. Used with permission. http://www.ke.ics.saitama-u.ac.jp/xuz/pic/doo-sabin.gif

Loop Subdivision p p' m' m c b Image adapted from: Shirley, Peter. Fundamentals of Computer Graphics. A K Peters Limited. July 2002. ISBN: 1-56881-124-1.

Loop Subdivision Some edges can be specified as crease edges Image removed due to copyright considerations. http://grail.cs.washington.edu/projects/subdivision/

Weird Subdivision Surface Models Justin Legakis Courtesy of Justin Legakis. Used with permission.

Questions?

Today Review Motivation Spline Curves Spline Surfaces / Patches Procedural Texturing

Procedural Textures f (x,y,z) color Image removed due to copyright considerations.

Procedural Solid Textures Noise Turbulence Image removed due to copyright considerations. Courtesy of Justin Legakis. Used with permission. Image removed due to copyright considerations. Courtesy of Justin Legakis. Used with permission.

Questions?

Next Thursday: Animation I: Keyframing