Hi everyone,
This is perhaps not a typical post here. I'm an ecologist (previously an electrical engineer) working with the shapes of crowns of trees in tropical forests. I need to calculate the volumes of these crowns, for which I have points describing the surface. There are lots of tools for working with convex polyhedrons (i.e., like you wrap the points in plastic wrap). However, these tree crowns are not convex (e.g., the polyhedron can have inward cuts).
I figured that game programmers would be far more advanced that other communities when it comes to working with polyhedrons. Do you folks have any routines that would calculate the volumes (and perhaps other metrics) of polyhedrons like this? There are indeed algorithms to carry out the calcuations (see a discussion about the topic here: https://math.stackexchange.com/questions/803076/how-to-calculate-volume-of-non-convex-polyhedron/803429), but I'd like to avoid the weeks-long effort it would take to implement such a routine.
If you all have any suggestions, I would be very grateful, and I would surely acknowedge the contribution in any publication that results. If I've posted in the wrong area, my apologies, and I'll be happy to move the discussion to where it belongs.
Thanks very much,
Alex