-
-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a check to remove degenerate/microscopic triangles from Transvo…
…xel. This is documented in the Transvoxel paper. We ignored it so far because it is quite rare (less than 1% of meshes in typical terrain) and did not cause problems in practice... so far. This is to workaround errors thrown by Jolt Physics, which doesn't ignore them instead. Microscopic triangles can also cause meshes to become empty and cause further errors, due to Jolt having to re-index meshes passed from the Godot Physics3DServer API. Unfortunately, that change makes meshing 15% slower (texturing off).
- Loading branch information
Showing
4 changed files
with
73 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters