rituals / phongdefo

Houdini SOP implementing phong deformation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phongdefo

1. About

This is a C++ Houdini SOP implementing phong deformation.

screenshot

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.

2. Installation

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.

About

Houdini SOP implementing phong deformation


Languages

Language:C++ 98.3%Language:C 0.9%Language:NASL 0.8%Language:Makefile 0.0%