Skip to content
tarsssPublic

About

Realtime implicit surface triangulation

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Realtime implicit surface triangulation

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages