fast_noise icon indicating copy to clipboard operation
fast_noise copied to clipboard

ID number

Open unicomp21 opened this issue 4 years ago • 1 comments

When using cellular, how do I get the "ID number" of the nearest neighbor? This is useful when using marching techniques to extract 3D geometry/meshes, etc.

http://www.carljohanrosen.com/share/CellNoiseAndProcessing.pdf

unicomp21 avatar Jul 20 '21 11:07 unicomp21

see ref implementation here: https://github.com/bhickey/worley/blob/master/worley.c#L60

uint32_t *ID

unicomp21 avatar Jul 20 '21 11:07 unicomp21