Geometry Nodes: Add OpenVDB grid operators
Adds four new grid operator nodes that wrap OpenVDB's differential operators. All nodes take a grid input and output a grid, potentially with a different data type. New nodes: - Grid Curl: Calculate curl of vector field (Vec3 → Vec3) - Grid Divergence: Calculate divergence of vector field (Vec3 → Float) - Grid Gradient: Calculate gradient of scalar field (Float → Vec3) - Grid Laplacian: Calculate Laplacian of scalar field (Float → Float) These operators enable vector calculus operations on volume grids for effects like flow analysis, vortex detection, etc. Co-authored-by: Hans Goudey <hans@blender.org> Pull Request: https://projects.blender.org/blender/blender/pulls/146845
This commit is contained in:
committed by
Hans Goudey
parent
fdfbb3ad20
commit
0a77a57c4e
BIN
tests/files/modeling/geometry_nodes/volume/grid_operators.blend
(Stored with Git LFS)
Normal file
BIN
tests/files/modeling/geometry_nodes/volume/grid_operators.blend
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user