As the vdb_advect node was very slow, I decided to make my own advect node in Opencl : advect_opencl.hip
I’ve made a forward and backward advection. I hope to upload soon a « project vel non divergent » and to upload an HDK version of it but I need to clean them first.
I’m uploading this node as it shows how to use atomic add with floats inside Houdini for the forward advection.
It also use a bilinear interpolation to read or write into the voxels.