Lukas Tönne LukasTonne
Lukas Tönne pushed to fast-fourier-transform-node at LukasTonne/blender 2023-12-25 08:42:13 +01:00
c386e2acd9 Improved fft node evaluates input values with its own context.
Lukas Tönne pushed to fast-fourier-transform-node at LukasTonne/blender 2023-12-24 15:55:03 +01:00
0f73dbe16c Update for SocketValueVariant.
Lukas Tönne pushed to fast-fourier-transform-node at LukasTonne/blender 2023-12-24 15:24:59 +01:00
0c72835635 Merge branch 'main' into fast-fourier-transform-node
6692390501 EEVEE: Metal: Enable attachmentless FB support for VSM update FB
258ba00a03 Fix: EEVEE-Next: Wrong function declaration order
2794afc84e Fix: EEVEE-Next: Broken capture shader compilation
c0fe51678e Fix #116489: Improper use of enum in GLSL file
Compare 884 commits »
Lukas Tönne commented on pull request blender/blender#113445 2023-12-24 15:21:35 +01:00
Geometry Nodes: Menu Switch Node

Passing the graph info to the constructor now, same as get_bake_lazy_function, and then insert the socket mapping in the constructor. Would be nice to have some kind of correctness check in…

Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-24 15:17:35 +01:00
32aa34f527 Pass graph info to the lazy function constructor for index mapping.
Lukas Tönne commented on pull request blender/blender#113445 2023-12-24 11:36:25 +01:00
Geometry Nodes: Menu Switch Node

There is a bug in both the Index Switch and Menu Switch nodes here: If you remove all items the set_default_remaining_node_outputs call will crash, because the lf_index_by_bsocket for the…

Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-22 11:09:11 +01:00
7fa0978d4d Same name for multifunction Menu input as the node itself.
Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-22 11:04:09 +01:00
d79d88490c Implement generic multifunction using index mask from_groups.
bb1394a733 Doxygen syntax.
Compare 2 commits »
Lukas Tönne commented on pull request blender/blender#113445 2023-12-22 09:38:59 +01:00
Geometry Nodes: Menu Switch Node

Ok, IndexMask::from_groups looks like it could work here. I originally swapped the inner and outer loops to be able to devirtualize the input arrays one at a time. The implementation in `Index…

Lukas Tönne commented on pull request blender/blender#113445 2023-12-21 18:43:33 +01:00
Geometry Nodes: Menu Switch Node

Did IndexMask construction change? I implemented this months ago, and IIRC back then constructing a full index mask for each enum case was basically doing the same thing, looping over the full…

Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-21 16:57:59 +01:00
f354e43353 Implemented link search connection for the Menu input.
Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-21 13:54:50 +01:00
d0c857b9c9 Remove the unsupported SOCK_TEXTURE type from the menu switch node.
c4556661ef Use existing utility functions to simplify menu node declaration.
e2eb6e74d1 Removed unused function declaration.
Compare 3 commits »
Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-21 13:29:02 +01:00
8829086260 Rename runtime flags for conflicts and move enum to blenkernel.
7d09ba12ec Fix user count of enum items when copying or freeing interface values.
Compare 2 commits »
Lukas Tönne commented on pull request blender/blender#113445 2023-12-21 11:57:05 +01:00
Geometry Nodes: Menu Switch Node

Yes this is a runtime flag. Moving the flag into RuntimeNodeEnumItems doesn't work though, because when there is a conflict the enum_items pointer is set to null. The items themselves are…

Lukas Tönne commented on pull request blender/blender#113445 2023-12-21 11:28:20 +01:00
Geometry Nodes: Menu Switch Node

Removed enum baking, not relevant any more.

Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-21 11:23:19 +01:00
9bc96256ce Move RuntimeNodeEnumItems into the blender::bke namespace.
cf31b0c792 Merge branch 'main' into nodes-menu-switch
49f8f0669c Cleanup: Reorder update class with more functions at the top.
e165624885 Compositor: Only execute compositor if result is viewed
de61ec3e6f Anim: Unit Tests for "Insert Available"
Compare 77 commits »
Lukas Tönne commented on pull request blender/blender#113445 2023-12-21 10:59:29 +01:00
Geometry Nodes: Menu Switch Node

Ah forgot about that trick.

Lukas Tönne commented on pull request blender/blender#113445 2023-12-21 10:36:25 +01:00
Geometry Nodes: Menu Switch Node

I removed the menu socket from bake items. It already gets rejected by Bake nodes and simulation zones due to the SimulationItemsAccessor::supports_socket_type list, so this should be safe. We…

Lukas Tönne commented on pull request blender/blender#113445 2023-12-21 10:34:24 +01:00
Geometry Nodes: Menu Switch Node

I didn't need to add another update flag after all. I just make sure the enum items of the menu switch are only replaced when the node changes, and then compare the new node tree interface…

Lukas Tönne pushed to nodes-menu-switch at LukasTonne/blender 2023-12-21 10:31:02 +01:00
2b6b563573 Removed menu sockets from bake items support, for now.