Free-Form Deformation (FFD)

Similar documents
Rational Bezier Surface

Linear Precision for Parametric Patches

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations

MA 323 Geometric Modelling Course Notes: Day 28 Data Fitting to Surfaces

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

Free-Form Deformation and Other Deformation Techniques

The Essentials of CAGD

Rational Bezier Curves

Need for Parametric Equations

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Computergrafik. Matthias Zwicker. Herbst 2010

ECE 600, Dr. Farag, Summer 09

Curve and Surface Basics

CS 4620 Final Exam. (a) Is a circle C 0 continuous?

DC2 File Format. 1. Header line 2. Entity line 3. Point line 4. String line

Kai Hormann, N. Sukumar. Generalized Barycentric Coordinates in Computer Graphics and Computational Mechanics

A MATRIX FORMULATION OF THE CUBIC BÉZIER CURVE

Curves and Surfaces. Shireen Elhabian and Aly A. Farag University of Louisville

Computer Graphics Splines and Curves

Intro to Modeling Modeling in 3D

A Practical Review of Uniform B-Splines

Surface Modeling. Polygon Tables. Types: Generating models: Polygon Surfaces. Polygon surfaces Curved surfaces Volumes. Interactive Procedural

Spline Notes. Marc Olano University of Maryland, Baltimore County. February 20, 2004

CAGD PACKAGE FOR MATHEMATICA AND ITS USAGE IN THE TEACHING

Know it. Control points. B Spline surfaces. Implicit surfaces

Section 9.3: Functions and their Graphs

Lecture 9: Introduction to Spline Curves

8 Project # 2: Bézier curves

Introduction to Computer Graphics

5.1 Introduction to the Graphs of Polynomials

Computer Graphics Curves and Surfaces. Matthias Teschner

Photoshop Introduction to The Shape Tool nigelbuckner This handout is an introduction to get you started using the Shape tool.

Advanced Graphics. Beziers, B-splines, and NURBS. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Information Coding / Computer Graphics, ISY, LiTH. Splines

This week. CENG 732 Computer Animation. Warping an Object. Warping an Object. 2D Grid Deformation. Warping an Object.

09 - Designing Surfaces. CSCI-GA Computer Graphics - Fall 16 - Daniele Panozzo

QUADRATIC AND CUBIC GRAPHS

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1

CS337 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics. Bin Sheng Representing Shape 9/20/16 1/15

CSE 554 Lecture 7: Deformation II

Surfaces for CAGD. FSP Tutorial. FSP-Seminar, Graz, November

Curves and Curved Surfaces. Adapted by FFL from CSE167: Computer Graphics Instructor: Ronen Barzel UCSD, Winter 2006

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

Discrete Coons patches

2/22/ Transformations but first 1.3 Recap. Section Objectives: Students will know how to analyze graphs of functions.

CSE 167: Introduction to Computer Graphics Lecture #11: Bezier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

Computer Graphics CS 543 Lecture 13a Curves, Tesselation/Geometry Shaders & Level of Detail

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Describing Shapes. Constructing Objects in Computer Graphics 1/15

Curves and Surfaces for Computer-Aided Geometric Design

CS3621 Midterm Solution (Fall 2005) 150 points

Reading. Parametric surfaces. Surfaces of revolution. Mathematical surface representations. Required:

UNIT 2 2D TRANSFORMATIONS

Images from 3D Creative Magazine. 3D Modelling Systems

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

Further Graphics. Bezier Curves and Surfaces. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

COMP3421. Global Lighting Part 2: Radiosity

4.3 Rational Thinking

Lecture IV Bézier Curves

2.4. A LIBRARY OF PARENT FUNCTIONS

An introduction to NURBS

Strategy to obtain initial configurations for free form reflectors design

Developing an Approach to Redesign Freeform Surfaces Using B-Spline Technique

PLAY VIDEO. Fences can be any shape from a simple rectangle to a multisided polygon, even a circle.

Introduction to the Mathematical Concepts of CATIA V5

Properties of Blending Functions

A new 8-node quadrilateral spline finite element

tp Software User s Guide, version List of Contents Tensor Product Spline Spaces

4. Interpolation-Based Animation

The Free-form Surface Modelling System

Graphing Techniques. Domain (, ) Range (, ) Squaring Function f(x) = x 2 Domain (, ) Range [, ) f( x) = x 2

Warping & Blending AP

Pythagorean - Hodograph Curves: Algebra and Geometry Inseparable

MET 107 Drawing Tool (Shapes) Notes Day 3

2D rendering takes a photo of the 2D scene with a virtual camera that selects an axis aligned rectangle from the scene. The photograph is placed into

2D Spline Curves. CS 4620 Lecture 13

Remark. Jacobs University Visualization and Computer Graphics Lab : ESM4A - Numerical Methods 331

Derivative. Bernstein polynomials: Jacobs University Visualization and Computer Graphics Lab : ESM4A - Numerical Methods 313

ENV Laboratory 2: Graphing

As-Rigid-As-Possible Shape Manipulation

Element Quality Metrics for Higher-Order Bernstein Bézier Elements

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

521493S Computer Graphics Exercise 1 (Chapters 1-3)

3D Modeling techniques

SEOUL NATIONAL UNIVERSITY

MA 323 Geometric Modelling Course Notes: Day 31 Blended and Ruled Surfaces Coons Patches

15.10 Curve Interpolation using Uniform Cubic B-Spline Curves. CS Dept, UK

Rectangular Coordinates in Space

Free-form deformation (FFD)

February 23 Math 2335 sec 51 Spring 2016

Fundamentals of Computer Graphics. Lecture 3 Parametric curve and surface. Yong-Jin Liu.

16.6. Parametric Surfaces. Parametric Surfaces. Parametric Surfaces. Vector Calculus. Parametric Surfaces and Their Areas

PS Geometric Modeling Homework Assignment Sheet I (Due 20-Oct-2017)

Module 1: Basics of Solids Modeling with SolidWorks

Curves D.A. Forsyth, with slides from John Hart

Curves. Computer Graphics CSE 167 Lecture 11

An Introduction to Bezier Curves, B-Splines, and Tensor Product Surfaces with History and Applications

Video of BALSA Scanline Poly Fill Algorithm Animator CS 460. Computer Graphics. Scanline Polygon Fill Algorithm

CSCI 4620/8626. Computer Graphics Clipping Algorithms (Chapter 8-5 )

Gardener s spline curve

INSTRUCTIONAL PLAN L( 3 ) T ( ) P ( ) Instruction Plan Details: DELHI COLLEGE OF TECHNOLOGY & MANAGEMENT(DCTM), PALWAL

Transcription:

Chapter 14 Free-Form Deformation (FFD) Free-form deformation (FFD) is a technique for manipulating any shape in a free-form manner. Pierre Bézier used this idea to manipulate large numbers of control points for Béziersurface patches [B 74, B 78], and the power of FFD as a modeling tool was more fully explored in [SP86b]. This chapter discusses the 2D case of FFD. Figure 14.1: FFD example Figure 14.2: FFD example 2D FFD is a map from R 2 R 2 ; that is, it defines a new position for every point in a given rectangular region. In Figure 14.1, the FFD is specified using the nine control points. The undeformed 149

150 scene appears at the left, and the right shows what happens the the grid and circle after the control points are moved. The grid helps to visualize how FFD works. FFD is a powerful modeling tool because anything drawn inside of the initial, undeformed rectangle will experience the distortion, such as the text in Figure 14.2. Denote by (X min, Y min ) and (X max, Y max ) the corners of a deformation region, and by m and n the degrees of the FFD function (there are m + 1 vertical columns and n + 1 horizontal rows of control points). FFD is a two-step process: 1. Compute the (s, t) coordinates for each point to be deformed. The s and t coordinates of a point in the deformation region range between 0 and 1 (see Figure 14.3). For a point in the s=.6 (X max,y max ) P = (x,y) t =.7 (X min,y min ) Figure 14.3: FFD local coordinates rectangular region whose Cartesian coordinates are (x, y), s = x X min X max X min, t = y Y min Y max Y min. (14.1) 2. Compute the homogeneous coordinates X(s, t) = (X, Y, W ) of the deformed point using the rational bivariate tensor product Bernstein polynomial equation X(s, t) = n j=0 i=0 m Bi m (s)bj n (t)p ij (14.2) where B n i (t) and Bm j (s) are Bernstein polynomials and P ij = w ij (x ij, y ij, 1) are the homogeneous coordinates of the displaced control point i, j. Note that weights can be assigned to the FFD control points. If all weights w ij = 1 and if the control points form a rectangular lattice ( P i,j = X min + i m (X max X min ), Y min + j ) n (Y max Y min ) (14.3) as shown in Figure 14.4, FFD is the identity transformation: all points end up where they started from. Points outside of the rectangle are not moved. If a shape is only partially inside the FFD region, one can control the degree of continuity between the deformed and undeformed portions of the shape by freezing rows of control points, as shown in Figure 14.5.

151 P 0,2 P 1,2 P 2,2 P 3,2 P 0,1 P 1,1 P 2,1 P 3,1 P 0,0 P 1,0 P 2,0 P 3,0 Figure 14.4: FFD undisplaced control points Initial C 0 C 1 C 2 Figure 14.5: Continuity control

152 14.0.1 Deformed Lines Each vertical line that undergoes FFD maps to a Bézier curve of degree n, and each horizontal line maps to a Bézier curve of degree m. Thus, the vertical curves in Figure 14.6.b are degree-two Bézier curves and the horizontal curves are degree three. In particular, we have highlighted the s=.6 (a) Undeformed Grid with un-displaced control points. (b) Deformed Grid. Figure 14.6: FFD Applied to a Grid of Lines. line s =.6 in Figure 14.6.a and its deformation is the degree-two Bézier curve shown in Figure 14.6.b. The control points for this Bézier curves are determined as follows. Referring to Figure 14.7, consider each horizontal row of control points in the FFD control grid to be a control polygon for a cubic Bézier curve. Call these curves H 0 (s), H 1 (s), and H 2 (s) where the control points for H i (s) are P 0,i, P 1,i, P 2,i, P 3,i. Then, the three control points for the H 2 (s) H 2 (.6) H 1 (s) H 1 (.6) H 0 (.6) H 0 (s) Figure 14.7: Control points of deformed line. degree-two Bézier curve in Figure 14.6.b are H 0 (.6), H 1 (.6), and H 2 (.6).

153 t=.3 (a) Undeformed Grid with horizontal line at t =.3. (b) Deformed Grid. Figure 14.8: FFD Applied to a horizontal line t =.3 The horizontal line t =.3 is highlighted in Figure 14.8.a and its deformation is the degree-three Bézier curve shown in Figure 14.8.b. The control points for this Bézier curves are determined as follows. Referring to Figure 14.9, consider each vertical column of control points in the FFD control grid to be a control polygon for a quadratic Bézier curve. Call these curves V 0 (s), V 1 (s), V 2 (s), and V 3 (s) where the control points for V i (s) are P i,0, P i,1, P i,2. Then, the four control points for V 1 (t) V 2 (t) V 0 (t) V 1 (.3) V 2 (.3) V 3 (t) V 0 (.3) V 3 (.3) Figure 14.9: Control points of deformed line. the degree-three Bézier curve in Figure 14.9.b are V 0 (.3), V 1 (.3), V 2 (.3), and V 3 (.3).

154