2003 by Jim X. Chen: Introduction to Modeling Jim X. Chen George Mason University.

Slides:



Advertisements
Similar presentations
COMP 175 | COMPUTER GRAPHICS Remco Chang1/6103b – Shapes Lecture 03b: Shapes COMP 175: Computer Graphics February 3, 2015.
Advertisements

3D modeling. Modeling and visualization Reality model Picture modeling Visualization.
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
Constructive Methods in Modelling Lecture 7 (Modelling)
DEFINING OBJECTS - 3D REPRESENTATIONS Surface representations Polygon tables 3D curves and curved surfaces Sweep representations Constructive solid geometry.
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Object Representation 고려대학교 컴퓨터 그래픽스 연구실.
2002 by Jim X. Chen:
GATE D Object Representations (GATE-540) Dr.Çağatay ÜNDEĞER Instructor Middle East Technical University, GameTechnologies & General Manager SimBT.
Modelling. Outline  Modelling methods  Editing models – adding detail  Polygonal models  Representing curves  Patched surfaces.
Representing Geometry in Computer Graphics Rick Skarbez, Instructor COMP 575 September 18, 2007.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Dr. Abdulrahman M. Al-Ahmari Industrial Engineering.
ENDS 375 Foundations of Visualization Geometric Representation 10/5/04.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Industrial Engineering Program King Saud University.
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.
Curves and Surfaces (cont’) Amy Zhang. Conversion between Representations  Example: Convert a curve from a cubic B-spline curve to the Bézier form:
CS-321 Dr. Mark L. Hornick 1 3-D Object Modeling.
C O M P U T E R G R A P H I C S Stuff Jian Chen January 15, 2010 Transformations 1/10 Describing Shape By Andries van Dam.
3D Object Representations 2005, Fall. Course Syllabus Image Processing Modeling Rendering Animation.
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 Spline curves 1/23 Curves and Surfaces.
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.
TECH 104 – Technical Graphics Communication Week 13: 3D Modeling Basics.
Part 6: Graphics Output Primitives (4) 1.  Another useful construct,besides points, straight line segments, and curves for describing components of a.
Geometric Modeling using Polygonal Meshes Lecture 1: Introduction Hamid Laga Office: South.
Disediakan oleh Suriati bte Sadimon GMM, FSKSM, UTM, 2004 SOLID MODELLING.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Solid Modelling Graphics Systems / Computer.
3D Intro. 3D Technology Progression G-4 G-4
2D/3D Shape Manipulation, 3D Printing Shape Representations Slides from Olga Sorkine February 20, 2013 CS 6501.
Cubes, Prisms, Pyramids, Cylinders, Cones and Spheres
CS559: Computer Graphics Lecture 24: Shape Modeling Li Zhang Spring 2010.
Copyright © Curt Hill Visualization of 3D Worlds How are these images described?
3D Object Representations
Unit 6 3D Modeling Concepts
Module 9 Solid Modeling.
GPH 338 Computer Animation Survey
Artistic Surface Rendering Using Layout Of Text Tatiana Surazhsky Gershon Elber Technion, Israel Institute of Technology.
Procedural Models How to easily generate complex data?
Solid Figures Vocabulary.
In the name of God Computer Graphics Bastanfard. Curve Function(2) Other method is approximate it using a poly-line. Just locate a set of points along.
Three-Dimensional Object Representation
Constructive Solid Geometry Ray Tracing CSG Models
Geometrically Bounded Wireframe AIC (Part 510) Grouping of curves relevant for 3-dimensional wireframe modeling without topological constructs Elementary.
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Solid Modeling Prof. Lizhuang Ma Shanghai Jiao Tong University.
1 대상물체의 형상화를 위해 사용되는 기술  인공물체 : 기하학적 Primitive ( 선, 면, 구, 육면체 ) 등을 이 용하여 형상화. 입력물 : 형상화 물체의 3 차원 좌표값 출력물 : 선구조형상 (Wire framed objects) Technique:Geometric.
Solid Modeling Dr. Scott Schaefer.
Slide 1Lecture Fall ‘00 Surface Modeling Types: Polygon surfaces Curved surfaces Volumes Generating models: Interactive Procedural.
Computer – Aided Design Terminology You must have a generic understanding of commands and techniques which are used in a number of packages (YOU CANNOT.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
TECH 104 – Technical Graphics Communication Week 12: 3D Modeling Basics.
CS552: Computer Graphics Lecture 28: Solid Modeling.
3-D Modeling Concepts V part 2.
Computer graphics 3D solid modeling.
3D MODELLING PART-3 Wikitechy.
Constructing Objects in Computer Graphics
3-D Modeling Concepts V part 2.
Unit 11: 3-Dimensional Geometry
3D Object Representations
3D Object Representation
Unit 11: 3-Dimensional Geometry
3-D Modeling Concepts V part B.
Three-Dimensional Object Representation
3-D Modeling Concepts V part 2.
3D Object Representation
Overview of Modeling 김성남.
Solid Geometry.
Presentation transcript:

by Jim X. Chen: Introduction to Modeling Jim X. Chen George Mason University

by Jim X. Chen: What is Modeling a process of constructing a virtual 3D graphics object Modeling tools: creating and constructing complex 3D models fast and easy. Rendering is a process of creating images from graphics models.

by Jim X. Chen: A graphics model geometrical descriptions (particles, vertices, polygons) and associated attributes (colors, shadings, transparencies, materials) can be saved in a file using a standard (3D model) file format.

by Jim X. Chen: Models Organizational models: hierarchies representing institutional bureaucracies Quantitative models: equations describing econometric, financial, socialogical,... systems Geometric models: collections of components with well-defined geometry and their interconnections Deformable models: that change forms

by Jim X. Chen:

6 POLYGON MESHES list of vertices - polygon; list of edges - polygon list of polygons -- objects Plane equation from 3 vertices: Ax + By +Cz + D = 0 Normal: (A,B,C) = k(P 1 P 2 x P 1 P 2 ) A, B, and C are proportional to the signed areas of the projections of the polygon onto the (y, z), (x, z), and (x, y) planes. If the polygon is parallel to the (x, y) plane, then A = B = 0.

by Jim X. Chen:

8

9 PARAMETRIC BICUBIC SURFACES General form of cubic curve: Q(u) = U ·M ·G where G, the geometry vector, is a constant If we allow G to vary in 3D along some path: Then, a functional description is often tesselated to produce a polygon-mesh approximation to the surface (trianglular polygon patches) For a fixed t 1, Q(s, t 1 ) is a curve because G(t 1 ) is constant. If G i (t) are cubics, the surface is said to be a parametric bicubic surface

by Jim X. Chen: Hermite Surfaces Curve: and Surface: Since: we have:

by Jim X. Chen: Where Where x coordinates, coordinates of the tangent vectors and twists are specified

by Jim X. Chen: Just as the Hermite cubic curves, the Hermite bicubic permits C 1 and G 1 continuity from one patch to the next 1st, to have C 0 continuity, the matching curves of the two patches must be identical, which means the control points for the two surfaces must be identical along the edge To have C 1 continuity, the control points along the edge and the tangent and twist vectors across the edge be equal. To have G 1 continuity, the tangent and twist vectors across the edge be in the same direction, but do not need to have the same magnitude..

by Jim X. Chen: Bezier Surfaces The Bezier bicubic formulation can be derived in exactly the same way as above. The results are: B-Spline Surfaces The B-Spline bicubic formulation can be derived in exactly the same way also. The results are: Normals to Surfaces The cross product between thes and t tangent vectors of the surface Q(s, t) results in the normal at givens andt:

by Jim X. Chen: Solid Modeling Methods (Modeling Solids)

by Jim X. Chen: Creating solid models. A solid model is defined by volumes. Hierarchy of entities from low to high: keypoints  lines  areas  volumes. You cannot delete an entity if a higher- order entity is attached to it. Volumes Areas Lines & Keypoints Lines Areas Volumes

by Jim X. Chen: File formats Representing Solids (solid models) The domain of representation should be large to allow a useful set of physical objects (solids) The representation should be unambiguous Modeling Tools have their own file formats Volumes Areas Lines & Keypoints Lines Areas Volumes

by Jim X. Chen: Simple 3D Half-Spaces Sphere Cylinder Cone Torus Box Plane it splits space into two infinite half-spaces you can use an infinite cylinder and two planes to make a capped cylinder You can also get a box from 6 planes…

by Jim X. Chen: Modeling Approaches Two approaches to creating a solid model: Top-down Bottom-up Top-down modeling starts with a definition of volumes (or areas), which are then combined in some fashion to create the final shape. add

by Jim X. Chen: Approaches Bottom-up modeling starts with keypoints, from which you “build up” lines, areas, etc. You may combine both methods.

by Jim X. Chen: Top-Down Modeling Top-down modeling starts with a definition of volumes (or areas), which are then combined in some fashion to create the final shape. The volumes or areas that you initially define are called primitives. Primitives are located and oriented with the help of the working plane. The combinations used to produce the final shape are called Boolean operations.

by Jim X. Chen: Primitives 2-D primitives include rectangles, circles, triangles, and other polygons.

by Jim X. Chen: Primitives 3-D primitives: blocks, cylinders, prisms, spheres, and cones.

by Jim X. Chen: Top-Down Modeling...Primitives When you create a 2-D primitive, a modeling tool usually defines an area, along with its underlying lines and keypoints. When you create a 3-D primitive, a modeling tool usually defines a volume, along with its underlying areas, lines and keypoints.

by Jim X. Chen: Top-Down Modeling...Primitives You can create primitives by specifying their dimensions or by picking locations in the graphics window.

by Jim X. Chen: Top-Down Modeling Boolean Operations Boolean operations: combinations of geometric entities: add, subtract, intersect, divide, glue, and overlap, etc. The “input” to Boolean operations: geometric entities, simple primitives or complicated volumes imported from a CAD system. add Input entities Boolean operation Output entity(ies)

by Jim X. Chen: Boolean CSG Operations Union Addition, A Ú B Intersection A Ù B Difference Subtraction, A – B, A Ù not B Difference is not commutative

by Jim X. Chen: A more complicated example Difference of: Intersection of Sphere and Cube Union of 3 Cylinders -=

by Jim X. Chen: Bottom-Up Modeling Most modeling tools use top-down approach Low level programming systems usually adopts with bottom-up modeling

by Jim X. Chen: Primitive Instancing In a hierachical model, there are parts that are exactly the same. For example, all four wheels of a car can be the same model. Instead of saving four copies of the model, we save just one primitive model and three instances If we modify the primitive, we know that the primitive and the instances are identically changed.

by Jim X. Chen: Sweep Representations a 2D area swept along a linear path normal to the plane of the area to create a volume 2D/3D along a trajectory through space defines a new object -- sweep

by Jim X. Chen: More representations Boundary Representations describe object by its surface boundaries: shared edges have pointers to 2 polygons, etc. Spatial-partitioning representations Spatial-Occupancy Enumeration identical solids called voxels (volume elements) arranged in a fixed regular grid. Octrees: divide-&-conquer power of subdivision. Binary Space-partitioning Trees: recursively divide space into pairs of subspaces, each separated by a plane. Originally used in determining visible surfaces in graphics.

by Jim X. Chen: Physics-based Modeling Modeling triangular polyhedron: all vertices and the surrounding triangular shapes are congruent

by Jim X. Chen: Modeling Tools Examples in 3D Studio MAX 3, the book