Rational Bezier Curves

Similar documents
Geometric Modeling of Curves

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

2D Spline Curves. CS 4620 Lecture 13

2D Spline Curves. CS 4620 Lecture 18

Bézier Splines. B-Splines. B-Splines. CS 475 / CS 675 Computer Graphics. Lecture 14 : Modelling Curves 3 B-Splines. n i t i 1 t n i. J n,i.

3D Modeling Parametric Curves & Surfaces

CS 475 / CS Computer Graphics. Modelling Curves 3 - B-Splines

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

GL9: Engineering Communications. GL9: CAD techniques. Curves Surfaces Solids Techniques

Computergrafik. Matthias Zwicker. Herbst 2010

Curves and Surfaces Computer Graphics I Lecture 9

Curves. Computer Graphics CSE 167 Lecture 11

Parametric curves. Brian Curless CSE 457 Spring 2016

CSE 167: Introduction to Computer Graphics Lecture #11: Bezier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

COMP3421. Global Lighting Part 2: Radiosity

Bezier Curves, B-Splines, NURBS

NURBS: Non-Uniform Rational B-Splines AUI Course Denbigh Starkey

(Spline, Bezier, B-Spline)

08 - Designing Approximating Curves

Curves and Surfaces 1

CSE 167: Introduction to Computer Graphics Lecture #13: Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2017

Curves and Surfaces Computer Graphics I Lecture 10

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

Computer Graphics Curves and Surfaces. Matthias Teschner

Roadmap for tonight. What are Bezier curves (mathematically)? Programming Bezier curves (very high level view).

Remark. Jacobs University Visualization and Computer Graphics Lab : ESM4A - Numerical Methods 331

Representing Curves Part II. Foley & Van Dam, Chapter 11

Design considerations

Properties of Blending Functions

LECTURE #6. Geometric Modelling for Engineering Applications. Geometric modeling for engineering applications

Splines. Parameterization of a Curve. Curve Representations. Roller coaster. What Do We Need From Curves in Computer Graphics? Modeling Complex Shapes

CATIA V4/V5 Interoperability Project 2 : Migration of V4 surface : Influence of the transfer s settings Genta Yoshioka

Dgp _ lecture 2. Curves

Splines. Connecting the Dots

B-spline Curves. Smoother than other curve forms

Intro to Curves Week 4, Lecture 7

Lecture IV Bézier Curves

Bezier Curves. An Introduction. Detlef Reimers

Information Coding / Computer Graphics, ISY, LiTH. Splines

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Computer Graphics Splines and Curves

Computer Graphics. Curves and Surfaces. Hermite/Bezier Curves, (B-)Splines, and NURBS. By Ulf Assarsson

Central issues in modelling

Need for Parametric Equations

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

CS130 : Computer Graphics Curves (cont.) Tamar Shinar Computer Science & Engineering UC Riverside

Know it. Control points. B Spline surfaces. Implicit surfaces

B-Splines and NURBS Week 5, Lecture 9

PS Geometric Modeling Homework Assignment Sheet I (Due 20-Oct-2017)

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics

Parametric curves. Reading. Curves before computers. Mathematical curve representation. CSE 457 Winter Required:

Advanced Graphics. Beziers, B-splines, and NURBS. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Curves and Curved Surfaces. Adapted by FFL from CSE167: Computer Graphics Instructor: Ronen Barzel UCSD, Winter 2006

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1

Shape Representation Basic problem We make pictures of things How do we describe those things? Many of those things are shapes Other things include

CS-184: Computer Graphics. Today

Spline Morphing. CG software practical course in the IWR. Carl Friedrich Bolz. Carl Friedrich Bolz

Curve Construction via Local Fitting

Rational Bezier Surface

CS-184: Computer Graphics

The Free-form Surface Modelling System

An introduction to interpolation and splines

Graphing Techniques. Domain (, ) Range (, ) Squaring Function f(x) = x 2 Domain (, ) Range [, ) f( x) = x 2

To Do. Resources. Algorithm Outline. Simplifications. Advanced Computer Graphics (Spring 2013) Surface Simplification: Goals (Garland)

Fathi El-Yafi Project and Software Development Manager Engineering Simulation

A story about Non Uniform Rational B-Splines. E. Shcherbakov

Blending curves. Albert Wiltsche

(Refer Slide Time: 00:02:24 min)

and the crooked shall be made straight, and the rough ways shall be made smooth; Luke 3:5

Curves and Surface I. Angel Ch.10

Parametric Surfaces. Michael Kazhdan ( /657) HB , FvDFH 11.2

Curve and Surface Basics

Figure 5.1: Spline and ducks.

Interactive Graphics Using Parametric Equations (Day 2)

Intro to Curves Week 1, Lecture 2

Curve Representation ME761A Instructor in Charge Prof. J. Ramkumar Department of Mechanical Engineering, IIT Kanpur

CS 536 Computer Graphics Intro to Curves Week 1, Lecture 2

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

Shape Control of Cubic H-Bézier Curve by Moving Control Point

Sung-Eui Yoon ( 윤성의 )

Important Properties of B-spline Basis Functions

Isoparametric Curve of Quadratic F-Bézier Curve

TO DUY ANH SHIP CALCULATION

Introduction p. 1 What Is Geometric Modeling? p. 1 Computer-aided geometric design Solid modeling Algebraic geometry Computational geometry

Introduction to Computer Graphics

CS3621 Midterm Solution (Fall 2005) 150 points

CAGD PACKAGE FOR MATHEMATICA AND ITS USAGE IN THE TEACHING

B-Spline Polynomials. B-Spline Polynomials. Uniform Cubic B-Spline Curves CS 460. Computer Graphics

Computational Physics PHYS 420

Circular Arc Approximation by Quartic H-Bézier Curve

Objects 2: Curves & Splines Christian Miller CS Fall 2011

Further Graphics. Bezier Curves and Surfaces. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Curves D.A. Forsyth, with slides from John Hart

Spline Notes. Marc Olano University of Maryland, Baltimore County. February 20, 2004

Review of Tuesday. ECS 175 Chapter 3: Object Representation

Intro to Modeling Modeling in 3D

MA 323 Geometric Modelling Course Notes: Day 21 Three Dimensional Bezier Curves, Projections and Rational Bezier Curves

An introduction to NURBS

Transcription:

Rational Bezier Curves Use of homogeneous coordinates Rational spline curve: define a curve in one higher dimension space, project it down on the homogenizing variable Mathematical formulation: n P(u) = (X(u) Y(u) W(u)) = (P i, w i ) B i,n (u) u [0,1] i=0 p(u) = (x(u) y(u)) = (X(u)/W(u) Y(u)/W(u)) = n n i=0 w i P i B i,n (u) w j B j,n (u) j=0

Rational Bezier Curves: Properties W i are the weights and they affect the shape of the curve All the W i cannot be simultaneously zero If all the W i are non-negative, the curve is still contained in the convex hull of the control polygon It interpolates the end points The tangents at P 0 is given by P -P 1 0 and at P n is given by P n -P n-1 The weights affect the shape in the interior. What happens when W i A rational curve has perspective invariance

Rational Bezier Curves and Conics A rational Bezier curve can exactly represent a conic The conics are second degree algebraic curve and their segments can be represented exactly using rational quadratic curves (i.e. 3 control points and 3 weights) A parabola can be represented using a polynomial curve, but a circle, ellipse and hyperbola can only be represented using a rational curve

B-Spline Curves Consists of more than one curve segment Each segment is influenced by a few control points (e.g. local control) Degree of a curve is indpt. of total number of control points Use of basis function that have a local influence Convex hull property: contained in the convex hull of control points In general, it does not interpolate any control point(s)

Non-Uniform B-Spline Curves A B-spline curve is defined as: Each segment is influenced by a few control points (e.g. local control) P(u) = n i=0 P i N i,k (u) where P i are the control points, k controls the degree of the basis polynomials

Non-Uniform Basis Function The basis function is defined as: N i,1 (u) =1 if t i u<t i+1 =0 otherwise (ut N i,k (u) = i )N i,k1 (u) (t ti+k1 + i+k u)n i+1,k1 (u) t i t i+k t i+1 where k controls the degree (k-1) of the resulting polynomial in u and also the continuity of the curve. t i are the knot values, and a set knot values define a knot vector

Non-Uniform Basis Function The parameters determining the number of control points, knots and the degree of the polynomial are related by n + k + 1 = T, where T is the number of knots. For a B-spline curve that interpolates P 0 and P n, the knot T is given as T = {,,...,,t k,...,t Tk1,,,...,} where the end knots α and β repeat with multiplicity k. If the entire curve is parametrized over the unit interval, then, for most cases α =0 and β = 1. If we assign non-decreasing values to the knots, then α =0 and β = n k + 2.

Non-Uniform Basis Function Multiple or repeated knot-vector values, or multiply coincident control point, induce discontinuities. For a cubic curve, a double knot defines a join point with curvature discontinuity. A triple knot produces a corner point in a curve. If the knots are placed at equal intervals of the parameter, it describes a UNIFORM non-rational B-spline; otherwise it is non-uniform. Usually the knots are integer values. In such cases, the range of the parameter variable is: 0 u n k +2

Locality Each segment of a B-spline curve is influenced by k control points Each control point only influences only k curve segments The interior basis functions (not the ones influenced by endpoints) are independent of n (the number of control points) All the basis functions add upto 1: convex hull property

Uniform B-Spline Basis Functions The knot vector is uniformly spaced The B-spline curve is an approximating curve and not interpolating curve The B-spline curve is a uniform or periodic curve, as the basis function repeats itself over successive intervals of the parametric variable Use of Non-uniformity: insert knots at selected locations, to reduce the continuity at a segment joint