How do you find the volume of a mesh?
The idea behind calculating the volume of a mesh is to calculate a volume for each triangle of the mesh and add them up. Now, a triangle itself does not have volume; it is two dimensional. Instead we calculate the volume of a tetrahedron which goes from the origin (0,0,0) to the triangle.
What is the volume of a 3D triangle?
The area of a triangle is A=12bh. Essentially, to find to the volume of the triangular prism, you are multiplying the area of the triangle times the length or depth. So, the formula for the volume of a triangular prism would be V=12bhl.