Computer Graphics 12: Spline Representations

Slides:



Advertisements
Similar presentations
SI23 Introduction to Computer Graphics
Advertisements

Bézier Curves: Integrating Math, Arts and Technology Jomar F. Rabajante UPLB.
Lecture Notes #11 Curves and Surfaces II
Computer Graphics (Spring 2008) COMS 4160, Lecture 6: Curves 1
Parametric Curves Ref: 1, 2.
March 1, 2009Dr. Muhammed Al-Mulhem1 ICS 415 Computer Graphics Hermite Splines Dr. Muhammed Al-Mulhem March 1, 2009 Dr. Muhammed Al-Mulhem March 1, 2009.
Lecture 10 Curves and Surfaces I
ICS 415 Computer Graphics Bézier Splines (Chapter 8)
Overview June 9- B-Spline Curves June 16- NURBS Curves June 30- B-Spline Surfaces.
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.
1 Introduction Curve Modelling Jack van Wijk TU Eindhoven.
Dr. S.M. Malaek Assistant: M. Younesi
Slide 127 October 1999CS Computer Graphics (Top Changwatchai) Review of Spline Concepts Sections 10-6 to in Hearn & Baker Splines can be 2D.
Lecture 29 of 42 Bezier Curves and Splines Wednesday, 02 April 2008
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.
Splines II – Interpolating Curves
Curves Chiew-Lan Tai.
Curves Chiew-Lan Tai. Curves 2 Reading Required Hearn & Baker, 8-8 – 8-10, 8-12 Foley, 11.2.
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.
Drawing Parametric Curves Jean-Paul Mueller. Curves - The parametric form of a curve expresses the value of each spatial variable for points on the curve.
Bezier and Spline Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
RASTER CONVERSION ALGORITHMS FOR CURVES: 2D SPLINES 2D Splines - Bézier curves - Spline curves.
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
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.
V. Space Curves Types of curves Explicit Implicit Parametric.
Introduction to Computer Graphics with WebGL
Spline Representations
Vector Computer Graphic. Vector entities Line Circle, Ellipse, arc,… Curves: Spline, Bezier’s curve, … … Areas Solids Models.
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.
June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.
CO Games Development 1 Week 12 Interpolation, Path Smoothing & Splines
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Graphics Graphics Korea University cgvr.korea.ac.kr Parametric Curves 고려대학교 컴퓨터 그래픽스 연구실.
Keyframing and Splines Jehee Lee Seoul National University.
In the name of God Computer Graphics Bastanfard. Curve Function(2) Other method is approximate it using a poly-line. Just locate a set of points along.
Rendering Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico 1 Angel:
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Parametric Curves & Surfaces Greg Humphreys University of Virginia CS 445, Spring.
Computer Graphics (Fall 2003) COMS 4160, Lecture 10: Curves 1 Ravi Ramamoorthi
Slide 129 October 1999CS Computer Graphics (Top Changwatchai) Bézier Curves - Results of Derivation Tangents at endpoints are equal to endpoint slopes.
CS 450: Computer Graphics PARAMETRIC SPLINES AND SURFACES
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 12: Curves 1
CS552: Computer Graphics Lecture 19: Bezier Curves.
Piecewise Polynomial Parametric Curves Sun-Jeong Kim.
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.
COMPUTER GRAPHICS CHAPTERS CS 482 – Fall 2017 SPLINES
Surfaces and Curves.
CS5500 Computer Graphics May 11, 2006
Chapter 10-2: Curves.
CSE 167 [Win 17], Lecture 9: Curves 1 Ravi Ramamoorthi
CS 430/536 Computer Graphics I Intro to Curves Week 4, Lecture 7
Rendering Curves and Surfaces
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.
Curve design 455.
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.
Type to enter a caption. Computer Graphics Week 10 Lecture 2.
Overview June 9- B-Spline Curves June 16- NURBS Curves
Presentation transcript:

Computer Graphics 12: Spline Representations

Contents Today we are going to look at Bézier spline curves Introduction to splines Bézier origins Bézier curves Bézier cubic splines

Spline Representations A spline is a smooth curve defined mathematically using a set of constraints Splines have many uses: 2D illustration Fonts 3D Modelling Animation “Manifold Splines”, X. Gu, Y. He & H. Qin, Solid and Physics Modeling 2005. ACM © 1987 “Principles of traditional animation applied to 3D computer animation”

Physical Splines Physical splines are used in car/boat design Pierre Bézier

Big Idea User specifies control points Defines a smooth curve Curve

Interpolation Vs Approximation A spline curve is specified using a set of control points There are two ways to fit a curve to these points: Interpolation - the curve passes through all of the control points Approximation - the curve does not pass through all of the control points Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004)

Convex Hulls The boundary formed by the set of control points for a spline is known as a convex hull Think of an elastic band stretched around the control points Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004)

Control Graphs A polyline connecting the control points in order is known as a control graph Usually displayed to help designers keep track of their splines Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004)

Bézier Spline Curves A spline approximation method developed by the French engineer Pierre Bézier for use in the design of Renault car bodies A Bézier curve can be fitted to any number of control points – although usually 4 are used

Bézier Spline Curves (cont…) Consider the case of n+1 control points denoted as pk=(xk, yk, zk) where k varies from 0 to n The coordinate positions are blended to produce the position vector P(u) which describes the path of the Bézier polynomial function between p0 and pn

Bézier Spline Curves (cont…) The Bézier blending functions BEZk,n(u) are the Bernstein polynomials where parameters C(n,k) are the binomial coefficients

Bézier Spline Curves (cont…) So, the individual curve coordinates can be given as follows

Bézier Spline Curves (cont…) Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004)

Important Properties Of Bézier Curves The first and last control points are the first and last point on the curve P(0) = p0 P(1) = pn The curve lies within the convex hull as the Bézier blending functions are all positive and sum to 1

Cubic Bézier Curve Many graphics packages restrict Bézier curves to have only 4 control points (i.e. n = 3) The blending functions when n = 3 are simplified as follows:

Cubic Bézier Blending Functions

Bézier Spline Curve Exercise y (3, 7) (11, 5) (1, 4) (7, 1) x

Summary Today we had a look at spline curves and in particular Bézier curves The whole point is that the spline functions give us an approximation to a smooth curve