This is the c++ implementation with OpenGL of displaying and manipulating statistical human body shape and pose model described in the paper Building Statistical Shape Spaces for 3D Human Modeling by Leonid Pishchulin et al. Users can control the shape and posture of a human body by adjusting the shape and pose vectors from GUI.
Change shape | Change Pose |
---|---|
- Eigen: Linear algebra library.
- GL3W: OpenGL core profile loading.
- GLFW: Platform-independent API for creating windows, contexts and surfaces, reading input, handling events, etc.
- GLM: Mathematics library based on the GLSL specifications.
- ImGUI: User interface library.
- MATIO: MATLAB MAT file I/O library .
- Spdlog: Logging library.
Download the models from MPII human shape website.
cd data
wget http://datasets.d2.mpi-inf.mpg.de/humanshape/caesar.zip
unzip caesar.zip && rm -f caesar.zip
Make sure you have CMake installed.
mkdir build && cd build
cmake ..
cmake --build .
./demo