This is the open-source version of Monster Mash.
Monster Mash is a new sketch-based modeling and animation tool that allows you to quickly sketch a character, inflate it into 3D, and promptly animate it. You can perform all interactions in the sketching plane. No 3D manipulation is required.
The web demo (http://MonsterMash.zone) and its source code that is available here accompanies a paper Dvorožňák et al.: Monster Mash: A Single-View Approach to Casual 3D Modeling and Animation published in ACM Transactions on Graphics 39(6):214 and presented at SIGGRAPH Asia 2020 conference. (See the project page for more details.)
The demo uses a combination of web technologies (mainly for UI) and C++ code.
Disclaimer: This is not an officially supported Google product.
The source code in the "src" directory is licensed under Apache License, Version 2.0. See the LICENSE file for more details. Note that third party code located in the "third_party" directory may be licensed under more restrictive licenses.
This project uses CMake (https://cmake.org) for building. Some third party libraries are not part of this repository and must be installed in advance:
You can build the complete web application using emscripten (https://emscripten.org/), or a simplified desktop version (i.e., only a canvas without a web-based UI) using clang (https://clang.llvm.org/) or gcc (https://gcc.gnu.org/).
sudo apt-get install build-essential cmake libsdl2-dev wget unzip git python3
python3
if you only want the desktop version.)
git clone https://github.com/google/monster-mash.git ~/monster-mash && cd ~/monster-mash
wget http://www.netlib.org/voronoi/triangle.zip && unzip triangle.zip -d third_party/triangle
mkdir -p ./build/Release && cd ./build/Release
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=PATH_TO_EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake ../../src && make
cmake -DCMAKE_BUILD_TYPE=Release ../../src && make