Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gkjohnson/triangle-net-debug
Unity set up for debugging triangulation issues within Triangle.Net
https://github.com/gkjohnson/triangle-net-debug
graphics net polygons triangle unity unity3d
Last synced: 27 days ago
JSON representation
Unity set up for debugging triangulation issues within Triangle.Net
- Host: GitHub
- URL: https://github.com/gkjohnson/triangle-net-debug
- Owner: gkjohnson
- Created: 2017-08-20T03:51:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-20T18:41:56.000Z (over 7 years ago)
- Last Synced: 2024-10-18T21:58:22.546Z (3 months ago)
- Topics: graphics, net, polygons, triangle, unity, unity3d
- Language: C#
- Homepage:
- Size: 222 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# triangle-net-debug
Unity set up for debugging triangulation issues within Triangle.Net.
Uses slightly modified verion of Triangle.net from [this repo](https://github.com/akopetsch/triangle-unity).
## Use
![example](./docs/example.png)
The `example` scene contains a basic example triangulation setup.
#### Contour : MonoBehaviour
Collects the child objects within itself and generates a loop from them. Has utility functions for creating a `TriangleNet.Geometry.Contour` object for triangulation, as well.
If the `hole` flag is enabled, then the contour will be triangulated as a hole.
#### CreateMesh : MonoBehaviour
Collects all the contour objects within the scene and triangulates them into a single mesh.