AN INTRODUCTION BEZIER CURVES. AN INTRODUCTION BEZIER CURVES Bezier was an engineer with the Renault car company and set out in the early 1960's to develop.

Slides:



Advertisements
Similar presentations
SI23 Introduction to Computer Graphics
Advertisements

Lecture Notes #11 Curves and Surfaces II
BEZIER CURVES Part II. Assume we are given two endpoints labelled E1 and E2 and two control points labelled C1 and C2. create a smooth curve whose endpoints.
Lecture 10 Curves and Surfaces I
AP Review Problems – Resistive Forces as Functions of Velocity
Copyright © Cengage Learning. All rights reserved.
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.
POLYNOMIALS POLYNOMIAL – A polynomial in one variable X is an algebraic expression in X of the form NOT A POLYNOMIAL – The expression like 1  x  1, 
Splines II – Interpolating Curves
Linear functions 1. From the figure, we can find that the values of f(x) are in the interval [−1,∞[ 2.
Introduction We have dealt with polylines and mesh shapes. We want a way to describe curved shapes which will make them easy to draw.
17 VECTOR CALCULUS.
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.
1 Dr. Scott Schaefer The Bernstein Basis and Bezier Curves.
Computer Graphics 12: Spline Representations
Modelling: Curves Week 11, Wed Mar 23
Ch 2.1: Linear Equations; Method of Integrating Factors
COEN Computer Graphics I
DEPARTMENT OF MATHEMATI CS [ YEAR OF ESTABLISHMENT – 1997 ] DEPARTMENT OF MATHEMATICS, CVRCE.
Splines III – Bézier Curves
6.2 Graphs of Polynomials. The Degree of Polynomials The degree of a polynomial is the value of the largest exponent. y = 5x 4 + 3x 2 – 7 Degree = 4 y.
© Pearson Education Canada, 2003 GRAPHS IN ECONOMICS 1 APPENDIX.
Functions and Models 1. Mathematical Models: A Catalog of Essential Functions 1.2.
Curve Modeling Bézier Curves
CS 376 Introduction to Computer Graphics 04 / 23 / 2007 Instructor: Michael Eckmann.
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.
Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Intelligent Engineering Systems Lecture 3. Description.
Introduction to Computer Graphics with WebGL
INTEGRALS Areas and Distances INTEGRALS In this section, we will learn that: We get the same special type of limit in trying to find the area under.
CS 445 / 645 Introduction to Computer Graphics Lecture 23 Bézier Curves Lecture 23 Bézier Curves.
1 Section 1.2 Linear Functions and Graphs. 2 EXAMPLE x (Miles) C (Cost) 100$60 150$75 200$90 250$105 The following table shows the cost per day for a.
1 Dr. Scott Schaefer Smooth Curves. 2/109 Smooth Curves Interpolation  Interpolation through Linear Algebra  Lagrange interpolation Bezier curves B-spline.
7.1 An Introduction to Polynomials Objectives: Identify, evaluate, add, and subtract polynomials. Classify polynomials, and describe the shapes of their.
Review of Interpolation. A method of constructing a function that crosses through a discrete set of known data points.
Copyright © Cengage Learning. All rights reserved. Polynomials 4.
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
Chapter VI Parametric Curves and Surfaces
June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.
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.
CHAPTER 3 NUMERICAL METHODS
Artistic Surface Rendering Using Layout Of Text Tatiana Surazhsky Gershon Elber Technion, Israel Institute of Technology.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
Basic Theory (for curve 02). 1.3 Parametric Curves  The main aim of computer graphics is to display an arbitrary surface so that it looks real.  The.
Solving Equations Binomials Simplifying Polynomials
Ch 2.1: Linear Equations; Method of Integrating Factors A linear first order ODE has the general form where f is linear in y. Examples include equations.
CS 450: Computer Graphics PARAMETRIC SPLINES AND SURFACES
Copyright © Cengage Learning. All rights reserved. 16 Vector Calculus.
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
11.8 Power Series In this section, we will learn about: Power series and testing it for convergence or divergence. INFINITE SEQUENCES AND SERIES.
Object Modeling: Curves and Surfaces CEng 477 Introduction to Computer Graphics.
Introduction to Parametric Curve and Surface Modeling.
Construction Engineering 221 Probability and statistics Normal Distribution.
LESSON 2–2 Polynomial Functions.
Computer Graphics Lecture 38
(Spline, Bezier, B-Spline)
Chapter 10-2: Curves.
Modeling Our World 9 Linear Modeling.
Derivatives AP Physics C.
© University of Wisconsin, CS559 Spring 2004
The Bernstein Basis and Bezier Curves
Three-Dimensional Object Representation
Introduction to Parametric Curve and Surface Modeling
Splash Screen.
Objectives Graphing Basic Polynomial Functions
Type to enter a caption. Computer Graphics Week 10 Lecture 2.
Presentation transcript:

AN INTRODUCTION BEZIER CURVES

AN INTRODUCTION BEZIER CURVES Bezier was an engineer with the Renault car company and set out in the early 1960's to develop a curve formulation which would lend itself to shape design. It is helpful to think of Bezier curves in terms of the centre of mass of a set of point masses.

For example, consider the four masses m 0, m 1, m 2, and m 3 located at points P 0, P 1, P 2, P 3. The centre of mass of these four point masses is given by the equation:

Next, imagine that instead of being fixed, constant values, each mass varies as a function of some parameter t. In specific: let m 0 = (1 -t) 3, m1 = 3t(1 - t) 2, m 2 = 3t 2 (1 - t) and m 3 = t 3. The values of these masses as a function of t is shown in this graph: Cubic Bezier blending functions

For each value of t, the masses assume different weights and their centre of mass changes continuously. In fact, as t varies between 0 and 1, a curve is swept out by the centre of masses. This curve is a cubic Bezier curve { cubic because the mass equations are cubic polynomials in t. Cubic Bezier blending functions

This curve is a cubic Bezier curve { cubic because the mass equations are cubic polynomials in t. Cubic Bezier curve

for any value of t, m 0 + m 1 + m 2 + m 3 = 1, we can simply write the equation of this Bezier curve as P = m 0 P 0 + m 1 P 1 + m 2 P 2 + m 3 P 3. Recall : m 0 = (1 -t) 3, m1 = 3t(1 - t) 2, m 2 = 3t 2 (1 - t) and m 3 = t 3. Note that when t = 0, m 0 = 1 and m 1 = m 2 = m 3 = 0. This forces the curve to pass through P 0. when t = 1, m 3 = 1 and m 0 = m 1 = m 2 = 0, thus the curve also passes through point P 3. Furthermore, the curve is tangent to P 0 – P 1 and P 3 - P 2. These properties make Bezier curves an intuitively meaningful means for describing free-form shapes.

Here are some other examples of cubic Bezier curves which illustrate these properties. These variable masses m i are normally called blending functions and their locations P i are known as control points or Bezier points. If we draw straight lines between adjacent control points, as in a dot to dot puzzle, the resulting figure is known as a control polygon. The blending functions, in the case of Bezier curves, are known as Bernstein polynomials. Examples of cubic Bezier curves

Bezier curves of various degree A degree n Bezier curve has n + 1 control points whose blending functions are denoted B i n (t), where

is called a binomial coefficient, sometimes spoken “n - choose – I”, and is equal to = In the previous example: n = 3 and m 0 = B 3 0 = (1 - t) 3, m 1 = B 3 1 = 3t(1 - t) 2, m 2 = B 3 2 = 3t 2 (1 - t) and m 3 = B 3 3 = t 3. B n i (t) is also referred to as the ith Bernstein polynomial of degree n. The equation of a Bezier curve is thus:

A common use for Bezier curves is in font dentition. All PostScript font outlines are defined using cubic and linear Bezier curves. The outline a letter “g” created using Bezier curves.