3 ms·
I'm looking for a good half-edge mesh library to use with Unity. In theory anything with C bindings should work. Only issue is I'll need a dll or equivalent for
by andybak 4y ago
I'm looking for a good half-edge mesh library to use with Unity. In theory anything with C bindings should work. Only issue is I'll need a dll or equivalent for Windows, Linux, MacOS (including Apple Silicon) and Android.
Anyone tried compiling this for Android? I'm a C++ dummy so it needs to be trivially easy. I usually waste an entire afternoon every time I tackle trying to compile native code.
- twelvechairs 4y agoYou could try open3d https://github.com/pezcode/open3d-core-android https://github.com/pezcode/open3d-core-android http://open3d.org/docs/0.16.0/python_api/open3d.geometry.HalfEdgeTriangleMesh.html http://open3d.org/docs/0.16.0/python_api/open3d.geometry.Hal...
- alottabit 4y agoIf you're open to writing your own, I found https://fgiesen.wordpress.com/2012/02/21/half-edge-based-mesh-representations-theory/ https://fgiesen.wordpress.com/2012/02/21/half-edge-based-mes... and https://fgiesen.wordpress.com/2012/03/24/half-edge-based-mesh-representations-practice/ https://fgiesen.wordpress.com/2012/03/24/half-edge-based-mes... to be good resources.
- andybak 4y agoI've actually got my own (partly - the core halfedge stuff is from another C# project). But it's performance I'm after. I have three options: 1. Burst compilation 2. Offload to the GPU (not sure if this is even a good use case for GPU compute) 3. Find a native library. (3) is potentially a quick fix but might limit my ability to add functionality. But it also offers the tempting possibility of getting a ton of functionality for "free".