Lukas Tönne LukasTonne
Lukas Tönne pushed to volume-grid-sockets-cache-rewrite at LukasTonne/blender 2023-12-07 18:20:04 +01:00
d388546473 Added a list of simplification levels for grids.
Lukas Tönne pushed to volume-grid-sockets-cache-rewrite at LukasTonne/blender 2023-12-07 17:47:39 +01:00
5c58c7bc21 Removed unused 'clear' argument.
Lukas Tönne pushed to volume-grid-sockets-cache-rewrite at LukasTonne/blender 2023-12-07 17:38:12 +01:00
358f742b76 Splitting API between file cache and load/simplify in VolumeGrid.
Lukas Tönne commented on pull request blender/blender#115270 2023-12-07 16:23:04 +01:00
Geometry Nodes: initial Volume Grid socket support

Note to self: remove these, they don't copy on write and are shortcuts to the same functions in VolumeGrid.

Lukas Tönne created branch volume-grid-sockets-cache-rewrite in LukasTonne/blender 2023-12-07 13:49:33 +01:00
Lukas Tönne pushed to volume-grid-sockets-cache-rewrite at LukasTonne/blender 2023-12-07 13:49:33 +01:00
877aa0ea40 Disabled/removed code related to the volume file cache.
Lukas Tönne commented on pull request blender/blender#115270 2023-12-07 12:05:34 +01:00
Geometry Nodes: initial Volume Grid socket support

I think the VolumeGrid::entry_ pointer isn't really necessary, it's just set in the constructor and never changed. We could just do a lookup whenever the cache entry associated with a `VolumeGrid…

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

It looks like tree and metadata users are mutually exclusive, so this can probably be simplified (confirmed with Brecht)

  • Creating a cache entry (from VolumeGrid constructors) starts out…
Lukas Tönne commented on pull request blender/blender#115270 2023-12-07 11:00:59 +01:00
Geometry Nodes: initial Volume Grid socket support

Agreed.

Currently:

  • In VolumeGridVector we use implicit sharing with VolumeGrid. Each openvdb::GridBase::Ptr (std::shared_ptr) should always have exactly 1 user. Except ... -…
Lukas Tönne commented on pull request blender/blender#115270 2023-12-07 10:37:42 +01:00
Geometry Nodes: initial Volume Grid socket support

This is basically an internal function, it only gets called by other API functions BKE_volume_grid_load and BKE_volume_grid_openvdb_for_write (basically a "make local" that loads the grid and…

Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-07 10:07:47 +01:00
a0ee5b18e6 Merge branch 'volume-grid-sockets' into grid-extension-test
868bc66fd6 Cleanup: formatting.
870c11fa58 Default return value if the "apply" operator returns a value.
6818919bb2 Change friend class declaration to struct.
348a469b88 grid_for_write accessor in VolumeGridPtr can be const.
Compare 92 commits »
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-07 10:07:33 +01:00
868bc66fd6 Cleanup: formatting.
870c11fa58 Default return value if the "apply" operator returns a value.
6818919bb2 Change friend class declaration to struct.
348a469b88 grid_for_write accessor in VolumeGridPtr can be const.
Compare 4 commits »
Lukas Tönne pushed to volume-grid-sockets at LukasTonne/blender 2023-12-07 09:54:31 +01:00
ad248cea56 Merge branch 'main' into volume-grid-sockets
5475d8c5cf EEVEE: Lookdev HDRI Spheres
e8f60d4de2 Cleanup: replace unordered_map for cursor lookups with an array
488ba5cd9a Fix #115811: Wayland picker cursor isn't displayed
96e41bfd19 GHOST/Wayland: update cursor names
Compare 86 commits »
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-06 16:33:16 +01:00
c30ef799db New node for deactivating voxels based on value.
f9c1bcf997 Boundary input in Poisson solver node.
8505357294 Added topoloy combine node.
Compare 3 commits »
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-06 11:33:23 +01:00
6e57945aef Voxelize tiles before capturing grid values.
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-06 11:23:42 +01:00
7362a03509 Fixed some compiler errors.
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-06 10:23:11 +01:00
47b7c71d3a cleanup
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-05 21:43:02 +01:00
beb3fcbd2d General utility function for capturing an input field as a grid.
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-05 20:14:41 +01:00
ba679648c8 Fixes for Grid Capture and Poisson Solver nodes.
Lukas Tönne pushed to grid-extension-test at LukasTonne/blender 2023-12-05 18:51:26 +01:00
97deb11fda Fix namespace for grid capture node.