Lukas Tönne LukasTonne
Lukas Tönne commented on pull request blender/blender#115270 2023-12-04 15:22:19 +01:00
Geometry Nodes: initial Volume Grid socket support

Removed, it's not needed at this point.

This distinction becomes necessary when using a static dispatch "apply" function where the set of possible types includes strings. For now the set of…

Lukas Tönne commented on pull request blender/blender#115270 2023-12-04 15:02:55 +01:00
Geometry Nodes: initial Volume Grid socket support

This allows casting a type VolumeGridPtr<T> to GVolumeGridPtr. VArray/GVArray works the same way, while Field/GField uses inheritance (Field is a GField). Probably both could work here,…

Lukas Tönne commented on pull request blender/blender#115270 2023-12-04 14:45:11 +01:00
Geometry Nodes: initial Volume Grid socket support

Old code, i suggest we clean this up when we know how to handle the cache and simplified grids etc.

Lukas Tönne commented on pull request blender/blender#115270 2023-12-04 14:42:56 +01:00
Geometry Nodes: initial Volume Grid socket support

Leftover from old code ... VolumeGrid is actually non-copyable now, so trying to use this constructor would cause an error anyway. Removed.

Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-04 14:36:42 +01:00
1e83478304 Use a single Converter template with two methods instead of separate converters.
d4315578c2 Move some internal includes to the source file.
Compare 2 commits »
Lukas Tönne commented on pull request blender/blender#115270 2023-12-04 14:18:21 +01:00
Geometry Nodes: initial Volume Grid socket support

Yeah that's what i had before

Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-04 13:02:37 +01:00
8a9e7def52 Fix build errors in new nodes.
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-04 12:49:59 +01:00
273a6b49cb Merge branch 'volume-grid-sockets' into grid-extension-test
37eac000e6 Cleanup: formatting.
b3666bea3a Merge branch 'main' into volume-grid-sockets
bc591770c4 Hide values on grid input sockets.
64fca45ab7 Ensure all outputs are written in the grid store node.
Compare 131 commits »
Lukas Tönne commented on pull request blender/blender#115270 2023-12-04 12:49:17 +01:00
Geometry Nodes: initial Volume Grid socket support

We could have a single (untemplated) VolumeGridPtr and then only access the internal OpenVDB grid as typed: get_grid() -> shared_ptr<openvdb::GridBase> `get_grid() -> shared_ptr<VolumeGrid…

Lukas Tönne commented on pull request blender/blender#115270 2023-12-04 12:42:15 +01:00
Geometry Nodes: initial Volume Grid socket support

API is back to returning VolumeGrid *.

Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-04 12:39:40 +01:00
37eac000e6 Cleanup: formatting.
b3666bea3a Merge branch 'main' into volume-grid-sockets
b183a1cd12 Compositor: Disable preview of Split node by default
771a0cf4e7 Fix: Dangling pointer in Split Viewer versioning
e617e36b21 I18N: Updated UI translations from git/weblate (55af06d62a579dcae).
Compare 60 commits »
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-04 12:38:10 +01:00
bc591770c4 Hide values on grid input sockets.
64fca45ab7 Ensure all outputs are written in the grid store node.
365e7eea6c Return the default value if grid sockets are used as values.
Compare 3 commits »
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-04 12:09:46 +01:00
56eb0045c7 Fix refcount when creating a typed copy of a grid pointer.
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-04 11:13:16 +01:00
821d98d0f1 Added a dedicated constructor function for making volume grid pointers.
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-04 09:00:41 +01:00
72ba9696c9 New node for solving poisson equation on grids.
b17f504c66 Sanity check for optional bounds return value.
Compare 2 commits »
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-03 13:23:10 +01:00
3d2f8001a3 Partial: revert volume API changes and return plain VolumeGrid pointers.
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-03 10:11:55 +01:00
0a1cc3fb5d Fix outputs when getting grid from volume is not found.
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-03 09:52:22 +01:00
f1566e278b Handle empty volume bounds return value in drawing code.
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-03 09:31:25 +01:00
88f30df8b6 Fixed empty grid constructor.
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-01 15:45:54 +01:00
e46a918533 Partial: Make ImplicitSharingPtr a base class of the volume gri pointers.
5c4e58d5a2 Fixed build issues due to ImplicitSharingPtr always storing const data now.
2f98d49922 Merge branch 'main' into volume-grid-sockets
36351f3796 Fix missing NULL check from fix for #113059 on Wayland/LIBDECOR
cefdb67db7 Cleanup: return managed pointer when copying geometry component
Compare 6 commits »