Blender Git Loki

Git Commits -> Revision a7628ec

Revision a7628ec by Dalai Felinto (master)
December 16, 2020, 16:13 (GMT)
Geometry Nodes: Poisson disk point distribution node/method

This patch does two things:
* Introduce a Seed to the random distribution method
* Bring in a new distribution method for the point scattering node

Patch Review: https://developer.blender.org/D9787

Note: This commit doesn't not handle doversion. Which means that users
need to manually update their files that were using the Point Distribute
node and reconnect inputs to the "Maximum Density" socket.

Original patch by Sebastian Parborg, with changes to not rely on the cy
libraries and overall cleanup.

Patch review by Jacques Lucke, besides help with the new "heap" system
that was required for this algorithm.

Based on Cem Yuksel. 2015. Sample Elimination for Generating Poisson Disk
Sample. Sets. Computer Graphics Forum 34, 2 (May 2015), 25-32
http://www.cemyuksel.com/research/sampleelimination/

Commit Details:

Full Hash: a7628ec22abca8d1aaada75a8227638947168a3a
Parent Commit: d23894d
Lines Changed: +521, -9

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_point_distribute_poisson_disk.cc (+280, -0) (View)

9 Modified Paths:

/source/blender/blenlib/BLI_kdopbvh.h (+1, -0) (Diff)
/source/blender/blenlib/intern/BLI_kdopbvh.c (+19, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+26, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+171, -7) (Diff)
/source/blender/nodes/geometry/node_geometry_util.hh (+7, -1) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021