GPv3: Initial Geometry Nodes support #112535

Merged
Falk David merged 61 commits from filedescriptor/blender:gpv3-geometry-nodes into main 2023-10-10 16:49:39 +02:00

61 Commits

Author SHA1 Message Date
Jacques Lucke 0fb4cf0528 Merge branch 'main' into gpv3-geometry-nodes
buildbot/vexp-code-patch-coordinator Build done. Details
2023-10-10 16:00:24 +02:00
Falk David 36729fa34d Cleanup 2023-10-10 15:15:07 +02:00
Falk David 378d43973f Fix tests and fix insertion bug for empty groups
buildbot/vexp-code-patch-coordinator Build done. Details
2023-10-10 15:08:58 +02:00
Falk David 86ecaa099f Simplify `get_varray_for_input` 2023-10-10 14:13:39 +02:00
Falk David 6f9afc7372 Override `get_varray_for_input` for `GreasePencilLayerFieldContext`
buildbot/vexp-code-patch-coordinator Build done. Details
2023-10-10 12:43:09 +02:00
Falk David d9375b88a0 Move `eval_drawing_*` function to grease pencil 2023-10-10 11:33:32 +02:00
Falk David c99d7c51a3 Cleanup `grease_pencil_layer_drawing` function 2023-10-10 11:13:40 +02:00
Falk David 89d4fe4d02 Refactor "Set Position" 2023-10-09 14:55:01 +02:00
Falk David 446de31bdd Use `const` and `is_empty()` 2023-10-09 14:23:00 +02:00
Falk David 9863b91b83 Cleanup 2023-10-09 14:19:47 +02:00
Falk David 46d483b0bd Replace loops with `array_utils::fill_index_range` 2023-10-09 14:10:11 +02:00
Falk David 51ce90b6f8 Cleanup 2023-10-09 13:42:22 +02:00
Falk David d2538a5d2b Merge branch 'main' into gpv3-geometry-nodes 2023-10-09 13:40:59 +02:00
Falk David 1afe783817 Move implementation of some nodes to #113444 2023-10-09 12:24:41 +02:00
Jacques Lucke 98a5e4009b support endpoint selection node with grease pencil 2023-10-07 23:55:32 +02:00
Jacques Lucke 3ce5151dc1 fix domain enum 2023-10-07 23:55:13 +02:00
Falk David b2a02fb956 Hide layer domain when gpv3 is not enabled 2023-10-06 19:16:19 +02:00
Falk David 2e6958899f Merge branch 'main' into gpv3-geometry-nodes 2023-10-06 18:06:44 +02:00
Falk David 80aeb6081d Only show Grease Pencil domain with experimental option 2023-10-06 17:59:12 +02:00
Falk David 4906fdcc1a Revert changing comment 2023-10-06 17:55:07 +02:00
Falk David c6dd7f6fb6 Remove blank line 2023-10-06 17:54:21 +02:00
Falk David 3186150ce6 Revert custom data changes 2023-10-06 17:53:53 +02:00
Falk David f0197f6f99 Fix curve trim with curve and gp geometry 2023-10-06 16:42:17 +02:00
Falk David 0cad679822 Add rna attributes API for grease pencil layers 2023-10-06 16:40:49 +02:00
Falk David 2bc36f1823 Sync layer customdata to layer tree when editing 2023-10-06 16:40:31 +02:00
Falk David 4b4ea12b7f Merge branch 'main' into gpv3-geometry-nodes 2023-10-05 12:17:34 +02:00
Jacques Lucke 45f6114cf5 fix Set Position 2023-09-29 21:14:49 +02:00
Jacques Lucke 48ac22d717 cleanup 2023-09-29 16:08:11 +02:00
Jacques Lucke 153ec1924f cleanup 2023-09-29 15:52:50 +02:00
Jacques Lucke 28a9ff0900 various cleanups 2023-09-29 15:52:45 +02:00
Jacques Lucke 4bbc5a38e4 cleanup 2023-09-29 15:37:29 +02:00
Jacques Lucke 5ccc9fe841 support evaluate on domain node 2023-09-29 15:32:34 +02:00
Jacques Lucke 8e34b57ebe support Transform Geometry node 2023-09-29 14:50:58 +02:00
Jacques Lucke aad50d0bc2 support viewer node 2023-09-29 14:42:22 +02:00
Jacques Lucke 117972c09d support capture attribute node 2023-09-29 14:36:49 +02:00
Jacques Lucke 46064ce3bd support store named attribute on points/curves domain 2023-09-29 14:35:39 +02:00
Jacques Lucke 3a8d5c8e68 initial working blur node 2023-09-29 14:00:12 +02:00
Jacques Lucke c010a219c0 Merge branch 'main' into gpv3-geometry-nodes 2023-09-29 12:43:57 +02:00
Falk David 0a140c6845 Merge branch 'main' into gpv3-geometry-nodes 2023-09-28 11:40:38 +02:00
Falk David 929e93ba7a Add `CustomData_grow_and_shift` 2023-09-28 11:39:21 +02:00
Falk David cebf54ca39 Add `get_eval_drawing_from_grease_pencil_layer` 2023-09-28 11:38:41 +02:00
Falk David 02447f5a6d Fix compiler errors after rebase 2023-09-26 11:03:17 +02:00
Falk David f0c9163270 Fix curve trim to work for curves and gp 2023-09-26 11:03:17 +02:00
Falk David 9c29b7ba7c Make default `get_varray_for_input` case and add comment 2023-09-26 11:03:17 +02:00
Falk David 7d20b15886 Handle `GeometryFieldInput` in layer context 2023-09-26 11:03:17 +02:00
Falk David baf623b98b Fix comment 2023-09-26 11:03:17 +02:00
Falk David 6b4120f46d Add grease pencil to print function of geometry set 2023-09-26 11:03:17 +02:00
Falk David 6f7c69f924 Fix compiler error 2023-09-26 11:03:17 +02:00
Falk David 79abc40a5a WIP set position node 2023-09-26 11:03:17 +02:00
Falk David c77feee2d3 WIP field context for grease pencil layers 2023-09-26 11:03:17 +02:00
Falk David bb70d07000 Support "Domain Size" node 2023-09-26 11:03:17 +02:00
Falk David e3dac83d2f Update grase pencil icon in spreadsheet 2023-09-26 11:03:17 +02:00
Falk David 15d2f23208 Small cleanup in curve trim node 2023-09-26 11:03:17 +02:00
Falk David 4d1dc707c6 Support "Curve Length" 2023-09-26 11:03:17 +02:00
Falk David 4075212ffd Store named attribure on layer domain 2023-09-26 11:03:17 +02:00
Falk David 3f272ed3f6 Add support for "Trim Curve" 2023-09-26 11:03:17 +02:00
Falk David db526c9f0c Add GreasePencilInfo 2023-09-26 11:03:17 +02:00
Falk David 3549dec978 Attributes for grease pencil geometry component 2023-09-26 11:03:17 +02:00
Falk David d22faaf9f3 Allow Grease Pencil to use Geometry Nodes 2023-09-26 11:03:17 +02:00
Falk David 4d9d2987cf Compiles 2023-09-26 11:03:17 +02:00
Falk David 4015209e32 WIP 2023-09-26 11:03:16 +02:00