Is it possible to do Boolean operations between polygons?
I want to do a figure like this in OpenGL and I thinking of doing it with a sphere and four subtractions with four smaller spheres.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, that’s not possible with just OpenGL.
OpenGL is a very low level API. it allows you to display polygons and that’s about it.
What you’re describing is usually done in the application level above OpenGL.
Look at the bottom of this article for some references on libraries that does that:
http://en.wikipedia.org/wiki/Boolean_operations_on_polygons