Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: Boolean operation

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2013
    Posts
    6

    Boolean operation

    how to use boolean operation between two solids? Do you have a better algorithms in CAD?
    Thank you!!

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Apr 2010
    Posts
    752
    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?

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2013
    Posts
    6
    Can the "constructive solid geometry" (CSG) save lots of boundary info about the two solid?

    If so, how shoud I do?


    Thank you !!

  4. #4
    Member Regular Contributor
    Join Date
    Jun 2013
    Posts
    490
    Quote Originally Posted by James.W View Post
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •