XaiJu
animatrix
animatrix

patreon


OpenCL Volume Convolve SOP

Convolves a volume by a 3×3×3 kernel using OpenCL acceleration.

This operator takes each 3×3×3 neighbourhood of a voxel, multiplies it by a set of coefficients, and combines the result into a total. It can be used for blurring, sharpening, embossing, edge detection, and more.

It is orders of magnitude faster than the default Volume Convolve SOP when significant number of iterations are used and OpenCL acceleration is turned on. I also added a non-OpenCL (C++) branch.

Includes a Gaussian Blur preset (under the gear menu).

https://www.dropbox.com/s/qpknotgf108fglm/VolumeConvolve_SOP_Animatrix.otl?dl=1

https://www.dropbox.com/s/nfhn5ohqhomfdeo/volume_convolve.hip?dl=1

OpenCL Volume Convolve SOP

More Creators