Shape modeling Modeling technique Shape representation! 3D Graphics Modeling Techniques

Similar documents
3D Modeling techniques

Information Coding / Computer Graphics, ISY, LiTH. Splines

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

Objects 2: Curves & Splines Christian Miller CS Fall 2011

Curves and Surfaces 1

Computer Graphics I Lecture 11

2D Spline Curves. CS 4620 Lecture 13

Physically-Based Modeling and Animation. University of Missouri at Columbia

Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL

2D Spline Curves. CS 4620 Lecture 18

Curves and Surfaces Computer Graphics I Lecture 9

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

CHAPTER 1 Graphics Systems and Models 3

CS-184: Computer Graphics. Today

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

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

Computer Graphics Curves and Surfaces. Matthias Teschner

Splines. Parameterization of a Curve. Curve Representations. Roller coaster. What Do We Need From Curves in Computer Graphics? Modeling Complex Shapes

CS-184: Computer Graphics

Shape Representation Basic problem We make pictures of things How do we describe those things? Many of those things are shapes Other things include

Splines. Connecting the Dots

3D Modeling Parametric Curves & Surfaces

Curves and Surfaces Computer Graphics I Lecture 10

Computer Graphics 1. Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2011

Chapter 4-3D Modeling

Free-Form Deformation and Other Deformation Techniques

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

B-spline Curves. Smoother than other curve forms

08 - Designing Approximating Curves

Object representation

Design considerations

Parametric curves. Brian Curless CSE 457 Spring 2016

GLOBAL EDITION. Interactive Computer Graphics. A Top-Down Approach with WebGL SEVENTH EDITION. Edward Angel Dave Shreiner

Bezier Curves, B-Splines, NURBS

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

Geometric Modeling. Bing-Yu Chen National Taiwan University The University of Tokyo

CS130 : Computer Graphics Curves (cont.) Tamar Shinar Computer Science & Engineering UC Riverside

The goal is the definition of points with numbers and primitives with equations or functions. The definition of points with numbers requires a

Computer Animation. Algorithms and Techniques. z< MORGAN KAUFMANN PUBLISHERS. Rick Parent Ohio State University AN IMPRINT OF ELSEVIER SCIENCE

From curves to surfaces. Parametric surfaces and solid modeling. Extrusions. Surfaces of revolution. So far have discussed spline curves in 2D

Free-form deformation (FFD)

AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO F ^ k.^

3D Modeling I. CG08b Lior Shapira Lecture 8. Based on: Thomas Funkhouser,Princeton University. Thomas Funkhouser 2000

CS 465 Program 4: Modeller

Overview of 3D Object Representations

Introduction to Computer Graphics

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

CS GAME PROGRAMMING Question bank

Dgp _ lecture 2. Curves

Advanced Computer Graphics

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

Curves & Surfaces. Last Time? Progressive Meshes. Selective Refinement. Adjacency Data Structures. Mesh Simplification. Mesh Simplification

Approximate Catmull-Clark Patches. Scott Schaefer Charles Loop

CSE 167: Introduction to Computer Graphics Lecture #16: Procedural Modeling

Spline Morphing. CG software practical course in the IWR. Carl Friedrich Bolz. Carl Friedrich Bolz

Homework #2. Hidden Surfaces, Projections, Shading and Texture, Ray Tracing, and Parametric Curves

Rendering Curves and Surfaces. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Central issues in modelling

Representing Curves Part II. Foley & Van Dam, Chapter 11

Parametric curves. Reading. Curves before computers. Mathematical curve representation. CSE 457 Winter Required:

MODELING AND HIERARCHY

SEOUL NATIONAL UNIVERSITY

Modeling 3D Objects: Part 2

Beginning Direct3D Game Programming: 1. The History of Direct3D Graphics

Mathematical Tools in Computer Graphics with C# Implementations Table of Contents

GRK. dr Wojciech Palubicki

In this course we will need a set of techniques to represent curves and surfaces in 2-d and 3-d. Some reasons for this include

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

Curve Representation ME761A Instructor in Charge Prof. J. Ramkumar Department of Mechanical Engineering, IIT Kanpur

Review of Tuesday. ECS 175 Chapter 3: Object Representation

Intro to Curves Week 4, Lecture 7

Introduction to Computer Graphics

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

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

CS354 Computer Graphics Surface Representation IV. Qixing Huang March 7th 2018

Constructive Solid Geometry and Procedural Modeling. Stelian Coros

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell

Computer Graphics. Instructor: Oren Kapah. Office Hours: T.B.A.

Interpolation and Basis Fns

(Spline, Bezier, B-Spline)

Curves and Surfaces. Computer Graphics COMP 770 (236) Spring Instructor: Brandon Lloyd

Lecture 21 of 41. Animation Basics Lab 4: Modeling & Rigging in Maya

Radiosity. Johns Hopkins Department of Computer Science Course : Rendering Techniques, Professor: Jonathan Cohen

Subdivision Surfaces. Homework 1: Last Time? Today. Bilinear Patch. Tensor Product. Spline Surfaces / Patches

- Location: Annenberg Text: Mostly Self-Contained on course Web pages. - Al Barr

CSE 167: Introduction to Computer Graphics Lecture 12: Bézier Curves. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2013

Parametric Curves. University of Texas at Austin CS384G - Computer Graphics

Introduction to Geometry. Computer Graphics CMU /15-662

Curves. Computer Graphics CSE 167 Lecture 11

Curves & Surfaces. MIT EECS 6.837, Durand and Cutler

Final Exam CS 184: Foundations of Computer Graphics! page 1 of 12!

Animation & Rendering

Deforming Objects. Deformation Techniques. Deforming Objects. Examples

Sung-Eui Yoon ( 윤성의 )

Subdivision Surfaces. Homework 1: Questions on Homework? Last Time? Today. Tensor Product. What s an illegal edge collapse?

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

Subdivision Surfaces. Homework 1: Questions/Comments?

9. Three Dimensional Object Representations

CSE 167: Lecture #17: Procedural Modeling. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

3D Object Representation. Michael Kazhdan ( /657)

Transcription:

D Graphics http://chamilo2.grenet.fr/inp/courses/ensimag4mmgd6/ Shape Modeling technique Shape representation! Part : Basic techniques. Projective rendering pipeline 2. Procedural Modeling techniques Shape Reconstruction of real objects Procedural Interactive. Local illumination & Textures 4. Computer animation: kinematics, physics, collisions Surface (B-Rep) Part 2 : Introduction to advanced methods 5. Interactive with parametric & implicit surfaces Volume 6. Animating complex objects: characters & natural scenes Shape : 2 viewpoints Modeling Techniques Shape Modeling techniques Reconstruction of real objects Procedural Interactive. Reconstruction - From real data - Not in this course! Surface (B-Rep) Volume either discrete or continuous examples: meshes parametric surfaces (splines, Bézier) voxels implicit surfaces. Procedural (in Part) 2. Interactive (in Part 2) Develop tools for computer artists Needs higher level

Procedural Geometric primitives created by a program Basic example: OpenGL programming Describe each object in the frame where it is the simplest Assemble them in a hierarchy for consistency! Example of hierarchical Character = hierarchy of limbs The foot remains connected to the leg when the hip articulates! A procedure creates the models Control through parameters, not geometry! Useful for large, repetitive scenes or objects Fractals Case of objects that are self similar at different scales Recursively add details Application to terrains Fractals Application to terrains Start with a pyramid. Recursively subdivide each face Add random vertical displacements at each iteration D = random (, /2) x height difference on the edge

Trajectories First natural scene in CG Grass: particles under gravity Wind particles interact with grass Trees: recursively throw particles Grammars Easiest method to generate plants : L-systems Simulate progressive growth using grammar rules [W. Reeves, SIGGRAPH 984] The adventures of Andre and Wally B. https://www.youtube.com/watch? v=9qhakeevl The most complex scene ever built at that time! Inspired from biology! Grammars Grammars Topology Rules for each kind of plant Embedding in D Statistics, light, damage General methodology. Define a set of shapes 2. Rules (take one shape and replace it with other shapes) Apply rules with a given probability Use random parameters in the created shapes. Derivation until only «terminal shapes» remain 4. Geometrical interpretation of the terminal shapes Many applications!

Shape grammar examples Exercise (TD) Progressive refinement Propose a procedural method to generate an ancient city Describe the main steps Schematically represent the main grammar rules Which other constraints should be accounted for? Puzzle grammar a b c d Insert b b Remove Replace a/d Solution: possible approaches Coarse to fine cities - Layout - D blocks - Refinement rules «Rama» 26, Eric Bruneton Procedural Procedural terrain, many different techniques Growing cities Combination 6

Conclusion on procedural Fast method to create large, structured scenes (millions of polygons) Can consistently account for constraints (self-similarities, growth rules, etc) BUT Need to define rules for each category of content Indirect control only, through the rule parameters In practice, interactive is mostly used Interactive & Computer animation Background : Spline curves How to define a curve? (part of surface, trajectory ) Easier to give a finite number N of control points The curve should be smooth in between u Exo: Should we use polynomial curves? Which degree? Spline curves Parametric form of curve segments Defined from control point Local control Joints between polynomial curve segments degree, C or C 2 continuity Control points give constraints on curve parameters 4 constraints on vectors suffice to fix 2 d.o.f. Control point Spline curve u

Interpolation vs. Approximation Hermite curves of order Degree, Order (C ). Each curve segment defined by: () = P i () = P i+ () = D i () = D i+ P i- P i+ P i D i D i+ Useful for animation Useful for smoother shapes Advantage: local control Exercise: how to ease the definition for general users? Propose an automatic way to compute tangents Cardinal Splines Hermite curves of order 2 Degree, Order (C ). Each curve segment defined by () = P i () = P i+ () = k(p i+ P i- ) () = k(p i+2 P i ) Catmull-Rom Cardinal with tension k =.5 Degree, Order 2 (C 2 ). - () = P i () = - () () = - () () = - () P i- P i+ P i Exercise Order of locality? What is the effect of k? How can we model a closed curve? Can be solved by adding tangent constraints at the extremities Problem: Global definition only! (costly & no local control)

Degree, C 2 Approximation Regularizing curve in particular: convex hull Curve point = barycenters of control points Segment defined by 4 points Curve segments uniquely defined! Uniform, cubic Bspline M Catmull Cubic splines: matrix equation Q i (u) = (u u 2 u ) M spline [P i- P i P i+ P i+2 ] t 2 2 Cardinal spline 5 2 4 M Bspline 6 B-spline 6 P 4 P 4 4 In summary: Splines curves Most important models Interpolation & approximation To be used Interpolation Hermite curves C, cannot be local if C 2 Cardinal spline (Catmull Rom) In computer animation For interpolating trajectories Part, Chapter Approximation Bézier curves Uniform, cubic B-spline Generalization to NURBS In interactive With extension to Spline surfaces Part 2, Chapter