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.

Slides:



Advertisements
Similar presentations
Lecture Notes #11 Curves and Surfaces II
Advertisements

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)
Dr. S.M. Malaek Assistant: M. Younesi
08/30/00 Dinesh Manocha, COMP258 Hermite Curves A mathematical representation as a link between the algebraic & geometric form Defined by specifying the.
EARS1160 – Numerical Methods notes by G. Houseman
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
Computer Graphics - Class 14
Curves Locus of a point moving with one degree of freedom
Designing Parametric Cubic Curves Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Geometric Modeling Surfaces Mortenson Chapter 6 and Angel Chapter 9.
Curves Mortenson Chapter 2-5 and Angel Chapter 9
Modelling: Curves Week 11, Wed Mar 23
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
RASTER CONVERSION ALGORITHMS FOR CURVES: 2D SPLINES 2D Splines - Bézier curves - Spline curves.
Curves and Surfaces CS4395: Computer Graphics 1 Mohan Sridharan Based on slides created by Edward Angel.
Chapter 10: Curves and Surfaces Part 1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Chapter 16 – Vector Calculus
Multiple Integrals 12. Surface Area Surface Area In this section we apply double integrals to the problem of computing the area of a surface.
Designing Parametric Cubic Curves
Curve Surfaces June 4, Examples of Curve Surfaces Spheres The body of a car Almost everything in nature.
Computer Graphics Lecture 13 Curves and Surfaces I.
Curve Modeling Bézier Curves
Bresenham’s Algorithm. Line Drawing Reference: Edward Angel’s book: –6 th Ed. Sections 6.8 and 6.9 Assuming: –Clipped (to fall within the window) –2D.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
0.1 Functions and Their Graphs. Real Numbers A set is a collection of objects. The real numbers represent the set of numbers that can be represented as.
11/19/02 (c) 2002, University of Wisconsin, CS 559 Last Time Many, many modeling techniques –Polygon meshes –Parametric instancing –Hierarchical modeling.
Interactive Graphics Lecture 9: Slide 1 Interactive Graphics Lecture 9: Introduction to Spline Curves.
V. Space Curves Types of curves Explicit Implicit Parametric.
Spline Representations
Curves.
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
Curves and Surfaces Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico 1 Angel: Interactive.
Curves. First of all… You may ask yourselves “What did those papers have to do with computer graphics?” –Valid question Answer: I thought they were cool,
Curves and Surfaces Chapter 10. CS 480/680 2Chapter 9 -- Hierarchical Models Introduction: Introduction: Until now we have worked with flat entities such.
Ship Computer Aided Design MR 422. Geometry of Curves 1.Introduction 2.Mathematical Curve Definitions 3.Analytic Properties of Curves 4.Fairness of Curves.
L15 – Spatial Interpolation – Part 1 Chapter 12. INTERPOLATION Procedure to predict values of attributes at unsampled points Why? Can’t measure all locations:
Interactive Graphics Lecture 10: Slide 1 Interactive Computer Graphics Lecture 10 Introduction to Surface Construction.
11/6/ :55 Graphics II Introduction to Parametric Curves and Surfaces Session 2.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Parametric Curves & Surfaces Greg Humphreys University of Virginia CS 445, Spring.
Splines I – Curves and Properties based on: Michael Gleicher Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
CSCE 441: Keyframe Animation/Smooth Curves (Cont.) Jinxiang Chai.
CAP 4703 Computer Graphic Methods Prof. Roy Levow Chapter 10.
Designing Parametric Cubic Curves 1. 2 Objectives Introduce types of curves ­Interpolating ­Hermite ­Bezier ­B-spline Analyze their performance.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 Graphics CSCI 343, Fall 2015 Lecture 34 Curves and Surfaces III.
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 Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
Introduction to Parametric Curve and Surface Modeling.
CS5500 Computer Graphics May 11, 2006
Curve & Surface.
Chapter 10-2: Curves.
Computer Graphics Lecture 37
University of New Mexico
University of New Mexico
Designing Parametric Cubic Curves
© University of Wisconsin, CS559 Spring 2004
Curves and Surfaces Ed Angel
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.
Parametric Line equations
CSCE 441: Keyframe Animation/Smooth Curves (Cont.)
Introduction to Computer Graphics with WebGL
Introduction to Parametric Curve and Surface Modeling
Curves and Surfaces (I)
Designing Parametric Cubic Curves
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.
Presentation transcript:

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 in terms of an independent variable, u: the parameter.

Curves - They can be developed for a wide variety of curves. - Are highly recommended when one wants to draw or analyze the curve

Curves - Parametric curves allow multiple values, so that curves can double back or even cross themselves.

Curves - A point on a curve is represented as a vector: p(u) = [x(u) y(u) z(u)] drawn as u varies.

Curves - One of the advantages of the parametric forms is that it is the same in 2 and 3 dimensions. - In 2 dimensions we just drop the equation for z. - The parametric form treats all 3 directions equally.

Curves - In 3 dimensions, we have 3 explicit functions. o x = x(u) o y = y(u) o z = z(u)

Curves - Parametric representations of curves are easy to join together. - This is good because usually you need more than one curve to create the shape you are trying to model.

Surfaces - Parametric surfaces require 2 parameters, which can be described as three equations of the form: o x = x(u, v) o y = y(u, v) o z = z(u, v)

Surfaces - Also, p(u, v) = [x(u, v) y(u, v) z(u, v)] represents a point on a surface.

Surfaces - As u and v take on values in specified range (0 to 1), the functions x, y, z trace out the location of the curve or surface. -The parametric form of curves and surfaces is the most flexible and robust for computer graphics.

Design Criteria - The way curves and surfaces are used in computer graphics and CAD is often different from the way they are used in other fields. - There are many considerations that determine why we use parametric polynomials of low degree, including: - Local control of shape - Smoothness and continuity - Ability to evaluate derivatives - Stability - Ease of rendering

Interpolation - How can we express a curve which has no simple mathematical definition? - We can draw an approximation to such a curve if we have an array of sample points.

Interpolation - Then we can guess what the curve should look like between the sample points.

Interpolation - If the curve is smooth and the samples are close enough together, we can make a pretty good guess as to what the missing portions should look like. - The guesses will probably not be exactly right, but it will be close enough for appearances.

Interpolation - Fill in the portions of the unknown curve with pieces of known curves which pass through the nearby sample points. -Then fit a portion of the unknown curve with a curve that we know.

Interpolation - Now fill in the gap between the sample points by finding the coordinates of points along the known curve.

Interpolation -These points then get connected with line segments.