I'm using QGLWidget
to draw 3-D objects, the input to my program is the faces of the shapes.
Meaning that when I want to draw a cube, I got list of 6 elements each one represent a face and each face contain 4 points, (x,y,z) for each point.
The drawing is done, but I'm trying to implement a cross section feature, so far the result shape after the cross section is a hollow objects, How Can I get the cross section results as if the shapes were not hollowed?