Geometry Nodes: Add selection and depth options to realize instances #104832

Closed
Angus Stanton wants to merge 15 commits from ab_stanton/blender:add-selection-realize-instances into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

15 Commits

Author SHA1 Message Date
Angus Stanton 7416cfe064 Address comments 2023-02-16 18:43:48 +00:00
Angus Stanton ffa53a4fb2 Fix default value of depth 2023-02-16 16:56:21 +00:00
Angus Stanton f1d361266e Merge branch 'main' into add-selection-realize-instances 2023-02-16 16:30:05 +00:00
Angus Stanton e492b2de48 Merge branch 'master' into add-selection-realize-instances 2023-01-12 10:04:04 +00:00
Angus Stanton a28a9bc0df Address comments 2023-01-12 10:03:32 +00:00
Angus Stanton b8ea715239 Formatting 2023-01-06 10:25:45 +00:00
Angus Stanton 242dc8a407 Update to use attribute propagation 2023-01-06 10:22:27 +00:00
Angus Stanton 4fc0c2da73 Merge branch 'master' into add-selection-realize-instances 2023-01-06 10:22:10 +00:00
Angus Stanton c531488033 Merge branch 'master' into add-selection-realize-instances 2022-12-16 11:29:02 +00:00
Angus Stanton ab69f6d66b Make transforms VArray const ref 2022-12-16 11:28:34 +00:00
Angus Stanton 115fc990b2 Add depth option to realize instances
- Moves join geometry code from node to GEO_join_geometry.hh and
  join_geometry.cc
2022-12-16 02:08:42 +00:00
Angus Stanton b062b4bb8c Fixes:
- Style changes to auto
- Don't use selection at depths > 0
2022-12-12 18:19:08 +00:00
Angus Stanton 2a9df9b46d Address style comments 2022-12-10 19:38:38 +00:00
Angus Stanton 9ec14f7446 const correctness 2022-12-10 18:58:32 +00:00
Angus Stanton 21f96afc7e Add selection field to realize instances
Works by only realizing instances in selection, and copying instances
not in selection over to new geometry set

Differential Revision: https://developer.blender.org/D16743
2022-12-10 18:55:05 +00:00