Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-09-27 11:16:38 +0300
committerJacques Lucke <jacques@blender.org>2021-09-27 11:17:17 +0300
commit617954c1438096810ce8e47f09c25c8311baac4d (patch)
tree8cbca34265f3ee5a867bbe206520309055aab20f /source/blender/nodes/NOD_geometry.h
parent547f7d23cafb682d3ac6d1348d70caef411ecc51 (diff)
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
Diffstat (limited to 'source/blender/nodes/NOD_geometry.h')
-rw-r--r--source/blender/nodes/NOD_geometry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/NOD_geometry.h b/source/blender/nodes/NOD_geometry.h
index b37d4956e7a..bf780042600 100644
--- a/source/blender/nodes/NOD_geometry.h
+++ b/source/blender/nodes/NOD_geometry.h
@@ -80,6 +80,7 @@ void register_node_type_geo_curve_trim(void);
void register_node_type_geo_delete_geometry(void);
void register_node_type_geo_distribute_points_on_faces(void);
void register_node_type_geo_edge_split(void);
+void register_node_type_geo_instance_on_points(void);
void register_node_type_geo_input_index(void);
void register_node_type_geo_input_material(void);
void register_node_type_geo_input_normal(void);