image 2 stl at versoin 1.81 is genius programming, it has octrees and various algorytmhs that make good mesh from images...