nofaceinbook / muxp

Mesh Updater X-Plane
GNU Lesser General Public License v3.0
18 stars 3 forks source link

Missing trias in terrain #3

Closed nofaceinbook closed 4 years ago

nofaceinbook commented 4 years ago

The earclip triangulation function used (tripy.py) has issues to generate trias that are very narrow. So in some cases the mesh might end up with no terrain. Will be solved by either changing the minimum epsilon value or an ohter earclip algorithm.

nofaceinbook commented 4 years ago

MissingTerrainTria An example of a missing tria.

nofaceinbook commented 4 years ago

Dividing epsilon by 100 seems to work. At least works much better.

nofaceinbook commented 4 years ago

Still Epsilon devided by 1000 causes few issues. Generally to be re-written....

nofaceinbook commented 4 years ago

Solved with new triangulation algorithm