Page MenuHome

Geometry Nodes: Implicit Position input in Set Position node.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Sep 18 2021, 11:37 AM.

Details

Summary

This change makes the Set Position node do nothing by default. The Position input is now hidden by default and is implicitly the position (similar to what we want to do in Noise nodes). The socket inspection also shows this already.
The implementation is very simple for now. Eventually, I want to integrate that with the socket declaration system (whereas a socket can specify what the default should be). However, before doing that I'd like to use the new node declaration system for geometry group nodes as well (so that this behavior can be properly exposed to the outside of a node group).

Diff Detail

Repository
rB Blender
Branch
implicit-position-input (branched from master)
Build Status
Buildable 17116
Build 17116: arc lint + arc unit

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.Sep 18 2021, 11:37 AM
Jacques Lucke (JacquesLucke) created this revision.
source/blender/modifiers/intern/MOD_nodes_evaluator.cc
324–332

Let's at least have a short comment mentioning that this isn't a long term solution.

This revision is now accepted and ready to land.Sep 20 2021, 6:37 PM