Cad/Cam Unit 2 UO4 Solid Modeling-Constructive Solid Geometry
Cad/Cam Unit 2 UO4 Solid Modeling-Constructive Solid Geometry
Cad/Cam Unit 2 UO4 Solid Modeling-Constructive Solid Geometry
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!)
Example
Notes
Pros
Low memory consumption
Simple combining
Exact representation of complex surfaces
Cons
Slow and difficult processing
Not unique representation
CSG processing
Rendering Algorithms
ray casting (tracing)
extended depth buffer algorithm
Evaluation/Conversion Algorithms
boundary representation
octree
constructive cubes