COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 2004 1 Solid Modelling Graphics Systems / Computer.

Slides:



Advertisements
Similar presentations
Goal: a graph representation of the topology of a gray scale image. The graph represents the hierarchy of the lower and upper level sets of the gray level.
Advertisements

Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 5.
2D Geometric Transformations
Extended Gaussian Images
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 8.
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
1 Computer Graphics Chapter 7 3D Object Modeling.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 9 3D Modeling.
IE 590 J Cecil NMSU 1 IE 590 Integrated Manufacturing Systems Lecture 4 CAD & Geometric Modeling.
11-1 Space Figures and Cross Sections
Surface Reconstruction from 3D Volume Data. Problem Definition Construct polyhedral surfaces from regularly-sampled 3D digital volumes.
History: CNC: ~1950 Mainframe Computers: ~1960’s BREP: 1970 (Baumgart) CSG: 1974 (Ian Braid) Solid Modeling.
Modelling. Outline  Modelling methods  Editing models – adding detail  Polygonal models  Representing curves  Patched surfaces.
2003 by Jim X. Chen: Introduction to Modeling Jim X. Chen George Mason University.
Chapter 3 2D AND 3D SPATIAL DATA REPRESENTATIONS 김 정 준.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Dr. Abdulrahman M. Al-Ahmari Industrial Engineering.
12/06/00 Dinesh Manocha, COMP258 Solid Modeling CSG (Constructive Solid Geometry) Representations: A set theoretic Boolean expression of primitive solid.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Industrial Engineering Program King Saud University.
Complex Model Construction Mortenson Chapter 11 Geometric Modeling
9-4 Geometry in Three Dimensions  Simple Closed Surfaces  Regular Polyhedra  Cylinders and Cones.
3-D Modeling Concepts V part 2.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Computer Integrated Manufacturing CIM
3D Object Representations 2005, Fall. Course Syllabus Image Processing Modeling Rendering Animation.
Graphics Graphics Korea University cgvr.korea.ac.kr Creating Virtual World I 김 창 헌 Department of Computer Science Korea University
COMPUTER AIDED DESIGN -(CAD)-3
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Wednesday, February 23, 2000 William H. Hsu Department.
Vertex – A point at which two or more edges meet Edge – A line segment at which two faces intersect Face – A flat surface Vertices, Edges, Faces.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 1 Shading (Shading) & Smooth Shading Graphics.
Disediakan oleh Suriati bte Sadimon GMM, FSKSM, UTM, 2004 SOLID MODELLING.
Graphics Graphics Korea University cgvr.korea.ac.kr Solid Modeling 고려대학교 컴퓨터 그래픽스 연구실.
HomeWork 2 Solution Chen Zhanqing.
12. Polyhedra
Copyright © Curt Hill Visualization of 3D Worlds How are these images described?
David Breen, William Regli and Maxim Peysakhov
Introduction --Classification Shape ContourRegion Structural Syntactic Graph Tree Model-driven Data-driven Perimeter Compactness Eccentricity.
Representation and modeling of 3D objects (basic concepts) FMFI UK Katedra počítačovej grafiky a spracovania obrazu Marek.
Visual Computing Geometric Modelling 1 INFO410 & INFO350 S2 2015
Solid Modeling. Solid Modeling - Polyhedron A polyhedron is a connected mesh of simple planar polygons that encloses a finite amount of space. A polyhedron.
3D Object Representations
Solid Modeling Ref. Mantyla. Introduction Aim of modeling: The search of a media of communication.
Chapter Area, Pythagorean Theorem, and Volume 14 Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
12.1 Exploring Solids.
Three-Dimensional Object Representation
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Subdivision Surfaces Greg Humphreys University of Virginia CS 445, Fall 2003.
Geometrically Bounded Wireframe AIC (Part 510) Grouping of curves relevant for 3-dimensional wireframe modeling without topological constructs Elementary.
In the name of God Computer Graphics. Introduction Modeling techniques modeling techniques managements Some renderings.
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS D Geometric Transformations Graphics Systems.
More Object Representations
Solid Modeling Prof. Lizhuang Ma Shanghai Jiao Tong University.
11-1 Space Figures and Cross Sections Objectives To recognize polyhedra and their parts To visualize cross sections of space figures.
Solid Modeling Dr. Scott Schaefer.
3D Object Representations. Introduction Line and circle and polygon algorithms- represented simple and smooth object. Some Natural object are neither.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Anupam Saxena Associate Professor Indian Institute of Technology KANPUR
CS552: Computer Graphics Lecture 28: Solid Modeling.
Constructive Solid Geometry CSG (Geometri Padat Konstruktif)
Computer graphics 3D solid modeling.
POLYGON MESH Advance Computer Graphics
SOLID MODELLING.
Engineering Geometry Engineering geometry is the basic geometric elements and forms used in engineering design. Engineering and technical graphics are.
3D Object Representations
Lecture 27: Solid Modeling
Three-Dimensional Object Representation
14 Chapter Area, Pythagorean Theorem, and Volume
Overview of Modeling 김성남.
Prof. Lizhuang Ma Shanghai Jiao Tong University
Presentation transcript:

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Solid Modelling Graphics Systems / Computer Graphics and Interfaces

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Solid Modelling In one set of 2D line segments or curves do not necessarily form a closed area. In a collection of 3D surfaces does not necessarily involve a closed volume. Solid modeling: In some applications it is important to: distinguish between the interior and exterior surface of a 3D object; and compute properties of objects that depend on this distinction. Ex: Simulation of mechanisms, volume calculation, center of mass, application of finite to determine response to factors such as stress and temperature, etc. elements. Applications: CAD / CAM and imaging photo-realistic.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Characteristics of a solid model 1.Should cover a domain representation broad enough to incorporate all kinds of objects we want to model. 2.The representation must be unambiguous and only: A given representation must correspond to a single solid; and each object must have only one possible representation. The only representation allows us to compare two objects to determine equality. 3. Need / Correct: accurate modeling allows to represent the object without approximations. Systems that only accept representation by line segments approximate curved surfaces. 4.Impossibility of creating invalid objects, I.e. that do not correspond to a solid. 5.Representation closed: The representation must remain valid after the application of geometric transformations. For example, if there are duplicates of vertices by applying geometric transformations we can obtain different values ​​ for the same point 6.Representation compact to optimize the use of memory.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Characteristics of a solid model Example of invalid objects as solid. - The representation of a) does not clearly identify the faces of the cube, only indicates edges. - We can consider a sequence of 4 segments form a face? But solid b) would be wrong to consider solid. In general representations used do not have all the features presented, the model being chosen according to the characteristics of the object model.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Boolean operations The combination of Boolean operations allows objects by defining new objects independently of representation used. Operations are union,difference and interception. a) Objects A and B b) The U B c) A ∩ B d) A - B e) B - A

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Subtraction Subtract the volume of an object to another.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Grouping objects Add the two volumes. It is the removal of the overlying loop.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Union Add the two volumes, and removes the part of the overlay network.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Example - Ask Lego performed with Boolean operations. The solids are used cube and cylinder. This type of modeling is mainly used for regular objects as exemplified.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Types of Representation 1.Representation by Instantiating Primitives 2.Representation by Scanning 3.Representation by Boundary (Boundary Representation) 4.Representation for Spatial Decomposition 5.Constructive Representation (CSG)

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation by Instantiating Primitives The modeling system has pre-defined a set of useful 3D solid modeling to the desired. The user can control the shape of the object defining the parameters that characterize it. It provides for the combination of objects as by Boolean operations. Applied to complex parts.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation by Scanning The displacement of an object according to a trajectory defines another object : –Translation (Extrusion) –Rotation Ex: The translation a 2D rectangle along a perpendicular to the plane of that object creates a parallelepiped. A simple extension is to vary the size of the 2D object along the path.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation by Scanning The combination of Boolean operations objects created by scanning allows you to find other objects that would not be possible for scanning. Using this method without path constraints can result in inefficient modeling of the object. Ex: If the object intersects itself complicates the calculation of volume. Can not generate a valid solid if the motion is in the plane containing the 2D shape. In general applications convert objects created by scanning for other representations of objects.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation by Scanning - Example

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation by Scanning - Example 1. Defining a way to make scanning for translation.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation by Scanning - Example 2. Defining the shape of the section of the final object.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation by Scanning - Example Object obtained by translation.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation by Scanning - Example Object obtained by translation, rotation around the axis shifting and scaling along the route.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS By Boundary Representation (B-rep) The solids are described by its boundary surface. Uses the description by vertices, edges and faces. The most common representation is the boundary polygons per plans. Will be considered only with solid border 2-manifoldsIe the neighbors of any point of the border point are on a disk (that is to say that each edge is shared by two faces) (A) and (b) are 2-manifold(C) is not 2-manifold

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS By Boundary Representation (B-rep) Polyhedron Solid delimited by a set of polygons whose edges belonging to two polygons (for solids 2-manifolds). Formula Euler A simple polyhedron without holes, obeys Euler's formula: V - E + F = 2 V - Vertex E - Edges (edges) F - Faces

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS By Boundary Representation (B-rep) TheEuler's formula is necessary but not sufficient to ensure that an object is a simple polyhedron. Additional conditions: 1.Each edge connects 2 vertices and is shared by 2 faces 2.At least three edges are at the same vertex Generalization of Euler's Formula for polyhedra with holes: V - E + F - H = 2 (C - G) V - Vertex E - Edges (edges) F - Faces H - number of holes in the sides G - Number of holes crossing the object C - number of parts of the object

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Exercise

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation for Spatial Decomposition A solid is decomposed into: –In a number of more primitive solids than the original –The primitive solids are adjacent and do not intersect Types Representation for Spatial Decomposition –Cell Decomposition –Enumeration of Space Occupation –Octrees –Binary trees partition the space

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation for Spatial Decomposition Cell Decomposition In Cell Decomposition: There is a set of primitive cells, parameterized Curves can be Differs from Instance Primitives, by admitting the composition of more complex objects from other already established Gluing operation It is a union of cells that do not intersect a)Primitive cells to transform b)c) are the same final object created with different combinations

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation for Spatial Decomposition Enumeration of Space Occupation TheEnumeration of Space Occupation is a particular case of Cell Decomposition: Solid formed by identical cells of equal size placed in a regular grid. The cells are designated Voxels (Volume elements) by analogy with pixels It controls only the presence or absence of each cell in the grid The most common form is to cell cube The object is encoded by a single list of occupied cells

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation for Spatial Decomposition Octrees The Octree is similar to quadtree Theoctree is 3D and the division of space is in octants Number of nodes of an octree It is proportional to the object surface because of the necessity of the space division occurs only on the surface. Enumeration of octree

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Representation for Spatial Decomposition Binary Space Partitioning Trees (BSP) At each step, the space is divided by a plane of arbitrary position and orientation Each internal node of the tree is associated with a flat, two pointers (one for inside the polygon and the other to the outside). If a sub-space is homogeneous (fully indoors or outdoors), cease to be divided. (a)Concave polygon with the boundary defined by black lines. Dividing lines in dark gray. Interior light gray. (b)BSP tree.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Constructive Representation (CSG - Constructive Solid Geometry) The object is achieved by combining simple primitives using Boolean operators. The object is stored as a tree, where the interior nodes are operators and leaves are simple primitives Some nodes represent Boolean operations, while others perform translations, rotations and scalings.

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Exercise

COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS References 3D Modeling & Surfacing Bill Fleming Morgan Kaufmann, Academic Press, 1999 Introduction to Computer Graphics James Foley, A. van Dam, S. Feiner, J. Hughes, R. Phillips Addison-Wesley Publishing Company, 1996