Object representation

Similar documents
Modeling 3D Objects: Part 2

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

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

Introduction to Geometry. Computer Graphics CMU /15-662

3D Modeling techniques

Curves and Surfaces Computer Graphics I Lecture 9

Curves and Surfaces Computer Graphics I Lecture 10

Sung-Eui Yoon ( 윤성의 )

CHAPTER 1 Graphics Systems and Models 3

Curve and Surface Basics

Overview of 3D Object Representations

3D Modeling: Solid Models

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

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

9. Three Dimensional Object Representations

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

SEOUL NATIONAL UNIVERSITY

Level of Details in Computer Rendering

L1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming

MODELING AND HIERARCHY

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

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

Lecture IV Bézier Curves

Dgp _ lecture 2. Curves

CS-184: Computer Graphics. Today

3D Modeling: Surfaces

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

Surface and Solid Geometry. 3D Polygons

CS-184: Computer Graphics

VALLIAMMAI ENGINEERING COLLEGE

Review. Stephen J. Guy

Subdivision Surfaces. Course Syllabus. Course Syllabus. Modeling. Equivalence of Representations. 3D Object Representations

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

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

0. Introduction: What is Computer Graphics? 1. Basics of scan conversion (line drawing) 2. Representing 2D curves

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

GL9: Engineering Communications. GL9: CAD techniques. Curves Surfaces Solids Techniques

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

3D Modeling Parametric Curves & Surfaces

Introduction to Computer Graphics

Computergrafik. Matthias Zwicker. Herbst 2010

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

B-spline Curves. Smoother than other curve forms

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

Curves and Surface I. Angel Ch.10

Subdivision Surfaces

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

Approximate Catmull-Clark Patches. Scott Schaefer Charles Loop

Advanced Computer Graphics

3D Object Representation. Michael Kazhdan ( /657)

Overview of 3D Object Representations

Design considerations

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

2.11 Particle Systems

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

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

Shape Modeling with Point-Sampled Geometry

Images from 3D Creative Magazine. 3D Modelling Systems

Lecture 4b. Surface. Lecture 3 1

Solid Modeling. Ron Goldman Department of Computer Science Rice University

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

3D Object Representation

Geometric Modeling Systems

Intro to Modeling Modeling in 3D

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

TNM079 Modeling & Animation Lecture 6 (Implicit surfaces)

Introduction to Computer Graphics

Implicit Surfaces & Solid Representations COS 426

11/1/13. Visualization. Scientific Visualization. Types of Data. Height Field. Contour Curves. Meshes

Visualization. CSCI 420 Computer Graphics Lecture 26

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

Curves and Surfaces 1

CSG obj. oper3. obj1 obj2 obj3. obj5. obj4

Review of Tuesday. ECS 175 Chapter 3: Object Representation

Polygon Meshes and Implicit Surfaces

Lecture 17: Solid Modeling.... a cubit on the one side, and a cubit on the other side Exodus 26:13

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

Polygon Meshes and Implicit Surfaces

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

LECTURE #6. Geometric Modelling for Engineering Applications. Geometric modeling for engineering applications

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

Motivation. Freeform Shape Representations for Efficient Geometry Processing. Operations on Geometric Objects. Functional Representations

Curves. Computer Graphics CSE 167 Lecture 11

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

Computer Graphics I Lecture 11

Visualization Computer Graphics I Lecture 20

Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [Angel Ch. 12] April 23, 2002 Frank Pfenning Carnegie Mellon University

Information Coding / Computer Graphics, ISY, LiTH. Splines

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows

ASSIGNMENT 1 INTRODUCTION TO CAD

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

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

11/1/13. Polygon Meshes and Implicit Surfaces. Shape Representations. Polygon Models in OpenGL. Modeling Complex Shapes

CS354 Computer Graphics Surface Representation III. Qixing Huang March 5th 2018

Topic 0. Introduction: What Is Computer Graphics? CSC 418/2504: Computer Graphics EF432. Today s Topics. What is Computer Graphics?

Computer Graphics Curves and Surfaces. Matthias Teschner

Geometric Modeling Summer Semester 2010 Introduction

1. Introduction. 2. Parametrization of General CCSSs. 3. One-Piece through Interpolation. 4. One-Piece through Boolean Operations

Transcription:

Object representation

Geri s Game Pixar 1997 Subdivision surfaces Polhemus 3d scan Over 700 controls 2 Computer Graphics

Quick test #1 Describe the picture Graphical systems, visualization and multimedia 3

Quick test #1 Describe the picture Graphical systems, visualization and multimedia 4

Quick test #2 Volunteers: Describe the image to others Others: Reproduce the image Graphical systems, visualization and multimedia 5

Semantic vs. numeric Humans semantic representation concepts, notions, meanings, emotions... imprecise, ambiguous Computers numeric representation exact, mathematical, straightforward Graphical systems, visualization and multimedia 6

Detailed representation Graphical systems, visualization and multimedia 7

Object properties basic What object properties there are? Graphical systems, visualization and multimedia 8

Object properties - advanced Physical object properties mass, stiffness, elasticity Material properties shininess, roughness light behavior friction etc. We ll deal with materials later Graphical systems, visualization and multimedia 9

Object definition Geometry plus model transformation (local global) Material color, shininess, index of refraction Body properties weight, elasticity... Graphical systems, visualization and multimedia 10

2D objects Let s define these objects Graphical systems, visualization and multimedia 11

2D objects Let s define these objects Graphical systems, visualization and multimedia 12

Shapes vs. bitmaps We ll deal with bitmaps later Shapes, vectors, curves, parametric, implicit Bitmaps, raster, pixels, explicit Graphical systems, visualization and multimedia 13

2D geometry

Polygons Control vertices x,y coordinates in order CCW Edges width shape style (solid, dotted etc.) Graphical systems, visualization and multimedia 15

Curves Primitives circle, ellipse General parametric curves Graphical systems, visualization and multimedia 16

Parametric curves Bezier curves Spline curves Graphical systems, visualization and multimedia 17

Remember: line equation Line P-Q where P = [x 1,y 1 ], Q = [x 2,y 2 ] x = x 1 + t * (x 2 x 1 ) } y = y 1 + t * (y 2 y 1 ) L = P + t*(q-p) Graphical systems, visualization and multimedia 18

Parametric curve Generalization x = f 1 ( t ) y = f 2 ( t ) } C(x,y) = f(t) Example Circle x c x r.cos( t) y c y r.sin( t), t 0,2 Graphical systems, visualization and multimedia 19

Cubic Bezier curves 4 control points C 0, C 1, C 2, C 3 C 0 and C 3 endpoints C 1 and C 2 define shape Can be expressed in matrix form Graphical systems, visualization and multimedia 20

Approximation / interpolation http://lubovo.misto.cz/curves/ Graphical systems, visualization and multimedia 21

Interpolation curves Control vertices + tangent vectors corner (cusp) smooth symmetrical Usually cubic splines good manipulation Graphical systems, visualization and multimedia 22

Parametric polygonal C(x,y) = f(t) t = 0.0, 0.2, 0.4, 0.6, 0.8, 1.0 Graphical systems, visualization and multimedia 23

3D geometry

From polygons to polyhedra Graphical systems, visualization and multimedia 25

From curves to surfaces Graphical systems, visualization and multimedia 26

Boundary representation Only the surface of the object is described No information about the inside Point cloud Wireframe Polygonal mesh Parametric surfaces Subdivision surfaces Implicit surfaces Graphical systems, visualization and multimedia 27

Point cloud Set of points located on object s surface Usually obtained by 3D scanning Connectivity information? http://www.photomodeler.com Graphical systems, visualization and multimedia 28

Wireframe Set of vertices V(x,y,z) Edges E(V i,v j ) Graphical systems, visualization and multimedia 29

Real wireframe Benedict Radcliffe s Toyota Corolla 30 Computer Graphics

Polygonal representation Polygonal mesh Vertices V(x,y,z) Faces F(V 1, V 2,... V n ) (Edges) E(V i, V j ) Graphical systems, visualization and multimedia 31

Example winged edge Data structure for mesh representation Fast mesh traversal Splitting / merging operations Graphical systems, visualization and multimedia 32

Polygon orientation normal Remember right-hand coordinate system Surface normal Graphical systems, visualization and multimedia 33

Parametric surfaces 3D generalization of parametric curves m n control points parameters u,v C(x,y,z) = f(u,v) http://cadauno.sourceforge.net/ Graphical systems, visualization and multimedia 34

Parametric surfaces e.g. Cubic Bezier surface, NURBS Graphical systems, visualization and multimedia 35

Parametric vs. polygonal Parametric smooth, reparametrizable harder rendering precise rendering Polygonal discrete, hard to reparametrize faster rendering or rasterization approximative rendering Graphical systems, visualization and multimedia 36

Parametric polygonal C(x,y,z) = f(u,v) u = 0.0, 0.2, 0.4, 0.6, 0.8, 1.0, v = 0.0, 0.33, 0.66, 1.0 Graphical systems, visualization and multimedia 37

Subdivision surfaces Recursive subdivision of a polygonal model Limit surface - continuous Easy modeling, small data size http://www.holmes3d.net/graphics/subdivision/ Graphical systems, visualization and multimedia 38

Subdivision example Graphical systems, visualization and multimedia 39

Implicit surfaces F(x,y,z) = 0 sphere: metaballs: Examples: http://iat.ubalt.edu/summers/math/platsol.htm Graphical systems, visualization and multimedia 40 0 2 2 2 2 r z y x 0 ) ) ( ) ( ) /(( 2 2 2 c z z y y x x R m m m m

Video http://www.youtube.com/watch?v=k27zvop1pw4 Graphical systems, visualization and multimedia 41

Question What happens if we turn F(x,y,z) = 0 into F(x,y,z) 0? surface volume Graphical systems, visualization and multimedia 42

Volumetric representation not only boundary but also the insides of the object Medicine Physics Simulations Animation Graphical systems, visualization and multimedia 43

Voxels Volume elements, 3D pixels Discrete Binary values Float values Graphical systems, visualization and multimedia 44

Video Prof. Miloš Šrámek http://www.viskom.oeaw.ac.at/~milos/ Mpeg animation of 615 images, rendered from a segmented MRI data set. Graphical systems, visualization and multimedia 45

Constructive solid geometry Primitives + Boolean operators on sets AND, OR, NOT singularities manifolds Graphical systems, visualization and multimedia 46

CSG continued Hierarchy Leaves = primitives Nodes = operators Volume-rep good Boundary-rep difficult Graphical systems, visualization and multimedia 47

Functional representation F-rep ~ generalization of CSG More node functions operators e.g. object blending Graphical systems, visualization and multimedia 48

Special objects

Particle systems Emitter + physics + elementary particle Water, snow, rain Smoke, fog, clouds Swarms, crowds Multi-agent systems 50 Computer Graphics

Billboards Complex objects faked by a picture Trees, grass Fire, smoke Light effects Distant objects Can be animated Animated Sprite Pack http://www.thegamecreators.com/?m=view_product&id=2154 51 Computer Graphics

Billboard Tree 52 Computer Graphics

Multiple sprites 53 Computer Graphics

Summary Boundary vs. Volume representation Parametric vs. Polygonal representation Parametric Polygonal Sprites / Billboards 54 Computer Graphics