Details
SHA-1: 78c1c1a1705eef442b06ea3f991d54f74fc9566a
* Geometry Nodes: support matrix socket in accumulate field node
This adds support for transform matrices in the accumulate field node. This is quite
useful to evaluate chains of parent matrices (although branching is not easily possible
with this approach).
The main tricky thing here is that matrices are generally accumulated using
multiplication and the order of multiplication matters. For other data types we
currently always use addition. I don't have use cases for other ways to accumulate
matrices right now, so maybe it's fine not to add additional options here for now.
It should be fairly straight forward to version this to support more accumulation
modes in the future. Additionally, I hope we get a more general solution for custom
accumulations at some point.
Pull Request: https://projects.blender.org/blender/blender/pulls/121326
Transform Socket supported
Details
SHA-1: 78c1c1a1705eef442b06ea3f991d54f74fc9566a * Geometry Nodes: support matrix socket in accumulate field node This adds support for transform matrices in the accumulate field node. This is quite useful to evaluate chains of parent matrices (although branching is not easily possible with this approach). The main tricky thing here is that matrices are generally accumulated using multiplication and the order of multiplication matters. For other data types we currently always use addition. I don't have use cases for other ways to accumulate matrices right now, so maybe it's fine not to add additional options here for now. It should be fairly straight forward to version this to support more accumulation modes in the future. Additionally, I hope we get a more general solution for custom accumulations at some point. Pull Request: https://projects.blender.org/blender/blender/pulls/121326