filipi / smallPhysics

Small Physics Engine for simple C++ experiments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

screenshot

smallPhysics

Small Physics Engine for simple C++ experiments

Originaly designed for softbody simulations intented to be used as phantoms to Electrical Impedance Tomography

Building example applications

There are two example applications, eitsim and mantle

  • eitsim is a attempt to sketch a eletrical impedance simulator for a simple conductive foam.

  • mantle is an example of using 2D physcis for clothing simulation

Linux

Installing dependecies (glut, lib-jpeg, libglew)

In Debian derivatives (Ubuntu, etc)

sudo apt install freeglut3-dev libjpeg-dev libglew-dev

To compile the examples:

To simulate a matress:

make eitsim

To simulate a sheet of fabric

make mantle

Cross compiling windows executable on Linux

  • To cross compile example applications for windows on a Linux environment, you will need:

About

Small Physics Engine for simple C++ experiments

License:MIT License


Languages

Language:C++ 99.1%Language:Makefile 0.7%Language:Batchfile 0.2%