Computational-geometry
LibTessDotNet
Our great sponsors
Computational-geometry | LibTessDotNet | |
---|---|---|
2 | 2 | |
1,139 | 295 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 2 years ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
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
LibTessDotNet
-
Any algorithm to have many evenly placed triangles for this mesh?
here's a lib that unity itself uses AFAIK: https://github.com/speps/LibTessDotNet
-
(Ab)using the SpriteShapeController as basis for mesh generation (time lapse).
I do the shrinking multiple times and every time I move the curve a little more forward. This gives me a strip (the area between the two curves). I then turn this into a mesh using triangulation. I formerly used LibTessDotNet (https://github.com/speps/LibTessDotNet) but then switched to Poly2Tri (http://github.com/MaulingMonkey/poly2tri-cs). Poly2Tri gave me better results and support for custom points within the mesh (Steiner Points). I needed that because all my lighting is vertex based. In the end I combine all those meshes into one static mesh. Finally I optimize and compress it and save it in the scene. It's a little hard to explain without pictures so I made one here: https://kamgam.com/reddit/2.5d-terrain-generation.jpg
What are some alternatives?
delaunator-sharp - Fast Delaunay triangulation of 2D points implemented in C#.
NGraphics - NGraphics is a cross platform library for rendering vector graphics on .NET. It provides a unified API for both immediate and retained mode graphics using high quality native renderers.
SeamAwareDecimater - Mesh simplification with UV's boundary preserved
AssimpNet
flipon-tiny - An open-source minimalist but playable version of Flipon
OpenTK - The Open Toolkit library is a fast, low-level C# wrapper for OpenGL, OpenAL & OpenCL. It also includes windowing, mouse, keyboard and joystick input and a robust and fast math library, giving you everything you need to write your own renderer or game engine. OpenTK can be used standalone or inside a GUI on Windows, Linux, Mac.
FastNoise - Fast Portable Noise Library - C# C++ C Java HLSL GLSL JavaScript Rust Go
Helix Toolkit - Helix Toolkit is a collection of 3D components for .NET.
khan-api - Documentation for (and examples of) using the Khan Academy API
Oxyplot - A cross-platform plotting library for .NET
MathForGameDevelopers - Sample code for my YouTube series.
Interactive Data Display for WPF - Interactive Data Display for WPF is a set of controls for adding interactive visualization of dynamic data to your application. It allows to create line graphs, bubble charts, heat maps and other complex 2D plots which are very common in scientific software. Interactive Data Display for WPF integrates well with Bing Maps control to show data on a geographic map in latitude/longitude coordinates. The controls can also be operated programmatically.