Slides:



Advertisements
Similar presentations
8.1 Prisms, Area and Volume Prism – 2 congruent polygons lie in parallel planes corresponding sides are parallel. corresponding vertices are connected.
Advertisements

COMP 175 | COMPUTER GRAPHICS Remco Chang1/6103b – Shapes Lecture 03b: Shapes COMP 175: Computer Graphics February 3, 2015.
Extended Gaussian Images
COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 13, 2014 IMPLICIT REPRESENTATIONS IMPLICIT FUNCTIONS IMPLICIT SURFACES MARCHING CUBES.
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
Rüdiger Westermann Lehrstuhl für Computer Graphik und Visualisierung
By: Andrew Shatz & Michael Baker Chapter 15. Chapter 15 section 1 Key Terms: Skew Lines, Oblique Two lines are skew iff they are not parallel and do not.
Dual Marching Cubes: An Overview
CSE554ContouringSlide 1 CSE 554 Lecture 4: Contouring Fall 2013.
Mesh Simplification Global and Local Methods:
CENG 789 – Digital Geometry Processing 05- Smoothing and Remeshing
Graph Drawing Introduction 2005/2006. Graph Drawing: Introduction2 Contents Applications of graph drawing Planar graphs: some theory Different types of.
Content Subdivision First some basics (control point polygon, mesh)
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2004 Chapter 4: 3D Convex Hulls Monday, 2/23/04.
Visualization and graphics research group CIPIC January 21, 2003Multiresolution (ECS 289L) - Winter Surface Simplification Using Quadric Error Metrics.
CS CS 175 – Week 4 Triangle Mesh Smoothing Discrete Differential Geometry.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2014.
Chapter 12 Surface Area and Volume. Topics We Will Discuss 3-D Shapes (Solids) Surface Area of solids Volume of Solids.
Chapter 12 Surface Area and Volume. Topics We Will Discuss 3-D Shapes (Solids) Surface Area of solids Volume of Solids.
1 Computer Graphics Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD3107 University of Palestine.
CS-321 Dr. Mark L. Hornick 1 3-D Object Modeling.
CS 450: Computer Graphics REVIEW: OVERVIEW OF POLYGONS
COMPUTER GRAPHICS CS 482 – FALL 2014 AUGUST 27, 2014 FIXED-FUNCTION 3D GRAPHICS MESH SPECIFICATION LIGHTING SPECIFICATION REFLECTION SHADING HIERARCHICAL.
Mesh Representation, part I
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 1/20 Quadric Error Metrics.
NDVI-based Vegetation Rendering CGIM ‘07 Stefan Roettger, University of Erlangen
Week 11 - Thursday.  What did we talk about last time?  Image processing  Blurring  Edge detection  Color correction  Tone mapping  Lens flare.
Mesh Data Structure. Meshes Boundary edge: adjacent to 1 face Regular edge: adjacent to 2 faces Singular edge: adjacent to >2 faces Mesh: straight-line.
Geometry Final Vocabulary. A ____________________ polygon is both equilateral and equiangular. regular.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2013.
Computer Graphics Basic 3D Geometry CO2409 Computer Graphics Week 5-1.
Solid Modeling. Solid Modeling - Polyhedron A polyhedron is a connected mesh of simple planar polygons that encloses a finite amount of space. A polyhedron.
Mesh Coarsening zhenyu shu Mesh Coarsening Large meshes are commonly used in numerous application area Modern range scanning devices are used.
1 Polygonal Techniques 이영건. 2 Introduction This chapter –Discuss a variety of problems that are encountered within polygonal data sets The.
Geometric Modeling How to design a graphical model? How to create a digital description of a real-world object? Design Digitize.
Many of the figures from this book may be reproduced free of charge in scholarly articles, proceedings, and presentations, provided only that the following.
CSE554ContouringSlide 1 CSE 554 Lecture 4: Contouring Fall 2015.
By Eugene Adams.  Vertices  Edges  Faces  Polygons  Meshes  2D co-ordinates  3D co-ordinates.
CS418 Computer Graphics John C. Hart
Vertices, Edges and Faces By Jordan Diamond. Vertices In geometry, a vertices is a special kind of point which describes the corners or intersections.
Geometry: A Year Around By: Kourtney Mansfield. Chapter 1: Points, Lines, and Planes Point – Has no dimension. Usually represented by a small dot. Point.
1 Subdivision. 2 Subdivision for game Why? Large model require many memory for storage Need to dynamically tessellated during game play Make surface modeling.
12.1 Exploring Solids.
Mesh Resampling Wolfgang Knoll, Reinhard Russ, Cornelia Hasil 1 Institute of Computer Graphics and Algorithms Vienna University of Technology.
Rendering Large Models (in real time)
Geometry Vocabulary. Triangle Triangle: a polygon with three sides. 180⁰ Sum of the interior angles of a triangle = 180⁰.
Introduction to Meshes Lecture 22 Mon, Oct 20, 2003.
polyhedron a three- dimensional figure whose surfaces are polygons faces edge vertex.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 10, 2015 TRIANGLE MESHES 3D MESHES MESH OPERATIONS.
11/16/04© University of Wisconsin, CS559 Fall 2004 Last Time Texture Anti-Aliasing Texture boundaries Modeling introduction.
Quadrilaterals Jacob, Allie, and Jesenia. Definition ★ Quadrilateral means “4 sides ★ “Quad” means 4 and “lateral” means sides.
3-D Solids and formulas Unit D solid figures Cylinder Triangular prism Rectangular prism Cone Pyramid Sphere Fill in 3-D chart.
Warm Up Find the unknown lengths.
Goal 1: Using Properties of Polyhedra Goal 2: Using Euler’s Theorem
Week 12 - Thursday CS361.
Constructing Objects in Computer Graphics
CS Computer Graphics II
Introduction to Geometry
Constructing Objects in Computer Graphics By Andries van Dam©
Domain-Modeling Techniques
Meshes.
Solid Geometry.
Objectives Apply Euler’s formula to find the number of vertices, edges, and faces of a polyhedron. Develop and apply the distance and midpoint formulas.
Surface Area and Volume
Three-Dimensional Object Representation
Solid Geometry.
Chap 10. Geometric Level of Detail
Solid Geometry.
Presentation transcript:

COMPUTER GRAPHICS CHAPTER 8 CS 482 – Fall 2017 TRIANGLE MESHES 3D MESHES MESH OPERATIONS

3D MESHES TRIANGLES VERSUS QUADRILATERALS 3D shapes are usually represented in graphics systems with polygonal meshes. Triangle meshes and quadrilateral meshes are most commonly used. Triangle Mesh Advantages Quad Mesh Advantages Triangles are always planar, quads are not It’s easier to model the contours of a 3D surface with quads It’s easier to tile a surface with triangles of a uniform size It’s easier to map textures to quads than to triangles CS 482 – Fall 2017 CHAPTER 8: TRIANGLE MESHES PAGE 76

3D MESHES MANIFOLD MESHES A mesh is a manifold if it satisfies the following two conditions: Each edge in the mesh is incident with only one or two faces The faces incident to each vertex form either an open or a closed fan Open Fan Closed Fan CS 482 – Fall 2017 CHAPTER 8: TRIANGLE MESHES PAGE 77

3D MESHES TRIANGLE ORIENTATION Triangle manifold meshes lend themselves to orientation, which facilitates the determination of consistent references to the “inside” and “outside” of polyhedral surfaces. Start by ordering the vertices of any triangle in the mesh. For each shared edge, order the vertices of each adjacent triangle so the shared edge’s vertices are in the opposite order. Continue, one adjacent triangle at a time, until the entire mesh has been oriented. CS 482 – Fall 2017 CHAPTER 8: TRIANGLE MESHES PAGE 78

3D MESHES TRIANGLE ORIENTATION EXAMPLE Note that the counterclockwise orientation of each triangle yields normal vectors (via the cross product) that all point exterior to the polyhedron. CS 482 – Fall 2017 CHAPTER 8: TRIANGLE MESHES PAGE 79

CHAPTER 8: TRIANGLE MESHES 3D MESHES STORAGE REQUIREMENTS One of the most common means of storing a 3d triangle mesh is the vertex-table-and triangle-table approach. TRIANGLES Vertex Index T1 2 3 1 T2 4 T3 5 T4 6 … VERTICES Coordinates 1 (2.4,3.1,2.1) 2 (2.1,2.6.2.4) 3 (2.6,2.8,2.5) 4 (2.7,3.1,2.8) 5 (2.0,2.6,2.3) 6 (2.4,2.9,2.5) … With T triangles, E edges, and V vertices, and assuming 4 bytes per integer and 4 bytes per floating point number, this yields a total of 12T+12V bytes for storing the entire structure. For a convex polyhedron, E = 1.5T (since each triangle has three edges and every edge is shared by two triangles), and V-E+T= 2 (by Euler’s Formula), so the memory requirement is 12T+12V = 18T+24 (= 36V-48) bytes. CS 482 – Fall 2017 CHAPTER 8: TRIANGLE MESHES PAGE 80

MESH OPERATIONS EDGE COLLAPSE Mesh simplification is a class of algorithms that transforms a mesh into one with fewer vertices, edges, and faces, reducing its complexity while preserving certain properties (e.g., geometric distance, visual appearance). A B With edge collapse, an edge is removed and its endpoints are merged into a single vertex. The determination of the merged vertex’s position may significantly impact the local appearance of the simplified mesh. A B M Merging to one endpoint Merging to the other endpoint Merging to the midpoint CS 482 – Fall 2017 CHAPTER 8: TRIANGLE MESHES PAGE 81

MESH OPERATIONS REPEATED EDGE COLLAPSE IN THIS EXAMPLE, THE SHORTEST EDGES IN THE POLYHEDRAL OBJECT ARE COLLAPSED, REDUCING THE NUMBER OF FACES BY ONE THOUSAND WITH EACH STEP. ORIGINAL: 4000 FACES REDUCED TO 3000 FACES REDUCED TO 2000 FACES REDUCED TO 1000 FACES CS 482 – Fall 2017 CHAPTER 8: TRIANGLE MESHES PAGE 82

CHAPTER 8: TRIANGLE MESHES MESH OPERATIONS EDGE SWAP Mesh beautification is a class of algorithms that transforms a triangular mesh into one with near-equilateral triangular faces and/or a near uniform distribution of vertices, in order to eliminate irregularities in the appearance of the original mesh. Aspect Ratio: 11 Determine the triangular face with the largest aspect ratio (the circumscribed rectangular bounding box with the largest length-to-width ratio) Determine the largest edge of that triangle and find the other triangular face that shares that edge Swap that edge with the other edge that serves as a diagonal for that two-triangle quadrilateral CS 482 – Fall 2017 CHAPTER 8: TRIANGLE MESHES PAGE 83