Lecture 21: B Spline Curve

Slides:



Advertisements
Similar presentations
Anupam Saxena Associate Professor Indian Institute of Technology KANPUR
Advertisements

Splines IV – B-spline Curves
Interpolating curves.
Lecture Notes #11 Curves and Surfaces II
Computer Graphics (Spring 2008) COMS 4160, Lecture 6: Curves 1
Lecture 10 Curves and Surfaces I
Interpolation A method of constructing a function that crosses through a discrete set of known data points. .
Cubic Curves CSE167: Computer Graphics Instructor: Steve Rotenberg UCSD, Fall 2006.
© University of Wisconsin, CS559 Spring 2004
B-Spline Blending Functions
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Lecture 29 of 42 Bezier Curves and Splines Wednesday, 02 April 2008
CS CS 175 – Week 9 B-Splines Definition, Algorithms.
Modeling of curves Needs a ways of representing curves: Reproducible - the representation should give the same curve every time; Computationally Quick;
A story about Non Uniform Rational B-Splines E. Shcherbakov.
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.
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.
Bezier and Spline Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Splines III – Bézier Curves
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.
Curve Modeling B-Spline Curves
Interactive Graphics Lecture 9: Slide 1 Interactive Graphics Lecture 9: Introduction to Spline Curves.
(Spline, Bezier, B-Spline)
V. Space Curves Types of curves Explicit Implicit Parametric.
Numerical Computation
1 Dr. Scott Schaefer Blossoming and B-splines. 2/105 Blossoms/Polar Forms A blossom b(t 1,t 2,…,t n ) of a polynomial p(t) is a multivariate function.
Final Review Zhicheng Yan. Over Operator  Two formulas  Alpha Slides  C A over B = a A C A + (1 – a A ) a B C B and a A over B = a A + (1 – a A ) a.
Chapter VI Parametric Curves and Surfaces
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Parametric Curves.
1 CS 430/536 Computer Graphics I Curve Drawing Algorithms Week 4, Lecture 8 David Breen, William Regli and Maxim Peysakhov Geometric and Intelligent Computing.
Computer Graphics Representing Curves and Surfaces.
On the degree elevation of B-spline curves and corner cutting Guozhao Wang,Chongyang Deng Reporter : Jingjing Yu.
Geometric Modelling 2 INFO410 & INFO350 S Jack Pinches
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
11/26/02(C) University of Wisconsin Last Time BSplines.
Parametric Curves CS 318 Interactive Computer Graphics John C. Hart.
(c) 2002 University of Wisconsin
CS 450: Computer Graphics PARAMETRIC SPLINES AND SURFACES
1 CS 430/536 Computer Graphics I B-Splines and NURBS Week 5, Lecture 9 David Breen, William Regli and Maxim Peysakhov Geometric and Intelligent Computing.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 12: Curves 1
Computing & Information Sciences Kansas State University Lecture 30 of 42CIS 636/736: (Introduction to) Computer Graphics Lecture 30 of 42 Wednesday, 09.
Blossoms CS 419 Advanced Topics in Computer Graphics John C. Hart
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.
CS552: Computer Graphics Lecture 18: Representing Cubic Splines.
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
© University of Wisconsin, CS559 Spring 2004
Lecture 22: B Spline Curve Properties
Introduction to Parametric Curve and Surface Modeling
Surfaces and Curves.
CS5500 Computer Graphics May 11, 2006
(Spline, Bezier, B-Spline)
Does the set S SPAN R3 ?.
CSE 167 [Win 17], Lecture 9: Curves 1 Ravi Ramamoorthi
Parametric Curves.
© University of Wisconsin, CS559 Fall 2004
© University of Wisconsin, CS559 Spring 2004
Chapter XVII Parametric Curves and Surfaces
Efficient Methods for Roots of Univariate Scalar Beziers
Parametric Line equations
Three-Dimensional Object Representation
PPT2: B-spline Basics Functions
Introduction to Parametric Curve and Surface Modeling
Presentation transcript:

Lecture 21: B Spline Curve CS552: Computer Graphics Lecture 21: B Spline Curve

Recap Bezier curve Properties Rendering De Casteljau's Algorithm Subdividing Bezier Curve Continuity of curve 𝐶 0 𝐶 1 𝐶 2

Objective After completing this lecture, students will be able to Explain the issues with Bezier curve representation Explain the advantage of B spline curve Calculate the B-spline basis of different degrees and knot intervals

Bezier Curves: Issues No local control Degree of curve is fixed by the number of control points

B Spline Each control point has a unique basis function Local control is facilitated

B spline Curves The user supplies: the degree p, n+1 control points, and m+1 knot vectors Write the curve as: The functions Nip are the B-Spline basis functions B-Spline Animation

B Spline Basis The domain is subdivided by knots, and Basis functions are not non-zero on the entire interval. Some knot spans may not exist (Repeat) Simple / Multiple Knots Uniform/ Non-Uniform Knots The i-th B-spline basis function of degree p 𝑁 𝑖 0 𝑡 = 1, 𝑡 𝑖 ≤𝑡≤ 𝑡 𝑖+1 𝑂𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 B-Spline Basis Plots 𝑁 𝑖 𝑝 𝑡 = 𝑡− 𝑡 𝑖 𝑡 𝑖+𝑝 − 𝑡 𝑖 𝑁 𝑖 𝑝−1 𝑡 + 𝑡 𝑖+𝑝+1 −𝑡 𝑡 𝑖+𝑝+1 − 𝑡 𝑖 𝑁 𝑖+1 𝑝−1 𝑡 Cox-de Boor recursion formula

B Spline Basis: Observations 1 Non-zero domain of a basis function Basis function 𝑵𝒊,𝒑(𝒖) is non-zero on [𝒕𝒊, 𝒕 𝒊+𝒑+𝟏 )

B Spline Basis: Observations 2 Influence of the basis function coefficients 𝑡 𝑡 𝑖 𝑡 𝑖+1 𝑡 𝑖+𝑝 𝑡 𝑖+𝑝+1 𝑡 𝑖+𝑝 − 𝑡 𝑖 𝑡− 𝑡 𝑖 𝑡 𝑖+𝑝+1 −𝑡 𝑡 𝑖+𝑝+1 − 𝑡 𝑖+1 Linear combination of two intervals, where both are linear in 𝑢

Example Suppose the knot vector is U = { 0, 0.25, 0.5, 0.75, 1 }. Hence, m = 4 and u0 = 0, u1 = 0.25, u2 = 0.5, u3 = 0.75 and u4 = 1.  Degree Basis Function Range Equation 1 𝑁 0 0 𝑁 1 0 𝑁 2 0 𝑁 3 0 𝑁 0 1 𝑁 1 1 𝑁 2 1

Thank you Next Lecture: B-Spline Curve