Assimp 3.2 library wrapper for OpenB3D.
Assimp source is included with this module and Boost is required, specifically BaH.Boost. There is a Boost workaround option which can be enabled in assimplib.bmx (and then comment the boost imports in source.bmx) but this is not recommended as it lacks threads and is not threadsafe (can not be access by more than one thread at a time). To enable a specific importer or post processing step, comment out the define in assimplib.bmx, then uncomment the imports in source.bmx.
The wrapper imports the C++ source and load meshes from streams either incbin or zip, so for unzip functionality Koriolis.Zipstream is required. The module works in 32 and 64-bit but animations are not implemented.
- Copy assimp.mod to your
BlitzMax/mod
folder, module folder names must end in .mod - If Windows, make sure you have a working version of MinGW. If Mac, make sure you have XCode installed. If Linux, have a look at this guide: How To: Install BlitzMax NG on Win/Mac/Ubuntu 64-bit
- Open a Terminal, cd to
BlitzMax/bin
and for BRL Bmx typebmk makemods -d assimp.assimp
- For NG in 64-bit use
bmk makemods -d -w -g x64 assimp.assimp
, if on Mac/Linux use./bmk
Both the library and wrapper are licensed with the 3-clause BSD license.