CS Object Representation. Aditi Majumder, CS 112 Slide 1

Similar documents
Outline. Visualization Discretization Sampling Quantization Representation Continuous Discrete. Noise

Central issues in modelling

Computer Graphics Prof. Sukhendu Das Dept. of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 24 Solid Modelling

Euler Characteristic

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

1. CONVEX POLYGONS. Definition. A shape D in the plane is convex if every line drawn between two points in D is entirely inside D.

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

CS 112 The Rendering Pipeline. Slide 1

Fathi El-Yafi Project and Software Development Manager Engineering Simulation

Convex Hulls (3D) O Rourke, Chapter 4

Curves and Surfaces Computer Graphics I Lecture 9

CS3621 Midterm Solution (Fall 2005) 150 points

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

Question. Why is the third shape not convex?

Surfaces: notes on Geometry & Topology

Further Graphics. A Brief Introduction to Computational Geometry

Lecture 19: Introduction To Topology

Algorithms for GIS. Spatial data: Models and representation (part I) Laura Toma. Bowdoin College

Handles. The justification: For a 0 genus triangle mesh we can write the formula as follows:

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

Planar Graphs and Surfaces. Graphs 2 1/58

Geometric Modeling Mortenson Chapter 11. Complex Model Construction

One simple example is that of a cube. Each face is a square (=regular quadrilateral) and each vertex is connected to exactly three squares.

Tutorial 3 Comparing Biological Shapes Patrice Koehl and Joel Hass

4.2 Simplicial Homology Groups

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

MA 323 Geometric Modelling Course Notes: Day 36 Subdivision Surfaces

SMMG September 16 th, 2006 featuring Dr. Jessica Purcell Geometry out of the Paper: An Introduction to Manifolds

9. Three Dimensional Object Representations

Zipper Unfoldings of Polyhedral Complexes

Flavor of Computational Geometry. Convex Hull in 2D. Shireen Y. Elhabian Aly A. Farag University of Louisville

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Manifold T-spline. Ying He 1 Kexiang Wang 2 Hongyu Wang 2 Xianfeng David Gu 2 Hong Qin 2. Geometric Modeling and Processing 2006

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

Review for Mastery Using Graphs and Tables to Solve Linear Systems

Level of Details in Computer Rendering

3D Modeling Parametric Curves & Surfaces

Bands: A Physical Data Structure to Represent Both Orientable and Non-Orientable 2-Manifold Meshes

A Topologically Convex Vertex-Ununfoldable Polyhedron

Chapter 4-3D Modeling

Lecture 7: Jan 31, Some definitions related to Simplical Complex. 7.2 Topological Equivalence and Homeomorphism

Computergrafik. Matthias Zwicker. Herbst 2010

Modeling. Simulating the Everyday World

Algorithms for GIS csci3225

3D Modeling: Surfaces

INTRODUCTION TO THE HOMOLOGY GROUPS OF COMPLEXES

Further Graphics. A Brief Introduction to Computational Geometry

Parameterization with Manifolds

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

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

Rendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane

Scheduling, Map Coloring, and Graph Coloring

Data Representation in Visualisation

Math 210 Manifold III, Spring 2018 Euler Characteristics of Surfaces Hirotaka Tamanoi

An Introduction to Geometric Modeling using Polygonal Meshes

3D Modeling & Sketchup

Information Coding / Computer Graphics, ISY, LiTH. Splines

Introduction to Computer Graphics

CS 177 Homework 1. Julian Panetta. October 22, We want to show for any polygonal disk consisting of vertex set V, edge set E, and face set F:

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

Rendering If we have a precise computer representation of the 3D world, how realistic are the 2D images we can generate? What are the best way to mode

) for all p. This means however, that the map ϕ 0 descends to the quotient

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

The Graphics Pipeline. Interactive Computer Graphics. The Graphics Pipeline. The Graphics Pipeline. The Graphics Pipeline: Clipping

A TESSELLATION FOR ALGEBRAIC SURFACES IN CP 3

Curves and Surfaces Computer Graphics I Lecture 10

Curves and Surfaces 1

CS 130 Final. Fall 2015

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

polygon meshes polygon meshes representation

Ray Casting of Trimmed NURBS Surfaces on the GPU

: Mesh Processing. Chapter 2

Multi-View Matching & Mesh Generation. Qixing Huang Feb. 13 th 2017

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

Texture Mapping and Special Effects

What would you see if you live on a flat torus? What is the relationship between it and a room with 2 mirrors?

751 Problem Set I JWR. Due Sep 28, 2004

Week 7 Convex Hulls in 3D

CS-184: Computer Graphics

Research in Computational Differential Geomet

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

2D Spline Curves. CS 4620 Lecture 18

Introduction to Solid Modeling

Triangle meshes I. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2017

Surfaces. 14 April Surfaces 14 April /29

Lattice Polygon s and Pick s Theorem From Dana Paquin and Tom Davis 1 Warm-Up to Ponder

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

Mesh Basics: Definitions, Topology & Data Structures. Standard Graph Definitions

Triangle meshes I. CS 4620 Lecture 2

Introduction to Geometry. Computer Graphics CMU /15-662

Graphics Pipeline 2D Geometric Transformations

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

For each question, indicate whether the statement is true or false by circling T or F, respectively.

INF3320 Computer Graphics and Discrete Geometry

Math 170, Section 002 Spring 2012 Practice Exam 2 with Solutions

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

UNIT 6 Nets and Surface Area Overhead Slides

Introduction to 2D and 3D Computer Graphics. Realistic Rendering. -- Solids Modeling --

CLASSIFICATION OF SURFACES

GEOMETRIC TOOLS FOR COMPUTER GRAPHICS

Transcription:

CS 112 - Object Representation Aditi Majumder, CS 112 Slide 1

What is Graphics? Modeling Computer representation of the 3D world Analysis For efficient rendering For catering the model to different applications.. Rendering Generating 2D images of the 3D world Aditi Majumder, CS 112 Slide 2

Object Representation Polygons, Points, Images, Surfaces Representations Explicit : y = mx+c Can draw the line, but cannot represent y axis Implicit: ax+by+c =0 Cannot draw the line, but evaluate if points lie on the line Parametric: P1(1-u)+P2(u) Interpolation is simple Aditi Majumder, CS 112 Slide 3

Polygon Representation TRIANGLES: most common Geometric information Vertices 3D coordinates, Normals Topological information Connectivity or Adjacency Other attributes at vertices Color, texture, transparency. Aditi Majumder, CS 112 Slide 4

Object Representation: Example Aditi Majumder, CS 112 Slide 5

Characteristics of Polygonal Objects Geometric properties Position Normals Curvature, continuity Aditi Majumder, CS 112 Slide 6

Characteristics of Polygonal Models Topological properties Manifolds (w/ boundaries) /Non-manifold Dimension Euler characteristic/genus Orientability Invariant with change in geometric properties Aditi Majumder, CS 112 Slide 7

Manifold Definitions Manifolds 2D: Every edge has exactly two incident triangles. 3D: Every triangle has exactly two incident tetrahedrons. Manifolds with boundaries 2D: Every edge has either one or two incident triangles. 3D: Every triangle has either one or two incident tetrahedrons. Non-manifolds That does not have the above restrictions. Aditi Majumder, CS 112 Slide 8

Dimension Number of parameters you can change and still be in the object Point : dimension 0 Point in a room: dimension 0 embedded in 3D room 3 coordinates, how many can you change and still be on the point? --- None Hence, dimension 0 Aditi Majumder, CS 112 Slide 9

Dimension Line P1(1-u)+P2(u) You can change u and still be on the line Hence, dimension 1 But note, these objects can be embedded in a higher dimension world Aditi Majumder, CS 112 Slide 10

Manifold: Euler Characteristic (e) e = V-E+F (V: Vertices, E: Edges, F: Faces). Applicable only for manifolds In general e=(0 dim)-(1 dim)+(2 dim)-(3 dim)+(4 dim) Verify: Cube has 8 vertices, 12 edges, 6 faces e = V-E+F = 8-12+6 = 2 Changing geometric properties keeps euler characteristic invariant Adding edges, vertices or pulling vertices Square approaching sphere Aditi Majumder, CS 112 Slide 11

Manifold: Genus (g) Applicable only for manifolds (Naïve) Number of handles. Sphere has g=0; cube has g=0; torus has g=1; coffee cup has g=1. Going from coffee cup to torus Changing only geometric properties Relationship between e and g: e=2-2g Sphere or Cube: e=2-2(0)=2 Torus: e=2-2(1)=0 Aditi Majumder, CS 112 Slide 12

Orientability of an object If you have consistent normal direction for a point then the object is orientable. Otherwise, non-orientable. Mobius Strip Aditi Majumder, CS 112 Slide 13

In this course.. 2D orientable manifolds without boundaries. Remember: manifolds with boundaries is a superset of manifolds, and non-manifold is a superset of manifolds with boundaries. Non-manifold actually means that need not be a manifold; not is not a manifold. Aditi Majumder, CS 112 Slide 14

Why TRIANGLES? Consistently planar Easy definition of topology and geometry Rotationally invariant interpolation of attributes during rasterization Easy to implement in hardware Aditi Majumder, CS 112 Slide 15

Interpolation P1 L(u) P2 Linear Interpolation L(u) = P1(1-u)+P2(u) P1 v u P2 T(u,v) P3 Bilinear Interpolation T(u,v) = P1(1-u)(1-v) + P2.u + P3.v Linear combination of the points Coefficients Less than 1.0 - Within the convex hull Greater than 1.0 Outside the convex hull Aditi Majumder, CS 112 Slide 16

Rotationally Invariant Interpolation W B B B B W W W W B Aditi Majumder, CS 112 Slide 17

Other Representations Point No connectivity Quadrilaterals Non-planar, inconsistent interpolation of attributes Spline Have to be converted to polygons for rasterization Aditi Majumder, CS 112 Slide 18

Common Data Structure Sequential List of Vertices Indexed List of Vertices No need to be in order List of Triangles Defined by indices of vertices Aditi Majumder, CS 112 Slide 19