Solid construction for CAM application
Hi, I'm quite new in OpenGl. I'm working to a Cad/Cam software and up to now I used opengl to draw tool movements with lines.
Now I would draw a manufacturing preview. I don't know what would be the best approach, but in my mind it should be something like this: draw the material (like a parallelepiped) and for each tool position subtract from the material the tool space (usually a cylinder).
My first approach has been to use OpenCSG but the huge amount of solid subtractions (1000-10000 positions circa) gave me a very slow render and some view problems (something like ghost shapes and holes that appear rotating the model).
Do you have some ideas/suggestions for me? Is there any other OpenGL based library to perform Solid Construction? Thanks in advance!