A Houdini DSO that extracts the minimal and maximal principal curvature directions from geometry.
- Clone the repository, including dependencies, e.g
git clone --recursive https://github.com/mruegenberg/houdini-principal-curvature.git
- Modify
compile.sh
orcompile.bat
(on Windows) to use your Houdini installation - Compile with the script
- Move the resulting
dll
/dylib
/so
to yourHOUDINI_DSO_PATH
or add the path where it is located to it, e.g export HOUDINI_DSO_PATH="pwd
/dso;&"
As of Houdini 17.5, hcustom
requires csh
to be available under Linux
The node takes just one input. It writes min_principalcurvature
and max_principalcurvature
point attributes.
The input mesh must be triangular (e.g using the Divide or Remesh SOPs).
-
libigl performs the actual principal curvature direction determination
-
Eigen is used heavily by libigl
The code itself is under the MIT and MPL2 licenses. Eigen and libigl (the dependencies) are under the MPL2 license.
In short, this means that commercial use within your company is no problem at all.
If you want to redistribute this, you have to provide some notice on where to find the original source code.