This prepares Box2D for usage in TouchDesigner Custom Operators. Users can make their own plugins by copying from the existing projects inside the TD-Box2D folder.
Currently implemented:
Install CMake and make sure it's in your system path. Then in this repo, open a cmd window and do the following:
mkdir build
cd build
cmake ..
Open build/TD-Box2D.sln
and build in Release from the top window (Debug is not tested yet). Build a second time (this will be fixed eventually). Then press F5
and TouchDesigner should open. This repo's Plugins
folder should contain newly compiled DLLs.
Not fully tested yet, but the Windows instructions might work.
TouchDesigner isn't on Linux ;)
- Your suggestion here (open a Github issue)
Please observe the licenses of TouchDesigner, SFML, and Box2D.