210 likes | 376 Views
3D modeling. Modeling and visualization. Picture. model. Reality. modeling. Visualization. 3D modeling. Grid (voxel) Vector. Voxel modeling. 0 = not in the solid 1 = in the solid. Quadrant tree (4-tree, QuadTree). Octant tree (8-tree, OcTree). Vector modeling. B-reprezentation
E N D
Modeling and visualization Picture model Reality modeling Visualization
3D modeling • Grid (voxel) • Vector
Voxel modeling 0 = not in the solid 1 = in the solid
Vector modeling • B-reprezentation • Primitive solids • 2 ½ D modeling • CSG modeling
Table of vertecies v1 v2 v4 v3 v5 v6 v8 v7
Table of edges e1 v1 v2 e4 e2 v4 e3 v3 e6 e5 e8 e7 v5 e9 e12 v8 v7 e10 e11
Table of faces e1 e4 P1 e2 e3 P3 e6 e5 e8 P4 e7 v5 e9 e12 e10 e11
Primitive solids modeling Box Two oposite vertecies Or Two oposite vertecies of the base and the height
Primitive solids in AutoCAD • Box • Sphere • Cylinder • Cone • Wedge • Torus • ….
2 ½ D modeling • Modeling of 3D solids by transformations of 2D objects • Move/Extrude • Rotate/Revolve • …… i.e. moving along a curve
Extrude • Rectangle → Box • Circle → Cylinder
Revolve • Rectangle → Cylinder • Triangle → Cone • Circle → Sphere / Torus
Computer Solid Geometry (CSG) modeling • Set operation • Union • Intersection • Subtract / Erase • CSG tree
CSG tree subtract{ union{ box{[0,0,0][4,4,1]} cylinder{[4,2,0],[4,2,1],1} } cylinder{[3,3,0][3,3,5],0.5} }