Download presentation
Presentation is loading. Please wait.
Published byDarrell Stanley Modified over 9 years ago
1
3D Object Representations 2005, Fall
2
Course Syllabus Image Processing Modeling Rendering Animation
3
Modeling How do we.. Represent 3D objects in a computer? Construct representations quickly and/or automatically with a computer? Manipulate 3D objects with a computer? Different methods for different object representations
4
Representations of Geometry 3D Representations provide the foundations for Computer Graphics, Computer-Aided Geometric Design, Visualization, Robotics They are languages for describing geometry SemanticsSyntax valuesdata structures operations algorithms Data structures determine algorithms!
5
3D Object Representations Raw data Point cloud Range Image Polygon soup Surface Mesh Subdivision Parametric Implicit Solids Voxels BSP tree CSG Sweep High-level structures Scene graph Skeleton Application specific
6
Point Cloud Unstructured set of 3D point samples Acquired from range finer, computer vision, etc
7
Range Image Set of 3D points mapping to pixels of depth Image Acquired from range scanner
8
Point Sample Rendering an object representation consisting of a dense set of surface point samples, which contain color, depth and normal information Point Sample Rendering (Surfel)
9
Polygon Soup Unstructured set of polygons Many polygon models are just lists of polygons Created with interactive modeling systems?
10
Polygon Soup Evaluation What are the advantages? It ’ s very simple to read, write, transmit, etc. A common output format from CAD modelers The format required for OpenGL BIG disadvantage: No higher order information No information about neighbors No open/closed information No guarantees on degeneracies
11
3D Object Representations Raw data Point cloud Range Image Polygon soup Surface Mesh Subdivision Parametric Implicit Solids Voxels BSP tree CSG Sweep High-level structures Scene graph Skeleton Application specific
12
Curved Surfaces Motivation Exact boundary representation for some objects More concise representation than polygonal mesh
13
Surfaces What makes good surface representation? Accurate Concise Intuitive specification Local support Affine invariant Arbitrary topology Guaranteed continuity Natural parameterization Efficient display Efficient intersections
14
Mesh Connected set of polygons (usually triangles) May not be closed
15
Subdivision Surface Coarse mesh & subdivision rule Define smooth surfaces as limit of sequence of refinements Subdivision (Smooth Curve) Subdivision Surface
16
Key Questions How refine mesh? Aim for propertied like smoothness Loop Subdivision Scheme How store mesh? Aim for efficiency for implementing subdivision rules
17
Subdivision Surface Advantages Simple method for describing complex surfaces Relatively easy to implement Arbitrary topology Local support Guaranteed continuity Multiresolution Difficulties Intuitive specification Parameterization Intersections
18
Parametric Surface Boundary defined by parametric functions x = f x (u, v) y = f y (u, v) z = f z (u, v) Example: ellipsoid
19
Parametric Surface Tensor product spline patchs Each patch is defined by blending control points Careful constrains to maintain continuity
20
Parametric Surface Advantages Easy to enumerate points on surface Possible to describe complex shapes Disadvantages Control mesh must be quadrilaterals Continuity constrains difficult to maintain Hard to find intersections
21
Implicit Surfaces Boundary defined by implicit function f(x, y, z) = 0 Example linear (plane) ax + by + cz + d = 0 Ellipsoid
22
Implicit Surface Examples
23
Implicit Surfaces Advantages Easy to test if point is on surface Easy to intersect two surfaces Easy to compute z given x and y Disadvantages Hard to describe specific complex shapes Hard to enumerate points on surface
24
Comparison Feature Polygon Mesh Implicit Surface Parametric Surface Subdivision Surface Accurate Concise Intuitive specification Local support Affine invariant Arbitrary topology Guaranteed continuity Natural parameterization Efficient display Efficient intersections No Yes No Yes No Yes No Yes No Yes No Yes No Yes No Yes No Yes No Yes No
25
3D Object Representations Raw data Point cloud Range Image Polygon soup Surface Mesh Subdivision Parametric Implicit Solids Voxels BSP tree CSG Sweep High-level structures Scene graph Skeleton Application specific
26
Solid Modeling Represent solid interiors of objects Surface may not be described explicitly
27
Solid Modeling Motivation Some acquisition methods generate solids (Ex: CAT scan) Some applications requires solids (Ex: CAD/CAM) Some algorithms require solids (Ex: RT with refraction)
28
Solid Modeling Representations What makes a good solid representation? Accurate Concise Affine invariant Easy acquisition Guaranteed validity Efficient boolean operation Efficient display
29
Voxels Partition space into uniform grid Grid cells are called a voxels (like pixels) Store properties of solid object with each voxel Occupancy Color Density Temperature Etc.
30
Voxel Acquisition Scanning devices MRI (Magnetic Resonance Imaging) CAT (Computed Axial Tomography) Simulation FEM (Finite Element Method )
31
Voxels
32
Advantage Simple, intuitive, unambiguous Same complexity for all objects Natural acquisition for some applications Trivial boolean operations Disadvantages Approximates Not affine invariant Large scale requirement Expensive display
33
Quadtrees & Octrees Refine resolution of voxels hierarchically More concise and efficient for non-uniform objects
34
Quadtree Display
35
Binary Space Partitions (BSPs) Recursive partition of space by planes Mark leaf cells as inside or outside object
36
Binary Space Partitions (BSPs) recursively divide space into pairs of subspaces each separated by a plane of arbitrary orientation and position
37
Constructive Solid Geometry (CSG) Represent solid object as hierarchy of boolean operations Union Intersection Difference
38
Constructive Solid Geometry
39
Constructive Solid Geometry (CSG) CSG Acquisition Interactive modeling programs CAD/CAM
40
Comparison FeatureVoxelsOctreeBSPCSG Accurate Concise Affine invariant Easy acquisition Guaranteed validity Efficient boolean operations Efficient display No Some Yes No Some Yes No Some No Yes No Yes Some Yes Some No Yes No
41
To generate a 3-D surface, revolve a two dimensional entity, e.g., a line or plane about the axis in space. called surfaces of revolution Surface of Revolution (SOR)
43
Sweep surfaces (1/2) A 3-D surface is obtained by traversing an entity such as a line, polygon or curve, along a path in space the resulting surfaces are called sweep surfaces Frequently used in Geometric modeling ex) entity : point path : curve Generates curve
45
Closed polygons and curves generates finite volume by sweeping transformation ex) square or rectangle swept along a - straight path yields a parallel piped - circle on straight path cylinder - Rotation is also possible Sweep surfaces (2/2)
46
Sweep Solid swept by curve along trajectory
47
3D Object Representations Raw data Point cloud Range Image Polygon soup Surface Mesh Subdivision Parametric Implicit Solids Voxels Octree BSP tree CSG Sweep High-level structures Scene graph Skeleton Application specific
48
Scene Graph Union of objects at leaf nodes
49
Skeleton Graph of curves with radii
50
Application Specific
51
Taxonomy of 3D Representations
52
Equivalence of Representations Thesis Each fundamental representation has enough expressive power to model the shape of any geometry object It is possible to perform all geometric operation with any fundamental representation Analogous to Turing-Equivalence All computers today are turing-equivalent, but we still have many different processors
53
Computational Differences Efficiency Combinatorial complexity (Ex: O( n log n)) Space/time trade-offs (Ex: Z-buffer) Numerical accuracy/stability (Degree of polynomial) Simplicity Ease of acquisition Hardware Acceleration Software creation and maintenance Usability Designer interface vs. computational engine
54
Complexity vs. Verbosity Tradeoff
55
Advanced Modeling Procedural Modeling Fractal Modeling Grammar-based Modeling Particle System Physically Based Modeling
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.