Thijs Koerselman
Thijs Koerselman

Reputation: 23300

Cutting a 3d shape using a plane

I have a shape made of triangles in 3d. The shape is intersecting a plane. I would like to make the plane cut the shape, so to slice the intersecting triangles and return the (new) triangles making up the newly formed (cut) shape. So extra triangles will have to be generated to facilitate for the new edge.

Could anyone please point me to some resources on how to do this?

Upvotes: 1

Views: 1402

Answers (1)

abenci
abenci

Reputation: 8675

Implement intersect3D_SegmentPlane() from the following source http://softsurfer.com/Archive/algorithm_0104/algorithm_0104B.htm for each triangle edge.

Upvotes: 1

Related Questions