CS552: Computer Graphics Lecture 18: Representing Cubic Splines.

Slides:



Advertisements
Similar presentations
Splines I – Curves and Properties
Advertisements

College of Computer and Information Science, Northeastern UniversityApril 12, CS G140 Graduate Computer Graphics Prof. Harriet Fell Spring 2007 Lecture.
Computer Graphics (Spring 2008) COMS 4160, Lecture 6: Curves 1
CS 445 / 645 Introduction to Computer Graphics Lecture 23 Bézier Curves Lecture 23 Bézier Curves.
© University of Wisconsin, CS559 Spring 2004
#8: Curves and Curved Surfaces CSE167: Computer Graphics Instructor: Ronen Barzel UCSD, Winter 2006.
2002 by Jim X. Chen: Bezier Curve Bezier Curve.
Lecture 10 Curves and Surfaces I
ICS 415 Computer Graphics Bézier Splines (Chapter 8)
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.
1 Introduction Curve Modelling Jack van Wijk TU Eindhoven.
Dr. S.M. Malaek Assistant: M. Younesi
08/30/00 Dinesh Manocha, COMP258 Hermite Curves A mathematical representation as a link between the algebraic & geometric form Defined by specifying the.
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.
Splines II – Interpolating Curves
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves Jinxiang Chai.
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.
Curves Locus of a point moving with one degree of freedom
Modelling: Curves Week 11, Wed Mar 23
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Curves Week 13, Mon 24 Nov 2003.
Designing Parametric Cubic Curves
Implicit Differentiation. Objectives Students will be able to Calculate derivative of function defined implicitly. Determine the slope of the tangent.
Curves and Surfaces (cont’) Amy Zhang. Conversion between Representations  Example: Convert a curve from a cubic B-spline curve to the Bézier form:
Curves and Surfaces CSE3AGR - Paul Taylor Polynomials of Degree n Degree is equal to the highest exponent of a term. Higher exponents result in.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Spline curves 1/23 Curves and Surfaces.
CS 376 Introduction to Computer Graphics 04 / 23 / 2007 Instructor: Michael Eckmann.
Interactive Graphics Lecture 9: Slide 1 Interactive Graphics Lecture 9: Introduction to Spline Curves.
V. Space Curves Types of curves Explicit Implicit Parametric.
Curves.
INTERPOLATION & APPROXIMATION. Curve algorithm General curve shape may be generated using method of –Interpolation (also known as curve fitting) Curve.
June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.
CS559: Computer Graphics Lecture 19: Curves Li Zhang Spring 2008.
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves Jinxiang Chai.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Basic Theory (for curve 02). 1.3 Parametric Curves  The main aim of computer graphics is to display an arbitrary surface so that it looks real.  The.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves Jinxiang Chai.
L5 – Curves in GIS NGEN06 & TEK230: Algorithms in Geographical Information Systems by: Sadegh Jamali (source: Lecture notes in GIS, Lars Harrie) 1 L5-
11/6/ :55 Graphics II Introduction to Parametric Curves and Surfaces Session 2.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Parametric Curves & Surfaces Greg Humphreys University of Virginia CS 445, Spring.
Slide 129 October 1999CS Computer Graphics (Top Changwatchai) Bézier Curves - Results of Derivation Tangents at endpoints are equal to endpoint slopes.
Designing Parametric Cubic Curves 1. 2 Objectives Introduce types of curves ­Interpolating ­Hermite ­Bezier ­B-spline Analyze their performance.
CS 325 Computer Graphics 04 / 30 / 2010 Instructor: Michael Eckmann.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 12: Curves 1
CS552: Computer Graphics Lecture 19: Bezier Curves.
Object Modeling: Curves and Surfaces CEng 477 Introduction to Computer Graphics.
Introduction to Parametric Curve and Surface Modeling.
CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009.
Lecture 24: Surface Representation
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves
Lecture 22: B Spline Curve Properties
Curve & Surface.
Parametric Curves cgvr.korea.ac.kr.
Chapter 10-2: Curves.
Computer Graphics Lecture 37
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves
Rendering Curves and Surfaces
Designing Parametric Cubic Curves
© University of Wisconsin, CS559 Spring 2004
CS U540 Computer Graphics Prof. Harriet Fell Spring 2007
Parametric Line equations
Three-Dimensional Object Representation
Lecture 21: B Spline Curve
Introduction to Parametric Curve and Surface Modeling
Type to enter a caption. Computer Graphics Week 10 Lecture 1.
Overview June 9- B-Spline Curves June 16- NURBS Curves
Presentation transcript:

CS552: Computer Graphics Lecture 18: Representing Cubic Splines

Recap Parametric cubic spline Spline of order n Piecewise polynomial Cubic spline o One segment: end points and its tangent o Two segments: end points of each segment, tangent at the terminal points o K segments

Objective After completing this lecture students will be able to Generalize cubic spline with K segments Solve numerical problems

Parametric cubic spline segment Assume, n=3 Constant curvature at the internal joint between the two spans.

Parametric cubic spline segment Target: Calculate the tangent vector at the junction point

Piecewise spline

Basis functions To generate the cubic spline curve The magnitude of the tangent vectors is changed, the slope of the cubic segments between data points is changed. On the other hand, the direction of the tangent vectors controls the shape of the cubic segments at their points.

Normalized Parameters

Coefficient matrix

Normalized Parameters Dimensions of these matrices?

Normalized Parameters Non-zero terms in the M matrix are at the indices How to make M a square matrix?

Choice of boundary condition The choice of boundary condition depends upon o if only a few data points are known o if physical constraints require accurate control of the curve shape at the ends. Specify the two end tangent vectors

Boundary condition

End conditions End conditionM matrix non-zero elements B(K,1); B(K,N) ClampedM(1,1)=1; M(N,N)=1B(K,1) = U(K,1) B(K,N) = U(K,N) RelaxedM(1,1) = 1; M(N, N-1)= 2 M(1,2) = 0.5; M(N,N) = 4

Numerical Problem Assume that the three position vectors

Thank you Next Lecture: Bezier Curve