View Full Version : cut an object

04-30-2012, 10:13 AM
hai guys,

I wanna ask whether openGL has a routine function to cut an object? if doesn't, do you have any idea to cut an object?

thank you

carsten neumann
04-30-2012, 12:29 PM
Take a look at glClipPlane (http://www.opengl.org/sdk/docs/man/xhtml/glClipPlane.xml).

05-01-2012, 12:33 AM
thanks casten.. I looked at glClipPlane before. But what I really want to know whether we can cut an object with another object? such as what is done in CAD system.

thank you..

05-01-2012, 01:11 AM
OpenGL is for drawing. For complex modeling it is best to use CAD system.

There is also this :
But it only gives results for drawing.

05-01-2012, 02:02 AM
thanks zbuffer.indeed I'm not planning to create a complex modeling with openGL. but the project I did, lead me just to cut partially or fully an object I created before. =D