Blender Git Loki

Git Commits -> Revision 536f9eb

Revision 536f9eb by Johnny Matthews (master)
September 24, 2021, 19:03 (GMT)
Geometry Nodes: Random Value Node

This node replaces the deprecated Attribute Randomize node, populating
a vector, float, integer or boolean field with random values. Vector,
float, and integer have min/max settings, which are also field aware.
The boolean type has a probability value for controlling what portion
of the output should be true. All four types have a field seed input
which is implicitly driven by the index, otherwise, all values would
be the same "random" value.

The Random Float node is now deprecated like other nodes, since it is
redundant with this node.

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

Commit Details:

Full Hash: 536f9eb82e07778565b789f7408f3ce81aa6d675
Parent Commit: c87e6b2
Committed By: Hans Goudey
Lines Changed: +787, -440

3 Added Paths:

/source/blender/nodes/function/nodes/legacy/node_fn_random_float.cc (+86, -0) (View)
/source/blender/nodes/function/nodes/node_fn_random_value.cc (+299, -0) (View)
/source/blender/nodes/geometry/nodes/legacy/node_geo_attribute_randomize.cc (+344, -0) (View)

2 Deleted Paths:

/source/blender/nodes/function/nodes/node_fn_random_float.cc (+0, -86)
/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc (+0, -344)

11 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+3, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/node.cc (+4, -2) (Diff)
/source/blender/blenloader/intern/versioning_290.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+28, -0) (Diff)
/source/blender/modifiers/intern/MOD_nodes_evaluator.cc (+4, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+4, -2) (Diff)
/source/blender/nodes/NOD_function.h (+3, -1) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -1) (Diff)
/source/blender/nodes/NOD_static_types.h (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021