[Closed] Constructive solid geometry – how-to?
Hi everyone,
I’d like to write my own GSG functions, not because the Booleans in 3dsMax are that bad and not just for fun, but because I want to know how it’s done…
I want to start building geometry in 2d space, a simple example for this would be to cut multiple windows out of a polygonal plane.
Does anyone know a good article or book to start with? prettyPixel’s article Geometrical calculations : points, lines, planes : intersections, distances, angles in this forum already helped me a lot, but I still don’t know how to compute the triangulation of the mesh after inserting the different shapes of the windows, so any help is appreciated!
One way to do CSG is using BSP trees. Take a look at this articles:
BSP boolean operations
BlenderDev/BooleanDevelopment
Good luck.