blender/release
Jacques Lucke bf47fb40fd Geometry Nodes: fields and anonymous attributes
This implements the initial core framework for fields and anonymous
attributes (also see T91274).

The new functionality is hidden behind the "Geometry Nodes Fields"
feature flag. When enabled in the user preferences, the following
new nodes become available: `Position`, `Index`, `Normal`,
`Set Position` and `Attribute Capture`.

Socket inspection has not been updated to work with fields yet.

Besides these changes at the user level, this patch contains the
ground work for:
* building and evaluating fields at run-time (`FN_fields.hh`) and
* creating and accessing anonymous attributes on geometry
  (`BKE_anonymous_attribute.h`).

For evaluating fields we use a new so called multi-function procedure
(`FN_multi_function_procedure.hh`). It allows composing multi-functions
in arbitrary ways and supports efficient evaluation as is required by
fields. See `FN_multi_function_procedure.hh` for more details on how
this evaluation mechanism can be used.

A new `AttributeIDRef` has been added which allows handling named
and anonymous attributes in the same way in many places.

Hans and I worked on this patch together.

Differential Revision: https://developer.blender.org/D12414
2021-09-09 12:54:20 +02:00
..
bin
darwin Update all README to clearify intention or usage 2021-05-31 18:58:42 +02:00
datafiles Fix T90414: New GPencil icons 2021-09-06 17:35:12 +02:00
freedesktop Linux: prefer using dedicated GPU when launching Blender 2021-06-25 15:28:19 +02:00
license Licenses: Attribution document 2020-12-11 18:44:11 +01:00
lts Blender LTS: match download urls with latest changes in buildbot. 2021-05-19 16:41:51 +02:00
scripts Geometry Nodes: fields and anonymous attributes 2021-09-09 12:54:20 +02:00
text Move license files to license subfolder 2020-09-24 12:49:36 +02:00
windows BuildBot: Cleanup 2021-06-01 15:18:11 +02:00