Simulation Nodes: Implement subframe mixing #107599

Merged
Hans Goudey merged 5 commits from HooglyBoogly/blender:simulation-subframe-mixing into main 2023-05-12 15:59:01 +02:00

5 Commits

Author SHA1 Message Date
Hans Goudey 3b55a0ea89 Cleanup 2023-05-09 15:51:01 -04:00
Hans Goudey 9b66d473b1 Fixes, cleanup 2023-05-09 15:49:15 -04:00
Hans Goudey db523f2347 Fix sharing info equal 2023-05-09 14:56:10 -04:00
Hans Goudey 372cf62011 Merge branch 'main' into simulation-subframe-mixing 2023-05-09 14:53:31 -04:00
Hans Goudey 4ba30ee257 WIP: Simulation Nodes: Implement subframe mixing
Add an implementation for the placeholder to subframe mixing.
The purpose of subframe mixing is higher quality motion blur,
without requiring baking the entire geometry output for every
substep. Linear mixing can fill the gaps while maintaining lower
memory usage. All attributes are mixed, besides builtin topology
storage attributes. Mixing is only supported when the domain size
is unchanged, or when an `id` attribute gives a mapping between
items when the topology is changed. Attributes that are ignored
for better performance.

TODO?
- [ ] ID attribute based mixing on domains besides points
- [ ] Mixing geometries from nested instances
- [ ] Testing and demo file
2023-05-03 23:20:34 -04:00