Chapter 10-2: Curves.

Slides:



Advertisements
Similar presentations
Lecture 14 Curves and Surfaces II
Advertisements

Lecture Notes #11 Curves and Surfaces II
© University of Wisconsin, CS559 Spring 2004
2002 by Jim X. Chen: Bezier Curve Bezier Curve.
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.
Jehee Lee Seoul National University
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.
Rational Bezier Curves
09/04/02 Dinesh Manocha, COMP258 Bezier Curves Interpolating curve Polynomial or rational parametrization using Bernstein basis functions Use of control.
Modeling of curves Needs a ways of representing curves: Reproducible - the representation should give the same curve every time; Computationally Quick;
Geometric Modeling Surfaces Mortenson Chapter 6 and Angel Chapter 9.
Curves Mortenson Chapter 2-5 and Angel Chapter 9
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.
COEN Computer Graphics I
Curve Surfaces June 4, Examples of Curve Surfaces Spheres The body of a car Almost everything in nature.
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.
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.
(Spline, Bezier, B-Spline)
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.
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
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.
Splines IV – B-spline Curves based on: Michael Gleicher: Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
Geometric Modelling 2 INFO410 & INFO350 S Jack Pinches
Keyframing and Splines Jehee Lee Seoul National University.
Ship Computer Aided Design MR 422. Geometry of Curves 1.Introduction 2.Mathematical Curve Definitions 3.Analytic Properties of Curves 4.Fairness of Curves.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
L5 – Curves in GIS NGEN06 & TEK230: Algorithms in Geographical Information Systems by: Sadegh Jamali (source: Lecture notes in GIS, Lars Harrie) 1 L5-
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.
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.
Splines Sang Il Park Sejong University. Particle Motion A curve in 3-dimensional space World coordinates.
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.
CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009.
© University of Wisconsin, CS559 Spring 2004
Computer Graphics Lecture 38
Surfaces and Curves.
CS5500 Computer Graphics May 11, 2006
Curve & Surface.
Representation of Curves & Surfaces
CS 445 / 645 Introduction to Computer Graphics
Parametric Curves cgvr.korea.ac.kr.
(Spline, Bezier, B-Spline)
Curves and Surfaces.
© University of Wisconsin, CS559 Fall 2004
© University of Wisconsin, CS559 Fall 2004
CURVES CAD/CAM/CAE.
© University of Wisconsin, CS559 Spring 2004
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.
Parametric Line equations
UNIT-5 Curves and Surfaces.
Three-Dimensional Object Representation
Introduction to Parametric Curve and Surface Modeling
Type to enter a caption. Computer Graphics Week 10 Lecture 1.
Spline representation. ❖ A spline is a flexible strip used to produce a smooth curve through a designated set of points. ❖ Mathematically describe such.
Overview June 9- B-Spline Curves June 16- NURBS Curves
Presentation transcript:

Chapter 10-2: Curves

Cubic Spline Interpolation: Spline Functions A thin, flexible strip used to draw a smooth curve through a given series of points Fig. 10.13 – piecewise cubic polynomials Continuous up to its second derivatives at each supports – continuous w.r.t. position, tangent, and curvature Advantageous in Engineering Problems When the data values are relatively accurate and large in number.

Cubic Spline [II] Spline Parametric Continuity General piecewise parametric representation of geometry with a specified level of parametric continuity Parametric Continuity Fig. 10.14 Continuity requirements relate to the parametric formulation Cf.: Geometric continuity – parameterization independent measure of continuity

Cubic Spline [III] Normalized Cubic Spline Cubic splines are parameterized separately Interval of parameters is [0, 1] for all segments A special case of Hermite interpolation Eq. (10.43) ~ Eq. (10.44) Second Derivative Continuity at Point Pi Fig. 10.15 Eq. (10.45) ~ Eq. (10.50)

“[Pi-1(1)  Pi(0)]”

Cubic Spline [IV] All Cubic Spline Segments Case (a) Case (b) m tangent vectors are needed m – 2 equations Case (a) Known end tangent vectors, P´0 and P´m-1 Eq. (10.51) ~ Eq. (10.53) Example 10.4 Case (b) Second derivatives at the endpoints P0 and Pm-1 both made equal to zero Natural cubic spline Eq. (10.54) ~ Eq. (10.57): Example 10.5

Interpolation summary

Interpolation v.s. Approximation Mathematical Approaches to Represent Curves Interpolation: data fitting Approximation Freeform Shape: Figure 10.16 Fender of a car, transition between the wing and the fuselage of an airplane, hull of a ship, handle of a coffee mug, femur in a human leg.

Interpolation v.s. Approximation [II] Traditional Design Descriptive geometric methods – surface: planar sections and some characteristic lines Master models Final stamps and dies Approximation: Figure 10.17 Digitizing process from existing curve and surface definitions Appearance of the model be acceptable to the designer’s judgment, w/o consideration of the quality of the interpolation Smoothness of a curve or surface is the most important criteria Changes are localized. Bezier and B-Spline

Bezier Curves Features of Bezier Curve The 1st and the last points represent the start and the end of curve, respectively. No oscillation even an increase in the number of points used. The 1st two points and the last two points represent each tangent vector for both sides of a curve.

Bezier Curve of Degree n

Bernstein Polynomial

Cubic Bezier Curve

Properties of Bezier Curve Convex hull property: Fig. 10.18 Effect of moving control points: Fig. 10.19 Closed loop: first and last control points are coincide: Fig. 10.21 Lack of local control: Fig. 10.22 Piecewise Bezier curve in case of a large # of control points: Fig. 10.23 C1 continuity: 3 control points around the intersection are colinear

Matrix Approach

B-Spline Curves Major Advantage over Bezier Curve Bezier curve is global control – hard to change locally  segmentation with the price of low order continuity B-spline curve generates a single piecewise parametric polynomial curve through any number of control points. Degree of the polynomial can be selected by the designer independently. B-spline curves exhibit local control – if one control point is moved, only some curve segments are affected. Cubic or higher degree B-spline curves guarantee curvature continuity C2.

Uniform Cubic B-splines Li(t): a cubic C2 basis function in Fig. 10.25 Knot vector in non-decreasing order Four cubic polynomials: L0,3 L1,3 L2,3 L3,3 Pi(t) = L3,3 (t)Vi + L2,3 (t) Vi+1 + L1,3 (t)Vi+2 + L0,3 (t)Vi+3 Example: Figure 10.26 Why uniform ?: parametric intervals (knots), t, are equal  called uniform or periodic.

Matrix Approach i = 1, 2, 3, 4

Uniform B-splines are well suited to represent closed curves.

예제 10.8 닫힌 균일 2차 B-스플라인에 의해서 원을 근사화하기 위해 네 개의 조정점을 사용한다. 첫 세그먼트의 t=0.5에서의 근사오차를 계산하라.

예제 10.8

Conversion Between Representations

Table 10.3