1 / 11

Computer Graphics (Fall 2003)

Computer Graphics (Fall 2003). COMS 4160, Lecture 10: Curves 1 Ravi Ramamoorthi. http://www.cs.columbia.edu/~cs4160. Curves: Motivation. Key for modeling in computer graphics Interpolation of data Surfaces are (simple) extension Modeling of shape. History.

audi
Download Presentation

Computer Graphics (Fall 2003)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Graphics (Fall 2003) COMS 4160, Lecture 10: Curves 1 Ravi Ramamoorthi http://www.cs.columbia.edu/~cs4160

  2. Curves: Motivation • Key for modeling in computer graphics • Interpolation of data • Surfaces are (simple) extension • Modeling of shape

  3. History Approximating/Interpolating set of points • From auto manufacturing (Pierre Bezier: Renault) “In France, at that time, very little was known about the work performed in the American aircraft industry; the papers from James Ferguson were not much displayed before 1964; Citroen was very secretive about the results obtained by Paul de Casteljau, and the famous technical report MAC-TR-41 (by S.A. Coons) did not appear before 1967; The works of W. Gordon and R. Risenfeld were printed in 1974.” “When it was suggested that these curves could replace sweeps and french curves, most stylists objected that they had invented their own templates and would not change. It was solemnly promised that their “secret” curves would be translated in secret listings, and buried in the most secret part of the memory of the computer, and that nobody but they would keep the key of the vaulted cellar. In fact, the standard curves were flexible enough, and secret curves were soon forgotten. Designers and draftsmen easily understood the polygons and their relation with the shape of the corresponding curves.” • General field of approximation theory • Much research in CAD, CAGD, graphics etc. • Splines: thin wood or metal strip used in construction

  4. History Approximating/Interpolating set of points • From auto manufacturing (Pierre Bezier) • General field of approximation theory • Much research in CAD, CAGD, graphics etc. • Splines: thin wood or metal strip used in construction

  5. Outline • Issues in representation • Bezier • De Casteljau algorithm • Polar forms (next time) • B-Spline cubics (next time)

  6. Representation Issues • Parametric/Implicit? [We use polynomials] • Order/Degree vs continuity (number of pieces?) • We use low order polynomials (usually cubic) • Interpolating vs approximating • Level of continuity • Convex Hull • Number of parameters • Invariance (Euclidean, affine, reparam,…) • Local control • Variational optimality

  7. Bezier curves • Interpolates end control points • Tangents at end points P0, P3 are P0P1, P2P3 • Degree = Order (# control points) – 1 • Outline • deCasteljau algorithm (linear, quadratic, cubic) • Explicit forms: Bernstein Bezier Basis • Interpretation as linear combination of basis functions • 4x4 matrix for cubics • Polar Forms

  8. P1 P1 P2 P1 P2 P0 P0 P3 P0 Cubic Degree 3, Order 4 F(0) = P0, F(1) = P3 Linear Degree 1, Order 2 F(0) = P0, F(1) = P1 Quadratic Degree 2, Order 3 F(0) = P0, F(1) = P2 P0 P1 P2 P0 P1 P2 P3 P0 P1 1-u u 1-u u u 1-u 1-u u 1-u u 1-u u 1-u u 1-u u 1-u u F(u) = (1-u) P0 + u P1 F(u) = (1-u)2 P0 + 2u(1-u) P1 + u2 P2 u 1-u F(u) = (1-u)3 P0 +3u(1-u)2 P1 +3u2(1-u) P2 + u3 P3 deCasteljau Algorithm

  9. u u u u u u Geometrically

  10. Splines: Many Forms • Algorithmic: deCasteljau • Explicit formulae • Linear Combination of Basis Functions • Bernstein-Bezier Polynomials • Coefficients in [(1-u) + u]n • Matrix Form • 4x4 matrix for cubics • General for most splines • Bezier Formula eq [FvDFH 489]

  11. Bezier curves: Properties • Parametric/Implicit? [Parametric] • Order/Degree vs continuity (1 piece) • Interpolating endpoints, approximates others • Level of continuity (intrinsic C0, achievable C1) • Convex Hull • Number of parameters (4 for cubics) • Invariance (Good) • No Local control • Variational optimality • Ease of subdivision is best …

More Related