June 20101 3D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.

Slides:



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

Parametric Curves Ref: 1, 2.
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.
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)
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
CS 445 / 645 Introduction to Computer Graphics Lecture 22 Hermite Splines Lecture 22 Hermite Splines.
Dr. S.M. Malaek Assistant: M. Younesi
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
Slide 127 October 1999CS Computer Graphics (Top Changwatchai) Review of Spline Concepts Sections 10-6 to in Hearn & Baker Splines can be 2D.
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.
Curves Chiew-Lan Tai. Curves 2 Reading Required Hearn & Baker, 8-8 – 8-10, 8-12 Foley, 11.2.
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves Jinxiang Chai.
1 Lecture 13 Modeling Curved Lines and Surfaces. 2 Types of Surfaces Ruled Surfaces B-Splines and Bezier Curves Surfaces of Revolution.
Designing Parametric Cubic Curves Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
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
Modelling: Curves Week 11, Wed Mar 23
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.
Designing Parametric Cubic 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.
CS 376 Introduction to Computer Graphics 04 / 23 / 2007 Instructor: Michael Eckmann.
(Spline, Bezier, B-Spline)
V. Space Curves Types of curves Explicit Implicit Parametric.
Spline Representations
Review of Interpolation. A method of constructing a function that crosses through a discrete set of known data points.
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.
CO Games Development 1 Week 12 Interpolation, Path Smoothing & Splines
CS559: Computer Graphics Lecture 19: Curves Li Zhang Spring 2008.
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves Jinxiang Chai.
CS 376 Introduction to Computer Graphics 04 / 25 / 2007 Instructor: Michael Eckmann.
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves Jinxiang Chai.
L5 – Curves in GIS NGEN06 & TEK230: Algorithms in Geographical Information Systems by: Sadegh Jamali (source: Lecture notes in GIS, Lars Harrie) 1 L5-
Curves: ch 4 of McConnell General problem with constructing curves: how to create curves that are “smooth” CAD problem Curves could be composed of segments.
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.
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.
Splines Sang Il Park Sejong University. Particle Motion A curve in 3-dimensional space World coordinates.
Curves University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013 Tamara Munzner.
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.
CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009.
COMPUTER GRAPHICS CHAPTERS CS 482 – Fall 2017 SPLINES
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves
Constructing Objects in Computer Graphics
(Spline, Bezier, B-Spline)
Chapter 10-2: Curves.
CSCE 441 Computer Graphics: Keyframe Animation/Smooth Curves
Designing Parametric Cubic 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.
Parametric Line equations
UNIT-5 Curves and Surfaces.
Three-Dimensional Object Representation
Introduction to Parametric Curve and Surface Modeling
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.
Type to enter a caption. Computer Graphics Week 10 Lecture 2.
Overview June 9- B-Spline Curves June 16- NURBS Curves
Presentation transcript:

June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering

June Spline Representation Spline is a flexible strip used to produce a smooth curve through a set of points. Splines are used to design curve and surface shapes like automobile bodies, aircrafts, home appliances and more.

June At each of n-1 internal point we require that two successive curve sections pass through that point and also the equality of their 1 st and 2 nd derivatives, thus imposing 4(n-1) equations of 4n polynomial coefficients. Two more equations are obtained from passing through the first and last points. The last two equations can be obtained by requiring the 2nd derivative at first and last points to be zero. A major drawback is that a change in the position of one control point needs recalculation of all coefficients. This is solved by specifying the tangent at each control point. Then, a change in position of one point affects only two sections of the curve. This is called Hermite interpolation.

June 20104

5

6 Other Splines The requirements of curve derivative values control point may be a problem. Instead, the derivatives can naturally be defined based on the control points. In Cardinal splines a curve section is completely defined by the position of four consecutive points.

June t < 0: looser curve t > 0: tighter curve Cardinal matrix and blending functions are derived similarly as in Hermite splines. Setting s=(1-t)/2

June 20108

9 There are few more splines with more parameters than tension, designed to model animation paths with abrupt changes in motion.

June Bezier Spline Curves Developed by Pierre Bezier at Renault corporation for the design of automobile bodies. Bezier splines are very useful for design of curves and surfaces. Bezier curve is a polynomial of degree one less the number of control points. Coefficients and blending functions satisfy recursive relations as follows:

June

June Properties of Bezier Curves

June Cubic Bezier Curves Bezier curves with many points are expensive to compute due to high degree of polynomials. It is common to “patch” curves of four points and construct it from piecewise cubic curves. The following illustrates the four blending functions and how they relate to various curves.

June

June Complex curves can be constructed by patching cubic Bezier splines. Given two control points, in order to obtain C 1 continuity of the patch a new point is introduced and its position is defined by equation the expression of first derivative for u=1 with the next one for u=0. If C 2 continuity is desired, a second point is introduces and the expressions of the second derivatives are also equated.

June Displaying Spline Curves and Surfaces We must determine positions of points on curves and surfaces for displaying those. Parametric polynomial splines must be calculated by steps increments over range of parameter, e.g. [0,1]. This is very time consuming and efficient computations methods are in order. A method called Forward-Difference is very efficient and requires mostly additions.

June

June