Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Houdini HDK SOP node which triangulates 2D points using Mapbox Earcut library.

License

Notifications You must be signed in to change notification settings

ttvd/houdini-sop-triangulate-earcut

Repository files navigation

houdini-sop-triangulate-earcut

Houdini HDK SOP node which triangulates points using Mapbox Earcut library.

More info

Binaries, Houdini 16.0

Building

  • Tested on Windows and Houdini 16.0.
    • You would have to patch CMake file to get this building on Linux.
  • Define HOUDINI_VERSION env variable to be the version of Houdini 16.0 you wish to build against (for example "16.0.557").
  • Alternatively, you can have HFS env variable defined (set when you source houdini_setup).
  • Generate build files from CMake for your favorite build system. For Windows builds use MSVC 2015.
  • Build the SOP Houdini dso (SOP_TriangulateEarCut.dylib or SOP_TriangulateEarCut.dll).
  • Place the dso in the appropriate Houdini dso folder.
    • On OS X this would be /Users/your_username/Library/Preferences/houdini/16.0/dso/
    • On Windows this would be C:\Users\your_username\Documents\houdini16.0\dso

Usage

  • Place the SOP into your SOP network.
  • Connect input geometry to triangulate.
  • Select whether to keep incoming triangles and a triangulation plane.
  • Optionally, select a point group to operate on.

License for the plugin

  • Copyright Mykola Konyk, 2017
  • Distributed under the MS-RL License.
  • To further explain the license:
    • You cannot re-license any files in this project.
    • That is, they must remain under the MS-RL license.
    • Any other files you add to this project can be under any license you want.
    • You cannot use any of this code in a GPL project.
    • Otherwise you are free to do pretty much anything you want with this code.

License for earcut.hpp

  • Copyright 2015, Mapbox

About

Houdini HDK SOP node which triangulates 2D points using Mapbox Earcut library.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published