Optimal Transport HDA (GPU & CPU)

An implementation of Optimal Transport that is sinkhorn based and performed in the log domain. The algorithm enables smooth blending between different point clouds, and can allow you to transport a stable set of points along the motion of an unstable point cloud.

I created this as part of my implementation of Walt Disney Animation Studios' technical paper "Weaving the Druun's Webbing" (Jake Rice, 2021), to achieve a dynamic webbing look for my demo reel shot that features a recreation of the Obscurus creature from the Fantastic Beasts films. Optimal Transport is used in this context to track the webbing stably through a source particle field.

This tool supports GPU acceleration with CuPy, and otherwise runs on the CPU. It also has other potential applications such as texture/image blending and Machine Learning/AI.

On my GitHub, I've uploaded a Houdini Digital Asset (HDA) that provides a convenient wrapper over the Python scripts, along with the scripts themselves.

Next
Next

Texture Frequency Equalizer - Nuke and Houdini