Skip to content

Interactive tool for normal driven stylization. A set of preferred normals can be chosen arbitrarily from the Gauss sphere, including semi-discrete sets to model preference for cylinder- or cone-like shapes. Published at the SGP 2021

License

Notifications You must be signed in to change notification settings

ugogon/gaussStylization

Repository files navigation

Gauss Stylization

This is a C++ implementation of "Gauss Stylization". It contains the code from "Cubic Stylization" by Hsueh-Ti Derek Liu and Alec Jacobson.

ImGui version

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.

Python version

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.

About

Interactive tool for normal driven stylization. A set of preferred normals can be chosen arbitrarily from the Gauss sphere, including semi-discrete sets to model preference for cylinder- or cone-like shapes. Published at the SGP 2021

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages