Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 975 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 975 Bytes

Description

Simple metaballs meshing algorithm for realtime applications.

Can run in parallel using Unity's job system. Compatible with Burst compiler.

Surface search and voxelization works by seaching for one point on the blob's surface and flood filling from there. Iso function sampling accelerated by BVH tree. No spatial constraints.

Triangulation is based on Marching Cubes algorithm with slight modifications to create less degenerate triangles.

Movie_011.mp4

TODO

  • Try Naive Surface Nets for triangulation, should generate better geometry at lower resolutions
  • Improve sampling vectorization: change data layout of node contents (Store 4-wide metaball structs), get rig of branching
  • Find a way to reduce HashMap lookups count when propagating through surface
  • Use SAH for more optimal nodes splitting

References

https://paulbourke.net/geometry/polygonise/