0% found this document useful (0 votes)
79 views16 pages

Pertemuan 8 Bezier

This document discusses Bézier curves, which are parametric curves important in computer graphics. Bézier curves were developed in 1959 by Paul de Casteljau and were widely used in 1962 by Pierre Bézier for automobile design. The document defines linear, quadratic, and cubic Bézier curves parametrically and explains how to construct them by interpolating intermediate control points. Higher-order Bézier curves are generalizations of this process. The document also provides examples of implementing Bézier curves in computer graphics and sets homework to develop a freeform shape Bézier program.

Uploaded by

ali_chaem
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views16 pages

Pertemuan 8 Bezier

This document discusses Bézier curves, which are parametric curves important in computer graphics. Bézier curves were developed in 1959 by Paul de Casteljau and were widely used in 1962 by Pierre Bézier for automobile design. The document defines linear, quadratic, and cubic Bézier curves parametrically and explains how to construct them by interpolating intermediate control points. Higher-order Bézier curves are generalizations of this process. The document also provides examples of implementing Bézier curves in computer graphics and sets homework to develop a freeform shape Bézier program.

Uploaded by

ali_chaem
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 16

Kurva Bezier

Meeting 08th
Informatics /Computer sience
Brawijaya University
Preface
 In the mathematical field
of numerical analysis, a
Bézier curve is a
parametric curve
important in computer
graphics and related fields.
 Generalizations of Bézier
curves to higher
dimensions are called
Bézier surfaces, of which
the Bézier triangle is a
special case.
Preface
 Bézier curves were widely publicized in 1962
by the French engineer Pierre Bézier, who used
them to design automobile bodies.
 The curves were first developed in 1959 by
Paul de Casteljau using de Casteljau's
algorithm, a numerically stable method to
evaluate Bézier curves.
Linear Bézier curves
 Given points P0 and P1, a linear Bézier curve is
simply a straight line between those two points.
The curve is given by
Quadratic Bézier curves
 A quadratic Bézier curve is the path traced by
the function B(t), given points P0, P1, and P2,

 A quadratic Bézier curve is also a parabolic


segment.
 TrueType fonts use Bézier splines composed of
quadratic Bézier curves.
Cubic Bézier curves
 Four points P0, P1, P2 and P3 in the plane or in three-
dimensional space define a cubic Bézier curve. The
curve starts at P0 going toward P1 and arrives at P3
coming from the direction of P2. Usually, it will not
pass through P1 or P2; these points are only there to
provide directional information. The distance between
P0 and P1 determines "how long" the curve moves into
direction P2 before turning towards P3.
 The parametric form of the curve is:
Generalization
 The Bézier curve of degree n can be generalized as follows.
Given points P0, P1,..., Pn, the Bézier curve is

 For example, for n = 5:


Generalization…cont..
 This formula can be expressed recursively as
follows:
 denote the Bézier curve determined
by the points P0, P1,..., Pn. Then

 words, the degree n Bézier curve is a linear


interpolation between two degree n − 1 Bézier
curves.
Terminology
 Some terminology is associated with these
parametric curves. We have

 where the polynomials


Constructing Bézier curves
 Linear curves

Animation of a linear Bézier curve, t in [0,1]

• The t in the function for a linear Bézier curve can be thought of as


describing how far B(t) is from P0 to P1. For example when t=0.25,
B(t) is one quarter of the way from point P0 to P1. As t varies from 0
to 1, B(t) describes a curved line from P0 to P1.
Quadratic curves
 For quadratic Bézier curves one can construct
intermediate points Q0 and Q1 such that as t varies from
0 to 1:
• Point Q0 varies from P0 to P1 and describes a linear Bézier
curve.
• Point Q1 varies from P1 to P2 and describes a linear Bézier
curve.
• Point B(t) varies from Q0 to Q1 and describes a quadratic Bézier
curve.

Construction of a quadratic Bézier curve Animation of a quadratic Bézier


curve, t in [0,1]
Higher-order curves
 For higher-order curves one needs correspondingly more
intermediate points. For cubic curves one can construct
intermediate points Q0, Q1 & Q2 that describe linear Bézier
curves, and points R0 & R1 that describe quadratic Bézier
curves:

Construction of a cubic Bézier curve Animation of a cubic Bézier curve, t in [0,1]


Higher-order curves…cont..
 For fourth-order curves one can construct intermediate
points Q0, Q1, Q2 & Q3 that describe linear Bézier curves,
points R0, R1 & R2 that describe quadratic Bézier curves,
and points S0 & S1 that describe cubic Bézier curves:

Construction of a cubic Bézier curve Animation of a cubic Bézier curve, t in [0,1]


Implementation
 Random Bezier Using GDI

 Bezier Generation in Edhi Nugroho’s Book

 Bezier sulaco
Thank you ….
Homework
 Develop a free shape bezier program
 Group consists of 2 persons
 2 weeks

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy