Blender Git Loki
Git Commits -> Revision b084b57
Revision b084b57 by Jacques Lucke (master) May 20, 2021, 09:35 (GMT) |
Geometry Nodes: new geometry nodes evaluator The old geometry nodes evaluator was quite basic and missed many features. It was useful to get the geometry nodes project started. However, nowadays we run into its limitations from time to time. The new evaluator is more complex, but comes with new capabilities. The two most important capabilities are that it can now execute nodes in parallel and it supports lazy evaluation. The performance improvement by multi-threading depends a lot on the specific node tree. In our demo files, the speedup is measurable but not huge. This is mainly because they are bottlenecked by one or two nodes that have to be executed one after the other (often the Boolean or Attribute Proximity nodes) or because the bottleneck is multi-threaded already (often openvdb nodes). Lazy evaluation of inputs is only supported by the Switch node for now. Previously, geometry nodes would always compute both inputs and then just discard the one that is not used. Now, only the input that is required is computed. For some more details read D11191, T87620 and the in-code documentation. Differential Revision: https://developer.blender.org/D11191 |
Commit Details:
Full Hash: b084b57fbf6d2b6c2a1adb2192f5d82581cede5c
Parent Commit: 44e7192
Lines Changed: +1465, -253
5 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/modifiers/intern/MOD_nodes_evaluator.cc (+1373, -240) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_separate.cc (+17, -4) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_switch.cc (+21, -7) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+53, -2) (Diff)
/source/blender/modifiers/intern/MOD_nodes_evaluator.cc (+1373, -240) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_separate.cc (+17, -4) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_switch.cc (+21, -7) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+53, -2) (Diff)