This is a C++ implementation of "Gauss Stylization". It contains the code from "Cubic Stylization" by Hsueh-Ti Derek Liu and Alec Jacobson.
We offer an ImGui version in folder gaussStylization_ImGui
for one to play with the stylization interactively in the GUI. To compile the application, please type these commands in the terminal
cd gaussStylization_ImGui
mkdir build
cd build
cmake ..
make
This will create the executable of the gauss stylization. To start the application, please run
./gaussStylization_ImGui
where the example meshes are provided in /meshes
. Instructions of how to control the gauss stylization is listed on the side of the GUI.
We also offer a pybind11 interface in folder gaussStylization_python
. To compile the python module, please type these commands in the terminal
cd gaussStylization_python
mkdir build
cd build
cmake ..
make
This will create a python module. To you can take a look in gaussStylization_python/main.py
to see how to use it. Make sure, that your python script can import the module e.g. by putting a __init__.py
in the gaussStylization_python/build
folder.