Parametric Line equations

Slides:



Advertisements
Similar presentations
SI23 Introduction to Computer Graphics
Advertisements

Computer Graphics (Spring 2008) COMS 4160, Lecture 6: Curves 1
2002 by Jim X. Chen: Bezier Curve Bezier Curve.
COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 8, 2014 SPLINES CUBIC CURVES HERMITE CURVES BÉZIER CURVES B-SPLINES BICUBIC SURFACES SUBDIVISION SURFACES.
Lecture 10 Curves and Surfaces I
ICS 415 Computer Graphics Bézier Splines (Chapter 8)
1 Dr. Scott Schaefer Bezier Triangles and Multi-Sided Patches.
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.
Jehee Lee Seoul National University
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.
CS CS 175 – Week 8 Bézier Curves Definition, Algorithms.
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.
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.
Computer Graphics 12: Spline Representations
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.
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.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
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.
1 Dr. Scott Schaefer Smooth Curves. 2/109 Smooth Curves Interpolation  Interpolation through Linear Algebra  Lagrange interpolation Bezier curves B-spline.
Review of Interpolation. A method of constructing a function that crosses through a discrete set of known data points.
Vector Computer Graphic. Vector entities Line Circle, Ellipse, arc,… Curves: Spline, Bezier’s curve, … … Areas Solids Models.
Bézier Algorithms & Properties Glenn G. Chappell U. of Alaska Fairbanks CS 481/681 Lecture Notes Wednesday, March 3, 2004.
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.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Representation of Curves & Surfaces Prof. Lizhuang Ma Shanghai Jiao Tong University.
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.
Solving Equations Binomials Simplifying Polynomials
Slide 129 October 1999CS Computer Graphics (Top Changwatchai) Bézier Curves - Results of Derivation Tangents at endpoints are equal to endpoint slopes.
CAP 4703 Computer Graphic Methods Prof. Roy Levow Chapter 10.
1 Graphics CSCI 343, Fall 2015 Lecture 34 Curves and Surfaces III.
CS 450: Computer Graphics PARAMETRIC SPLINES AND SURFACES
Splines Sang Il Park Sejong University. Particle Motion A curve in 3-dimensional space World coordinates.
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.
Lecture 24: Surface Representation
COMPUTER GRAPHICS CHAPTERS CS 482 – Fall 2017 SPLINES
APPROXIMATION SPLINE Does not necessarily pass through all control points General representation is P(u) = Σ Fi(n,u) Pi where- Fi is the blending function.
Surfaces and Curves.
Curve & Surface.
(Spline, Bezier, B-Spline)
Curves and Surfaces.
Chapter 10-2: Curves.
Bezier Triangles and Multi-Sided Patches
Smooth Surfaces Dr. Scott Schaefer.
© University of Wisconsin, CS559 Fall 2004
Rendering Curves and Surfaces
© University of Wisconsin, CS559 Spring 2004
Curves and Surfaces.
The Bernstein Basis and Bezier Curves
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.
UNIT-5 Curves and Surfaces.
Introduction to Parametric Curve and Surface Modeling
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:

Parametric Line equations (x2,y2) For a line from (x1,y1) to (x2,y2) x = x1 + (x2 – x1)*u = x1(1-u) + x2u y = y1(1-u) + y2u Where 0 ≤ u ≤1 (x1,y1) CS-321 Dr. Mark L. Hornick

Vector form of Parametric equation p2 =(x2,y2) x = x1(1-u) + x2u y = y1(1-u) + y2u Or P(u) = p1(1-u) + p2u Where P = {x y} p1 =(x1,y1) CS-321 Dr. Mark L. Hornick

A Bézier Curve (of order 2) CS-321 1/15/2019 A Bézier Curve (of order 2) P1 P0 P2 CS-321 Dr. Mark L. Hornick Dr. Mark L. Hornick

Bézier Curves (or Bezier Splines) CS-321 1/15/2019 Bézier Curves (or Bezier Splines) Most common curves in C.G. Uses control points p1, p2, … Determine boundaries of curve shape Curve does not pass through them Except at beginning and end Bezier Polynomial function Degree = # control points – 1 Continuity through all derivatives CS-321 Dr. Mark L. Hornick Dr. Mark L. Hornick

General form of Bézier Curve CS-321 1/15/2019 General form of Bézier Curve n+1 control points: 0..n; u = 0 at p0, u=1 at pn Bernstein Polynomials exhibit the property that, for any value of u: CS-321 Dr. Mark L. Hornick Dr. Mark L. Hornick

Binomial Coefficients CS-321 1/15/2019 Binomial Coefficients k n 0 1 2 3 4 5 1 1 1 2 1 2 1 3 1 3 3 1 4 1 4 6 4 1 5 1 5 10 10 5 1 CS-321 Dr. Mark L. Hornick Dr. Mark L. Hornick

Bézier Curve: n = 1 P1 P0 CS-321 1/15/2019 Dr. Mark L. Hornick

Bézier Curve: n = 2 P1 P0 P2 CS-321 1/15/2019 Dr. Mark L. Hornick

Bernstein Polynomial: n = 2 CS-321 1/15/2019 Bernstein Polynomial: n = 2 CS-321 Dr. Mark L. Hornick Dr. Mark L. Hornick

Bernstein Polynomial: n = 3 CS-321 1/15/2019 Bernstein Polynomial: n = 3 0.2 0.4 0.6 0.8 1 0.5 1.5 u P0 P1 P2 P3 CS-321 Dr. Mark L. Hornick Dr. Mark L. Hornick

Bézier Summary Curve shape Smooth curve CS-321 1/15/2019 Bézier Summary Curve shape Influenced by all control points Change one point – whole curve changes shape Influence increased near each point Contained in convex hull of control points Smooth curve Polynomial degree = #points – 1 Parametric continuity through all derivatives Does not pass through all points CS-321 Dr. Mark L. Hornick Dr. Mark L. Hornick

Curved Lines and Surfaces CS-321 1/15/2019 Curved Lines and Surfaces Problem: How to model arbitrarily curved surfaces Boundary representation approaches approximate with linear/polygon mesh …or with curved surface patches CS-321 Dr. Mark L. Hornick Dr. Mark L. Hornick

Spline Surface Two sets of orthogonal spline curves CS-321 1/15/2019 CS-321 Dr. Mark L. Hornick Dr. Mark L. Hornick