Deformable C SDK

Finite element deformation and fracture of tetrahedral meshes, as a C library: a scene your program drives frame
by frame, the render surfaces embedded in its objects, and the mesh tools that prepare its inputs.


Contents

  include/deformable.h   The C99 header. It documents every function, type and status code, and the conventions
                         they follow.
  lib/                   libdeformable as a shared library and as a static library (on Windows: deformable.dll, its
                         import library deformable.dll.lib, and the static library deformable.lib).
  lib/cmake/deformable   The CMake package.
  LICENSE.md             The license.


On macOS

  A browser marks a downloaded zip, unzipping copies the mark onto each file, and macOS will not load a marked library
  that is not notarized, so a program linked with libdeformable.dylib would never start. Clear the mark once, in this
  folder:

    xattr -dr com.apple.quarantine .


With CMake

  Add this folder to CMAKE_PREFIX_PATH, then:

    find_package(deformable CONFIG REQUIRED)
    target_link_libraries(your_program PRIVATE deformable::deformable)

  deformable::static links the static library instead, together with the system libraries it needs.


Without CMake

  In this folder, with your_program.c in it:

  macOS and Linux:  cc -I include your_program.c -L lib -ldeformable -Wl,-rpath,"$PWD/lib" -o your_program
  Windows:          cl /I include your_program.c lib\deformable.dll.lib
                    copy lib\deformable.dll .

  The run path lets the program find the shared library in lib/ when it starts. On Windows, the program finds
  deformable.dll beside it.


Running

  Ship the shared library next to your program, and let the program find it there:

  macOS     The library's install name is @rpath/libdeformable.dylib: link with -Wl,-rpath,@executable_path.
  Linux     Link with -Wl,-rpath,'$ORIGIN'.
  Windows   Put deformable.dll beside the executable.

  A program linked with deformable::static needs no library at run time.

  The trial and the license belong to each computer that runs the program: on another computer, a server or a
  render farm node it starts its own trial and needs its own seat to keep running after 7 days. It needs the
  internet once to start the trial or activate, then at least once every 7 days of use. To ship the engine inside an
  application you give to others, write to support@tangerina.io first.


Trial and license

  The free trial runs 7 days and allows up to 2,500 tetrahedrons per scene: an object that would go over is not
  added, and the rest of the scene runs. After 7 days the engine calls stop until a license is activated. The
  Standard license, $99 one time (USD), is 1 seat (one computer), perpetual and with no subscription; it covers all
  future versions and includes the Blender and Maya plugins, the C, Rust and Python SDKs and email support at
  support@tangerina.io. It works offline between renewals, which are needed at least once every 7 days of use.
  Licensing: https://docs.tangerina.io/deformable/licensing/


Rust

  The Rust SDK, the crate deformable, links this library, which its build downloads by itself. To build without a
  download, set DEFORMABLE_LIB_DIR to the absolute path of this SDK's lib folder. Either way, ship the shared library
  next to your program as above.


Documentation: https://docs.tangerina.io
Downloads:     https://tangerina.io/deformable#download
