Cad/Cam Unit 2 UO4 Solid Modeling-Constructive Solid Geometry

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 8

CAD/CAM

Unit 2
UO 4
Solid Modeling-
Constructive Solid
Geometry
www.sccg.sk/~zimanyi/lectures/PG
www.sccg.sk/~zimanyi/lectures/PG
www.sccg.sk/~zimanyi/lectures/PG
Constructive Solid Geometry

 CSG
 Composing of Primitives:
 Sphere, Cone, Cube, Cylinder, ...
 Operations: I, U, -, ...
 The leafs of CSG-tree are primitives and
the operations are in the rest of the tree
nodes. The CSG-tree represents the
solid. (Scene graph idea!)

Department of Computer Graphics


www.uniba.sk/~kpgso Marek Zimányi,
Marek
4Zimányi,
Andrej Ferko
and Image Processing, FMPI, Comenius University, Bratislava
Polygonal representation - CSG

Example 

Department of Computer Graphics


www.uniba.sk/~kpgso Marek Zimányi,
Marek
5Zimányi,
Andrej Ferko
and Image Processing, FMPI, Comenius University, Bratislava
Department of Computer Graphics
www.uniba.sk/~kpgso Marek Zimányi,
Marek
6Zimányi,
Andrej Ferko
and Image Processing, FMPI, Comenius University, Bratislava
Polygonal representation - CSG

Notes
 Pros
 Low memory consumption
 Simple combining
 Exact representation of complex surfaces
 Cons
 Slow and difficult processing
 Not unique representation

Department of Computer Graphics


www.uniba.sk/~kpgso Marek Zimányi,
Marek
7Zimányi,
Andrej Ferko
and Image Processing, FMPI, Comenius University, Bratislava
Polygonal representation - CSG

CSG processing

 Rendering Algorithms
 ray casting (tracing)
 extended depth buffer algorithm

 Evaluation/Conversion Algorithms
 boundary representation
 octree
 constructive cubes

Department of Computer Graphics


www.uniba.sk/~kpgso Marek Zimányi,
Marek
8Zimányi,
Andrej Ferko
and Image Processing, FMPI, Comenius University, Bratislava

You might also like