Home

Awesome

Mesh Cutter

<img src="GIFs/Square.gif" align="right" width="150px">

A proof-of-concept Unity project for a mesh cutting algorithm. This is a simple implementation of an algorithm that splits in 2 any 3d manifold objects with genus 0. The split is done using a plane defined by the line drawn by the user and a depth in the same direction as the camera facing forward (i.e. when we draw a line, we don't see the generated plane since it's perfectly aligned with the camera and the line)

Implementation

For each object tagged as sliceable:

Examples

Here are a few examples of simple shapes being cut.

CylinderRefractive SphereToonlit Suzanne
<img src="GIFs/Cylinder.gif" width="250px"><img src="GIFs/Sphere.gif" width="250px"><img src="GIFs/Suzanne.gif" width="250px">

Note

Future work

Here are some of the things that could be worked on or improved: