Computational-geometry
delaunator-sharp
Our great sponsors
Computational-geometry | delaunator-sharp | |
---|---|---|
2 | 4 | |
1,139 | 364 | |
- | - | |
0.0 | 3.9 | |
over 1 year ago | 5 months ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Computational-geometry
- Math for Game Dev
-
Resource About Mesh Cutting
https://github.com/Habrador/Computational-geometry#8-deform-mesh
delaunator-sharp
-
Using Voronoi polygons for simplified continent generation
Well, the easiest option would probably be to use a different Delaunay/Voronoi library. Delaunator (C# bindings here) should be a pretty good option: it's fast, and there's a good explanation of how to use the data structures it generates. There is some weirdness with how points at the edge of the domain work that you may have to work around, but that will probably be easier than trying to modify another algorithm or write your own. I know I've struggled to implement the algorithms for calculating Voronoi diagrams/Delaunay triangulations, even though I feel like I have a decent high-level understanding of how Fortune's algorithm is supposed to work.
-
Algorithm that covers a whole area with points, with values based on the original points at each iteration.
Yes ! Exactly. I already started working on it, and it's going well, but I am having a little trouble working with this. I can't find any tutorials online though, so I have to do figure it out on my own :)
-
How do they code Denaulay triangulation in Unity?
Unless you really want to learn the details of the triangulation algorithm, I recommend to just use a open source implementation in C#. Here's one that works fine with Unity: https://github.com/nol1fe/delaunator-sharp
What are some alternatives?
LibTessDotNet - C# port of the famous GLU Tessellator - prebuilt binaries now available in "releases" tab
UnityLibrary - :books: Library of all kind of scripts, snippets & shaders for Unity
SeamAwareDecimater - Mesh simplification with UV's boundary preserved
com.unity.netcode.gameobjects - Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
flipon-tiny - An open-source minimalist but playable version of Flipon
Harmony - A library for patching, replacing and decorating .NET and Mono methods during runtime
FastNoise - Fast Portable Noise Library - C# C++ C Java HLSL GLSL JavaScript Rust Go
UniTask - Provides an efficient allocation free async/await integration for Unity.
khan-api - Documentation for (and examples of) using the Khan Academy API
unity-delaunay - A Delaunay/Voronoi library for Unity, and a simple destruction effect
MathForGameDevelopers - Sample code for my YouTube series.
simulator - A ROS/ROS2 Multi-robot Simulator for Autonomous Vehicles