Blender Git Loki

Git Commits -> Revision 617954c

Revision 617954c by Jacques Lucke (master)
September 27, 2021, 08:17 (GMT)
Geometry Nodes: new Instance on Points node

This adds a new Instance on Points node that is a replacement
for the old Point Instance node. Contrary to the old node,
it does not have a mode to instance objects or collections
directly. Instead, the node has to be used with an Object/
Collection Info to achieve the same effect.

Rotation and scale of the instances can be adjusted in the node
directly or can be controlled with a field to get some variation
between instances.

The node supports placing different instances on different points.
The user has control over which instance is placed on which point
using an Instance Index input. If that functionality is used, the
Instance Geometry has to contain multiple instances that can are
instanced separately.

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

Commit Details:

Full Hash: 617954c1438096810ce8e47f09c25c8311baac4d
Parent Commit: 547f7d2
Lines Changed: +596, -290

2 Added Paths:

/source/blender/nodes/geometry/nodes/legacy/node_geo_point_instance.cc (+272, -0) (View)
/source/blender/nodes/geometry/nodes/node_geo_instance_on_points.cc (+203, -0) (View)

1 Deleted Path:

/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+0, -272)

11 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_geometry_set.hh (+4, -9) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/geometry_component_instances.cc (+83, -0) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+13, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/modifiers/intern/MOD_nodes_evaluator.cc (+12, -8) (Diff)
/source/blender/nodes/CMakeLists.txt (+2, -1) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_geometry_exec.hh (+2, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021