How to calculate the volume of a 3D mesh object the surface of which is made up triangles
Reading this paper, it is actually a pretty simple calculation. The trick is to calculate the signed volume of a tetrahedron – based on your triangle and topped off at the origin. The sign of the volume comes from whether your triangle is pointing in the direction of the origin. (The normal of the triangle … Read more