mapbox/martini

How does this differ from delatin?

indus opened this issue ยท 3 comments

indus commented

@mourner Could you please compare martini to delatin?

I need tins in Unity and may port one of the two to C#. I don't need a fast client-side generation just preparing a set of static mesh-tiles.

Good point, definitely need to add a section to the readme. In short, you should go with Delatin.

Martini:

  • Only works on square 2^n+1 x 2^n+1 grids.
  • Generates a hierarchy of meshes (pick arbitrary detail after a single run)
  • Optimized for meshing speed rather than quality.

Delatin:

  • Works on arbitrary raster grids.
  • Generates a single mesh for a particular detail.
  • Optimized for quality (as little triangles as possible for a given error).
indus commented

Thanks - that clarified a lot.

๐Ÿ™‡โ€โ™‚๏ธ Keeping the issue open until I address it in the project's readme.