Blender Git Loki

Git Commits -> Revision d985751

Revision d985751 by Jacques Lucke (master)
January 13, 2021, 11:44 (GMT)
Geometry Nodes: improve Point Distribute node

This greatly simplifies the Point Distribute node. For a poisson disk
distribution, it now uses a simpler dart throwing variant. This results
in a slightly lower quality poisson disk distribution, but it still
fulfills our requirements: have a max density, minimum distance input
and stability while painting the density attribute.

This new implementation has a number of benefits over the old one:
* Much less and more readable code.
* Easier to extend with other distribution algorithms.
* Easier to transfer more attributes to the generated points later on.
* More predictable output when changing the max density and min distance.
* Works in 3d, so no projection on the xy plane is necessary.

This is related to T84640.

Differential Revision: https://developer.blender.org/D10104

Commit Details:

Full Hash: d985751324a81d0227d163981cc561968a88ff68
Parent Commit: ed1042e
Lines Changed: +179, -469

1 Deleted Path:

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

4 Modified Paths:

/source/blender/makesrna/intern/rna_nodetree.c (+4, -2) (Diff)
/source/blender/nodes/CMakeLists.txt (+0, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+175, -180) (Diff)
/source/blender/nodes/geometry/node_geometry_util.hh (+0, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021