Author Message
nextstep

Joined: 06 Jan 2007
Posts: 539

Posted: Mon Oct 20, 2014 2:27 am    Post subject: Constructive solid geometry (CSG)

Hi all,
Constructive solid geometry (CSG) is a technique used in solid modeling. Constructive solid geometry allows a modeler to create a complex surface or object by using Boolean operators to combine objects. Often CSG presents a model or surface that appears visually complex, but is actually little more than cleverly combined or decombined objects.
Typically, the used Boolean operations on sets are: union, intersection and difference.
In 3D computer graphics and CAD CSG is often used in procedural modeling. CSG can also be performed on polygonal meshes, and may or may not be procedural and/or parametric.
The attached example shows the result of applying the Boolean operations on spheres: union (green), intersection(red) and difference (yellow).
 Code: { "Iso3D": { "Name": [ "CSGSpheres" ], "Component": [ "DifferenceSpheres", "UnionSpheres", "IntersectSpheres" ], "Description": [ "CSG example" ], "Fxyz": [ "((x-0.7)*(x-0.7)+y*y+z*z-1)*min((x-0.7)*(x-0.7)+y*y+z*z-1,(x+0.3)*(x+0.3)+y*y+z*z-1)+0.02", "min((x-4.7)*(x-4.7)+y*y+z*z-1,(x-3.5)*(x-3.5)+y*y+z*z-1)", "max((x-0.7)*(x-0.7)+y*y+z*z-1,(x-2.)*(x-2.)+y*y+z*z-1)" ], "Xmax": [ "0.5", "6", "2" ], "Xmin": [ "-2", "2", "0" ], "Ymax": [ "2", "2", "2" ], "Ymin": [ "-2", "-2", "-2" ], "Zmax": [ "2", "2", "2" ], "Zmin": [ "-2", "-2", "-2" ] } }

CSGSpheres by taha_ab, on Flickr
_________________
Cheers,
Abderrahman
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT Page 1 of 1

 Jump to: Select a forum MathMod----------------MathMod Progress & featuresMathematical Models CollectionHow toBugsMathMod for WindowsMathMod for Linux/UnixMathMod For MACOSXMathMod TutorialsOther Mathematical ToolsOpen Discussion K3DSurf----------------K3DSurf Discuss/DiscussionsHow toK3DSurf math related questionsK3DSurf for WindowsK3DSurf for MacOSK3DSurf for LinuxOnline K3DSurf: J3DSurfNewsBugsOnline DocumentationAccount Activation Issue ?/ Problème d'activation de votre compte ?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum