This is a C++ Houdini SOP implementing phong deformation.
The method is useful when deforming high detail geometry embedded in a tetrahedral mesh. Gives noticeably smoother deformation compared to basic linear deformation, and also compares favorably to houdini's builtin point deform node, which can require tweaking radius/samples to achieve smoothness while being more prone to pushing interior geometry outside the deformed tetrahedral mesh.
git clone https://github.com/rituals/phongdefo.git
cd phongdefo/src
make install
source the Houdini environment in your shell beforehand. The SOP depends on two header-only libraries, eigen for linear algebra operations and nanoflann for its kdtree implementation. This has only been tested on a 64-bit linux machine, running the free version of houdini v19.5. Tinkering is probably needed for compiling and installing on different systems.