CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009.

Slides:



Advertisements
Similar presentations
Splines I – Curves and Properties
Advertisements

Curves Jim Van Verth Essential Math for Games Animation Problem: want to replay stored set of transformations  Generated by.
College of Computer and Information Science, Northeastern UniversityApril 12, CS G140 Graduate Computer Graphics Prof. Harriet Fell Spring 2007 Lecture.
Parametric Curves Ref: 1, 2.
#8: Curves and Curved Surfaces CSE167: Computer Graphics Instructor: Ronen Barzel UCSD, Winter 2006.
2002 by Jim X. Chen: Bezier Curve Bezier Curve.
COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 8, 2014 SPLINES CUBIC CURVES HERMITE CURVES BÉZIER CURVES B-SPLINES BICUBIC SURFACES SUBDIVISION SURFACES.
March 1, 2009Dr. Muhammed Al-Mulhem1 ICS 415 Computer Graphics Hermite Splines Dr. Muhammed Al-Mulhem March 1, 2009 Dr. Muhammed Al-Mulhem March 1, 2009.
Lecture 10 Curves and Surfaces I
Geometric Modeling Notes on Curve and Surface Continuity Parts of Mortenson, Farin, Angel, Hill and others.
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.
1 Introduction Curve Modelling Jack van Wijk TU Eindhoven.
Interpolation to Data Points Lizheng Lu Oct. 24, 2007.
Computer Animation Algorithms and Techniques
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.
1Notes  Assignment 0 is being marked  Textbook reference for arc-length parameterization:  Section 3.2.
Informationsteknologi Monday, December 10, 2007Computer Graphics - Class 161 Today’s class Curve fitting Evaluators Surfaces.
Rational Bezier Curves
1cs426-winter-2008 Notes  Ian Mitchell is running a MATLAB tutorial, Tuesday January 15, 5pm-7pm, DMP 110 We won’t be directly using MATLAB in this course,
Curves Mortenson Chapter 2-5 and Angel Chapter 9
1 Dr. Scott Schaefer Catmull-Rom Splines: Combining B-splines and Interpolation.
Modelling: Curves Week 11, Wed Mar 23
RASTER CONVERSION ALGORITHMS FOR CURVES: 2D SPLINES 2D Splines - Bézier curves - Spline curves.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Curves Week 13, Mon 24 Nov 2003.
2006 Fall MATH 100 Lecture 141 MATH 100 Class 20 Line Integral.
Curve Surfaces June 4, Examples of Curve Surfaces Spheres The body of a car Almost everything in nature.
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.
V. Space Curves Types of curves Explicit Implicit Parametric.
Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Intelligent Engineering Systems Lecture 3. Description.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Interpolating Values.
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.
Keyframing and Splines Jehee Lee Seoul National University.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
CSCI480/582 Lecture 8 Chap.2.1 Principles of Key-framing Techniques Feb, 9, 2009.
L5 – Curves in GIS NGEN06 & TEK230: Algorithms in Geographical Information Systems by: Sadegh Jamali (source: Lecture notes in GIS, Lars Harrie) 1 L5-
Spline Interpolation A Primer on the Basics by Don Allen.
Splines I – Curves and Properties based on: Michael Gleicher Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
CS 551/651 Advanced Graphics Technical Background.
Parametric Curves CS 318 Interactive Computer Graphics John C. Hart.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
CSCI480/582 Lecture 10 Chap.2.3 Cubic Splines – B-Splines and NURBS Feb, 13, 2009.
Keyframe Interpolation and Speed Control Jehee Lee Seoul National University.
College of Computer and Information Science, Northeastern UniversityFebruary 27, CS U540 Computer Graphics Prof. Harriet Fell Spring 2009 Lectures.
Rendering Bezier Curves (1) Evaluate the curve at a fixed set of parameter values and join the points with straight lines Advantage: Very simple Disadvantages:
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
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.
COMPUTER GRAPHICS CHAPTERS CS 482 – Fall 2017 SPLINES
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves
Constructing Objects in Computer Graphics
Chapter 10-2: Curves.
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves
CURVES CAD/CAM/CAE.
© University of Wisconsin, CS559 Spring 2004
CS U540 Computer Graphics Prof. Harriet Fell Spring 2007
Spline Interpolation Class XVII.
Implicit Functions Some surfaces can be represented as the vanishing points of functions (defined over 3D space) Places where a function f(x,y,z)=0 Some.
Interpolation and Basic Techniques
CSCE 441: Keyframe Animation/Smooth Curves (Cont.)
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:

CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009

Outline Parametric curve and arc length Distance-time function in general Spline curve  General polynomial spline  Hermite spline  Bezier spline

Rigid Body Motion – Parametrization and Arc Length along a curve Arc length: the Euclidean length between two points on a curve, or the distance along a curve, denoted as s Arc length is usually non-linear with parameterization variable P(0) P(1) P(.375) P(.625) P(.75) P(.875) P(.25) P(.125) Curve Parameterization: Each coordinate of an arbitrary point on the curve is a function of a unique parameterization variable, denoted as u. P(.5)

Distance-Time Function of a Rigid Body Motion Along A Curve Given an initial point P 0 on a curve, a point moving from the initial point for an arc length at a time instance of t forms the distance-time function S(t) The point location at a time instance can be written as S(t 0 ) S(t 1 ) S(t 2 ) S(t 3 ) S(t 4 ) S(t 5 ) S(t 6 )

Non-analytic methods to calculate U(s) and S(u) Sampling and linear approximation

Spline curve in general Spline: a wide class of functions used in applications requiring data interpolation and/or smoothing In the polynomial case, a spline is a piecewise polynomial function Each interval boundary point is termed a knot Knot vector of a spline:

Uniform spline: Degree n spline: Smoothness: Smoothness vector of a spline: Spline curve in general – Cont’d A Polynomial Spline Space can be defined by Knot vector: t Smoothness vector: r Degree: n

Step function: n=0 Linear Splines: n=1, r i =0 Natural Cubic Splines: n=3, r i =2, and S ’’ (a)=S ’’ (b)=0 Polynomials in animation – Order v.s. Motion Closed/ Polygon Open/ Piece-wise linear lines

On a unit interval (0,1), Given  Starting point p 0 at t=0  Ending point p 1 at t=1  Starting tangent m 0 at t=0  Ending tangent m 1 at t=2 For a natural cubic spline, m 0 =0, then m k can be chosen as Cubic Hermite Spline

On a unit interval (0,1), Given  Starting point p 0 at t=0  Point p 1 with vector p 0 p 1 be the curve tangent at t=0  Ending point p 3 at t=1  Point p 2 with vector p 2 p 3 be the curve tangent at t=1 General Bezier curve Cubic Bezier Spline