Dendrite
GPU-based dendrite patterns generator with a space colonization algorithm in Unity.
Dendrite builds a branching model by feeding points as seed.
Rendering
Dendrite provides some rendering functions for Attraction, Node, Edge. (See sub classes of DendriteRenderingBase)
And DendriteMarchingCubesRendering is a volume renderer for Edge by GPU-based marching cubes algorithm.
Skinned Dendrite
SkinnedDendrite is a special type of Dendrite for a skinned mesh.
It builds a animated dendrite model with SkinnedMeshRenderer as a source. (by VolumeSampler utility)
Compatibility
Tested on Unity 2018.2.8f1, windows10 (GTX 1060). Requires Direct X environment.
Sources
- Algorithmic Design with Houdini - https://vimeo.com/305061631#t=1500s
- Modeling Trees with a Space Colonization Algorithm - http://algorithmicbotany.org/papers/colonization.egwnp2007.html
- Scrawk / Marching-Cubes-On-The-GPU - https://github.com/Scrawk/Marching-Cubes-On-The-GPU
- haolange / Unity-SeparableSubsurface - https://github.com/haolange/Unity-SeparableSubsurface
- mattatz/unity-volume-sampler - https://github.com/mattatz/unity-volume-sampler