Make more functionality available with NOPYTHON option

Open
#2 · Created  · Last updated

Description

Since I'm using MantaFlow in a cpp application, I wanted to share what I changed in order to get the library working with the NOPYTHON option.

  • Exposed functions and kernels from plugin files via added headers

  • Templated member ApplyShapeToGrid, was not supported before with NOPYTHON

  • Added ParticleDataImpl constructor from particle system for convenience

  • multiple cpp test files were added which are conversions of original MantaFlow Python scenes

  • DropObjMesh was added - this console application reads an obj mesh (Suzanne.obj), liquifies it and drops it in a liquid tank

  • Added CMake option for building test executables

  • Added .blend file to test output from executables in Blender

  • .vs folder generated by visual studio excluded from source control

  • Tested on Windows 10 with VS community 2017

0 attachments

0 comments

Loading commits...