PDA

View Full Version : Boolean operation



James.W
11-05-2013, 06:20 PM
how to use boolean operation between two solids? Do you have a better algorithms in CAD?
Thank you!!

carsten neumann
11-06-2013, 12:53 AM
You may want to search with the term "constructive solid geometry" (CSG), that will turn up lots of info on the topic. Otherwise, could you be a bit more specific in your question, I'm not really sure what you are asking for?

James.W
11-14-2013, 06:01 AM
Can the "constructive solid geometry" (CSG) save lots of boundary info about the two solid?

If so, how shoud I do?


Thank you !!

GClements
11-14-2013, 06:56 AM
Can the "constructive solid geometry" (CSG) save lots of boundary info about the two solid?
Do you want to render the intersection or difference between two volumes, or calculate it? If it's the former, you can use the stencil buffer (that's what it's for). If it's the latter, then you're talking about a software algorithm which has nothing to do with OpenGL.