08/30/00 Dinesh Manocha, COMP258 Hermite Curves A mathematical representation as a link between the algebraic & geometric form Defined by specifying the.

Slides:



Advertisements
Similar presentations
Polynomial Approximation PSCI 702 October 05, 2005.
Advertisements

© University of Wisconsin, CS559 Spring 2004
Lecture 10 Curves and Surfaces I
Cubic Curves CSE167: Computer Graphics Instructor: Steve Rotenberg UCSD, Fall 2006.
09/25/02 Dinesh Manocha, COMP258 Triangular Bezier Patches Natural generalization to Bezier curves Triangles are a simplex: Any polygon can be decomposed.
CS 445/645 Fall 2001 Hermite and Bézier Splines. Specifying Curves Control Points –A set of points that influence the curve’s shape Knots –Control points.
CS 445 / 645 Introduction to Computer Graphics Lecture 22 Hermite Splines Lecture 22 Hermite Splines.
Dr. S.M. Malaek Assistant: M. Younesi
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Slide 127 October 1999CS Computer Graphics (Top Changwatchai) Review of Spline Concepts Sections 10-6 to in Hearn & Baker Splines can be 2D.
Rational Bezier Curves
09/04/02 Dinesh Manocha, COMP258 Bezier Curves Interpolating curve Polynomial or rational parametrization using Bernstein basis functions Use of control.
09/18/02 Dinesh Manocha, COMP258 Parametric Patches Tensor product or rectangular patches are of the form: P(u,w) = u,w [0,1]. The number of control points.
Modeling of curves Needs a ways of representing curves: Reproducible - the representation should give the same curve every time; Computationally Quick;
09/09/02 Dinesh Manocha, COMP258 Properties of Bezier Curves Invariance under affine parameter transformation P i B i,n (u) = P i B i,n ((u –a)/(b-a))
Curves Locus of a point moving with one degree of freedom
Designing Parametric Cubic Curves Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Geometric Modeling Surfaces Mortenson Chapter 6 and Angel Chapter 9.
Curves Mortenson Chapter 2-5 and Angel Chapter 9
Drawing Parametric Curves Jean-Paul Mueller. Curves - The parametric form of a curve expresses the value of each spatial variable for points on the curve.
Modelling: Curves Week 11, Wed Mar 23
RASTER CONVERSION ALGORITHMS FOR CURVES: 2D SPLINES 2D Splines - Bézier curves - Spline curves.
Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Chapter 10: Curves and Surfaces Part 1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Designing Parametric Cubic Curves
09/16/02 Dinesh Manocha, COMP258 Surfaces Locally a 2D manifold: i.e. approximating a plane in the ngbd. of each point. A 2-parameter family of points.
Curve Surfaces June 4, Examples of Curve Surfaces Spheres The body of a car Almost everything in nature.
Curve Modeling Bézier Curves
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
CS 376 Introduction to Computer Graphics 04 / 23 / 2007 Instructor: Michael Eckmann.
V. Space Curves Types of curves Explicit Implicit Parametric.
Curves.
1 Dr. Scott Schaefer Coons Patches and Gregory Patches.
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
Curves. First of all… You may ask yourselves “What did those papers have to do with computer graphics?” –Valid question Answer: I thought they were cool,
INTERPOLATION & APPROXIMATION. Curve algorithm General curve shape may be generated using method of –Interpolation (also known as curve fitting) Curve.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Parametric Curves.
Curves and Surfaces Chapter 10. CS 480/680 2Chapter 9 -- Hierarchical Models Introduction: Introduction: Until now we have worked with flat entities such.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
04/18/02(c) 2002 University of Wisconsin Last Time Hermite Curves Bezier Curves.
11/6/ :55 Graphics II Introduction to Parametric Curves and Surfaces Session 2.
Parametric Curves CS 318 Interactive Computer Graphics John C. Hart.
(c) 2002 University of Wisconsin
CAP 4703 Computer Graphic Methods Prof. Roy Levow Chapter 10.
Designing Parametric Cubic Curves 1. 2 Objectives Introduce types of curves ­Interpolating ­Hermite ­Bezier ­B-spline Analyze their performance.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
CS 450: Computer Graphics PARAMETRIC SPLINES AND SURFACES
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
CS552: Computer Graphics Lecture 19: Bezier Curves.
CS552: Computer Graphics Lecture 18: Representing Cubic Splines.
Object Modeling: Curves and Surfaces CEng 477 Introduction to Computer Graphics.
Introduction to Parametric Curve and Surface Modeling.
Computer Graphics Lecture 38
Curve & Surface.
Representation of Curves & Surfaces
Chapter 10-2: Curves.
Computer Graphics Lecture 37
CS 430/536 Computer Graphics I Intro to Curves Week 4, Lecture 7
Find the derivative of the vector function r(t) = {image}
Parametric Curves.
Designing Parametric Cubic Curves
© University of Wisconsin, CS559 Spring 2004
Chapter XVII Parametric Curves and Surfaces
Computer Graphics Lecture 36 CURVES II Taqdees A. Siddiqi
UNIT-5 Curves and Surfaces.
Introduction to Parametric Curve and Surface Modeling
Designing Parametric Cubic Curves
Type to enter a caption. Computer Graphics Week 10 Lecture 1.
Presentation transcript:

08/30/00 Dinesh Manocha, COMP258 Hermite Curves A mathematical representation as a link between the algebraic & geometric form Defined by specifying the end points and tangent vectors at the end points Use of control points –Geometric points that control the shape –Algebraically: used for linear combination of basis functions

08/30/00 Dinesh Manocha, COMP258 Cubic Parametric Curves Power basis: X(u) = a x u 3 + b x u 2 + c x u + d x Y(u) = a y u 3 + b y u 2 + c y u + d y Z(u) = a z u 3 + b z u 2 + c z u + d z P(u) = (X(u) Y(u) Z(u)), u [0,1] Cubic curve defined by 12 parameters Hermite curve: Specified using endpoints and tangent directions at these points

08/30/00 Dinesh Manocha, COMP258 Hermite Cubic Curves P(u) = F 1 (u) P(0) + F 2 (u) P(1) + F 3 (u) P u (0) + F 4 (u) P u (1) where F 1 (u) = 2u 3 – 3u F 2 (u) = -2u 3 + 3u 2 F 3 (u) = u 3 – 2u 2 + u F 4 (u) = u 3 – u 2, Hermite basis functions The F i (u) are the Hermite basis functions and P(0), P(1), P u (0) and P u (1) are the geometric coefficients The coefficients are specified to maintain continuity between different segments

08/30/00 Dinesh Manocha, COMP258 Hermite Basis Functions Important Characteristics Universality – hold for all cubic Hermite curves Dimensional independence: extend to higher dimension Separation of Boundary Condition Effects: constituent boundary condition coefficients are decoupled from each other (i.e P(0) & P(1)) –Local Control: can modify a single specific boundary condition to alter the shape of the curve locally Can be extended to higher degree curves

08/30/00 Dinesh Manocha, COMP258 Cubic Hermite Curve: Matrix Representation Let B = [P(0) P(1) P u (0) P u (1)] F = [F 1 (u) F 2 (u) F 3 (u) F 4 (u)] or F = [u 3 u 2 u 1] This is the 4 X 4 Hermite basis transformation matrix. P(u) = U M f B, where U = [u 3 u 2 u 1]

08/30/00 Dinesh Manocha, COMP258 Composing Parametric Curves Given a large collection of data points, compute a curve representation that approximates or interpolates Higher degree curves (say more than 4 or 5) can result in numerical problems (evaluation, intersection, subdivision etc.) Need to multiple segments and compose them with appropriate continuity

08/30/00 Dinesh Manocha, COMP258 Parametric & Geometric Continuity Parametric Continuity (or C n ): Two curves have nth order parametric continuity, C n, if their 0 th to n th derivatives match at the end points Geometric Continuity (or G n ): Less restrictive than parametric continuity. Two curves have nth order geometric continuity, G n, if there is a reparametrization of the curve, so that the reparametrized curves have C n continuity. –G 1: Unit tangent vectors at the end point are continuous –G 2: Relates the curvature of the curves at the endpoints –Geometric continuity results in more degrees of freedom