1cs426-winter-2008 Notes  Assignment 0 is due today  MATLAB tutorial tomorrow 5-7 if you’re interested (see web-page for link)

Slides:



Advertisements
Similar presentations
2002 by Jim X. Chen: Bezier Curve Bezier Curve.
Advertisements

Cubic Curves CSE167: Computer Graphics Instructor: Steve Rotenberg UCSD, Fall 2006.
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.
© University of Wisconsin, CS559 Spring 2004
Jehee Lee Seoul National University
B-Spline Blending Functions
Chapter 18 Interpolation The Islamic University of Gaza
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Dr. S.M. Malaek Assistant: M. Younesi
Computational Methods in Physics PHYS 3437
EARS1160 – Numerical Methods notes by G. Houseman
Slide 127 October 1999CS Computer Graphics (Top Changwatchai) Review of Spline Concepts Sections 10-6 to in Hearn & Baker Splines can be 2D.
Lecture 29 of 42 Bezier Curves and Splines Wednesday, 02 April 2008
Splines II – Interpolating Curves
1Notes  Assignment 0 is being marked  Textbook reference for arc-length parameterization:  Section 3.2.
1Notes  Assignment 0 is due today!  To get better feel for splines, play with formulas in MATLAB!
1cs542g-term Notes  Preemptive make-up lecture this week  Assignment 2 due by tomorrow morning  Assignment 3 coming soon.
Jim Ramsay McGill University Basis Basics. Overview  What are basis functions?  What properties should they have?  How are they usually constructed?
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,
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 12: Spline Curves (review) Ravi Ramamoorthi Most material.
1 Lecture 13 Modeling Curved Lines and Surfaces. 2 Types of Surfaces Ruled Surfaces B-Splines and Bezier Curves Surfaces of Revolution.
1 Dr. Scott Schaefer Catmull-Rom Splines: Combining B-splines and Interpolation.
Bezier and Spline Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Subdivision Primer CS426, 2000 Robert Osada [DeRose 2000]
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.
Bezier and Spline Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
1Notes  Make sure you are working on assignment 0  Textbook reference for splines:  Section 3.1 and Appendix B4.
CS Subdivision I: The Univariate Setting Peter Schröder.
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.
This Week Week Topic Week 1 Week 2 Week 3 Week 4 Week 5
V. Space Curves Types of curves Explicit Implicit Parametric.
Introduction to Computer Graphics with WebGL
CS 445 / 645 Introduction to Computer Graphics Lecture 23 Bézier Curves Lecture 23 Bézier Curves.
Why manifolds?. Motivation We know well how to compute with planar domains and functions many graphics and geometric modeling applications involve domains.
Review of Interpolation. A method of constructing a function that crosses through a discrete set of known data points.
Splines Vida Movahedi January 2007.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
CS 445/645 Fall 2001 Splines/Film/Animation. Final Exam Thursday, December 13 th from 7 – 10 p.m. –Room Olsson 011 You may use one sheet of notes (8.5.
Splines IV – B-spline Curves based on: Michael Gleicher: Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
Computer Graphics Representing Curves and Surfaces.
CS559: Computer Graphics Lecture 19: Curves Li Zhang Spring 2008.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Curves: ch 4 of McConnell General problem with constructing curves: how to create curves that are “smooth” CAD problem Curves could be composed of segments.
Cubic Spline Interpolation. Cubic Splines attempt to solve the problem of the smoothness of a graph as well as reduce error. Polynomial interpolation.
Spline Interpolation A Primer on the Basics by Don Allen.
11/26/02(C) University of Wisconsin Last Time BSplines.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
(c) 2002 University of Wisconsin
Slide 129 October 1999CS Computer Graphics (Top Changwatchai) Bézier Curves - Results of Derivation Tangents at endpoints are equal to endpoint slopes.
1 Graphics CSCI 343, Fall 2015 Lecture 34 Curves and Surfaces III.
Splines Sang Il Park Sejong University. Particle Motion A curve in 3-dimensional space World coordinates.
CS 325 Computer Graphics 04 / 30 / 2010 Instructor: Michael Eckmann.
Construction of Navau and Garcia. Basic steps Construction has two parameters: smoothness k and n > k, defining how closely the surface follows the control.
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:
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Lecture 13 of 42 Wednesday, 15 February 2006 William.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
Introduction to Parametric Curve and Surface Modeling.
Interpolation - Introduction
Piecewise Polynomials and Splines
© University of Wisconsin, CS559 Spring 2004
CS 445 / 645 Introduction to Computer Graphics
© University of Wisconsin, CS559 Fall 2004
© University of Wisconsin, CS559 Spring 2004
Introduction to Parametric Curve and Surface Modeling
Presentation transcript:

1cs426-winter-2008 Notes  Assignment 0 is due today  MATLAB tutorial tomorrow 5-7 if you’re interested (see web-page for link)

2cs426-winter-2008 Refinability  Cubic Hermite splines have an additional important feature: you can easily refine them  You can add a new knot and control point in between existing ones without changing the curve Just use the value and derivative from the original spline  Other splines (including Catmull-Rom) don’t necessarily have this property

3cs426-winter-2008 Catmull-Rom Boundaries  Recall: Catmull-Rom is a cubic Hermite with an automatic choice for slopes based on control points  Need to use slightly different formulas for the boundaries  For example, 2nd order accurate finite difference at the start of the interval: Symmetric formula for end of interval  Which simplifies for equal spaced knots:

4cs426-winter-2008 Catmull-Rom Basis  Catmull-Rom also implies a set of basis functions…  Can you work out the basis function for equally spaced knots?

5cs426-winter-2008 B-Splines  We’ll drop the interpolating condition, and instead design a basis that is C 2 smooth So control points say how much of each basis function to use, not exactly where the curve goes  This time a basis function overlaps more than one interval  Want to be able to interpolate constants  We won’t cover full derivation

6cs426-winter-2008 B-Spline Basis  Define recursively: each order is a linear blend of previous order  Note: this construction allows nonuniform knots, unlike assignment 0 version, but the 0 and 2 order splines are shifted…

7cs426-winter-2008 Looking at B-splines  B i,3 (t) peaks at (or near) knot t i, but is nonzero on the interval [t i-2, t i+2 ]  Always ≥ 0, Always < 1, Basis functions add up to 1 everywhere Any point on the spline curve is a weighted average of nearby control points

8cs426-winter-2008 Control  Local control: adjusting a control point only changes curve locally Far enough away, curve is exactly the same  Global control: adjusting one control point changes entire curve Not as desirable - working on one part of the curve can perturb the parts you already worked out to perfection But, for decent splines, effect is small--- decays quickly away from adjustment

9cs426-winter-2008 Controlling Cubics  All three of the cubic splines we saw have local control  But if we enforce C 2 smoothness and make it interpolating, we end up with global control Have to solve a big linear system to determine cubic coefficients…

10cs426-winter-2008 Summary  Cubic Hermite Spline: the standard tool for animation. C 1, interpolating, local control. Smoothness easy to break if needed: flexible!  Catmull-Rom: a good default choice for the slopes, based on finite difference formulas  Cubic B-Spline: C 2, approximating, local control. Not so useful for animating in time, very useful for defining geometry