Slide 129 October 1999CS 318 - Computer Graphics (Top Changwatchai) Bézier Curves - Results of Derivation Tangents at endpoints are equal to endpoint slopes.

Slides:



Advertisements
Similar presentations
Lecture 14 Curves and Surfaces II
Advertisements

Lecture Notes #11 Curves and Surfaces II
Computer Graphics (Spring 2008) COMS 4160, Lecture 6: Curves 1
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.
© 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.
Slide 127 October 1999CS Computer Graphics (Top Changwatchai) Review of Spline Concepts Sections 10-6 to in Hearn & Baker Splines can be 2D.
Informationsteknologi Monday, December 10, 2007Computer Graphics - Class 161 Today’s class Curve fitting Evaluators Surfaces.
Curves Chiew-Lan Tai. Curves 2 Reading Required Hearn & Baker, 8-8 – 8-10, 8-12 Foley, 11.2.
Rational Bezier Curves
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 12: Spline Curves (review) Ravi Ramamoorthi Most material.
Modeling of curves Needs a ways of representing curves: Reproducible - the representation should give the same curve every time; Computationally Quick;
1 Lecture 13 Modeling Curved Lines and Surfaces. 2 Types of Surfaces Ruled Surfaces B-Splines and Bezier Curves Surfaces of Revolution.
Geometric Modeling Surfaces Mortenson Chapter 6 and Angel Chapter 9.
Cubic Bezier and B-Spline Curves
Curves Mortenson Chapter 2-5 and Angel Chapter 9
Bezier and Spline Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Computer Graphics 12: Spline Representations
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.
COEN Computer Graphics I
Curve Surfaces June 4, Examples of Curve Surfaces Spheres The body of a car Almost everything in nature.
Splines III – Bézier Curves
Curve Modeling Bézier Curves
Bresenham’s Algorithm. Line Drawing Reference: Edward Angel’s book: –6 th Ed. Sections 6.8 and 6.9 Assuming: –Clipped (to fall within the window) –2D.
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
(Spline, Bezier, B-Spline)
V. Space Curves Types of curves Explicit Implicit Parametric.
Introduction to Computer Graphics with WebGL
Spline Representations
CS 445 / 645 Introduction to Computer Graphics Lecture 23 Bézier Curves Lecture 23 Bézier Curves.
Review of Interpolation. A method of constructing a function that crosses through a discrete set of known data points.
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
Chapter 4 Representations of Curves and Surfaces.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Parametric Curves.
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.
Parametric Surfaces Define points on the surface in terms of two parameters Simplest case: bilinear interpolation s t s x(s,t)x(s,t) P 0,0 P 1,0 P 1,1.
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.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Parametric Curves & Surfaces Greg Humphreys University of Virginia CS 445, Spring.
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 325 Computer Graphics 04 / 30 / 2010 Instructor: Michael Eckmann.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 12: Curves 1
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.
© University of Wisconsin, CS559 Spring 2004
Surfaces and Curves.
CS5500 Computer Graphics May 11, 2006
Representation of Curves & Surfaces
CS 445 / 645 Introduction to Computer Graphics
(Spline, Bezier, B-Spline)
Chapter 10-2: Curves.
© University of Wisconsin, CS559 Spring 2004
Three-Dimensional Object Representation
Introduction to Parametric Curve and Surface Modeling
Type to enter a caption. Computer Graphics Week 10 Lecture 2.
Presentation transcript:

Slide 129 October 1999CS Computer Graphics (Top Changwatchai) Bézier Curves - Results of Derivation Tangents at endpoints are equal to endpoint slopes of control graph Bézier curve lies within convex hull of control points, since each blending function is  0 and their sum is 1 Closed loop - first and last points at same position Weighting - multiple control points at same position give that position higher weight To avoid calculating high-degree polynomial, piece together smaller sections (cubic Bézier is common) –Automatically have C 0 continuity –Easy to get C 1 continuity: Each curve section has same number of control points Points adjacent to connecting points must be collinear and equally spaced –Can have C 2 continuity, but this can be unnecessarily restrictive

Slide 229 October 1999CS Computer Graphics (Top Changwatchai) Cubic Bézier Curves It is convenient to specify cubic Bézier curves See pp in Hearn and Baker for blending functions and basis matrix Later, if there is time, Dr. Chawla will show you how to convert between cubic basis matrices Bézier surfaces can be specified by Cartesian product of Bézier blending functions

Slide 329 October 1999CS Computer Graphics (Top Changwatchai) B-splines: Differences with Bézier See Section 10-9 of Hearn and Baker B-splines are the most widely used class of approximating splines Advantages over Bézier –Degree of B-spline can be set independent of the number of control points –Local control –(But remember, Bézier curves can be connected easily) Trade-off –More complex than Bézier Other –If cubic, has C 2 continuity –Does not necessarily interpolate endpoints

Slide 429 October 1999CS Computer Graphics (Top Changwatchai) B-spline Overview p0p0 pnpn u = 0u = 1 BEZ k,n Bézier global control u n+d u0u0 u d-1 udud u n+1 unun B 0,d B n,d local control Control point Knot Drawn curve Curve not drawn

Slide 529 October 1999CS Computer Graphics (Top Changwatchai) B-splines How to specify a general B-spline –n: number of control points = n+1 –d: degree of polynomial = d-12  d  n+1 –Control points (p 0,..., p n ) –Knot vector [ u 0... u n+d ] Features –Continuity over range of u is C d-2 –n+1 blending functions Each blending function B k,d is only defined for d subintervals, u k  u  u k+d –Local control Each section of spline curve is influenced by d control points Any one control point can affect the shape of at most d curve sections –Curve is drawn for u min  u  u max u min = u d-1, u max = u n+1 –B-splines are tightly bound to control points Each section lies within convex hull of at most d+1 control points –B-spline modification Can vary the number of control points without changing degree of polynomial, as long as ( 2  d  n+1 ) holds To pull curve closer to control-point position, specify that position multiple times u n+d u0u0 u d-1 udud u n+1 unun B 0,d B n,d

Slide 629 October 1999CS Computer Graphics (Top Changwatchai) B-splines B-splines are described according to knot-vector class: Uniform –Spacing between knot values is constant –Blending functions are periodic (all have same shape) –See Figure and Equation in textbook –Start and end positions of curve (umin and umax) are weighted averages of d-1 control points –To close curve, duplicate first d-1 control points at end of sequence –Cubic, periodic d = 4 Can derive boundary conditions, basis vectors, and blending functions Open uniform –Uniform except for endpoints –Knot values at each endpoint repeated d times –Characteristics very similar to Bézier curves When d = n+1, open B-splines reduce to Bézier splines Nonuniform –Unequal spacing –Reduces continuity