Skip to content

Wowe-Peanut/Snail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

165 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snail - A Softbody Physics Simulator

A softbody physics simulator guided and inspired by this amazing book by Minchen Li et al.

Features

  • Physics
    • Gravity
    • Spring Elasticity
    • Arbitrary Mesh Contact*
    • Stationary Points
  • Solvers & Optimizers
    • Backwards Euler
    • Newton's Method
    • L-BFGS
  • Optimizations
    • Sweep and prune broadphase
    • Sparse hessian solvers
  • GUI
    • Blinn-Phong shading
    • Controllable camera, pausing, reseting, stepping
  • JSON to Scene Parser
    • See resources/scenes for examples

*still in development*

Dependencies

  • GLM under GLM_INCLUDE_DIR
  • GLEW under GLEW_DIR
  • GLFW under GLFW_DIR
  • Eigen under EIGEN3_INCLUDE_DIR
  • CMake

Build

// Navigate to snail/
mkdir build
cd build
cmake ..
make -j4
./snail PATH_TO_RESOURCES PATH_TO_SCENE_JSON

About

A terrible softbody physics simulator made using C++, Eigen, and OpenGL

Resources

Stars

Watchers

Forks

Contributors