Haxe bindings for Open Asset Import Library, a 3D model importer / exporter library. Check the link above for the full list of supported formats.
Currently you have to build the library and install it locally through Haxelib:
- Clone this repository by running
git clone --recursive https://github.com/MattTuttle/haxe-assimp.git
- Open a command prompt in project folder and run
lime rebuild . <windows || mac || linux>
- Build the neko executable through
haxe tools/build.hxml
- Zip the following files and folder:
run.n
,haxelib.json
,include.xml
,ndll
- Install the zipped library locally:
haxelib install haxe-assimp.zip
Note: On Windows the generated ndll will appear with a suffix "-xx" where xx will be your MSVC version. For the library to work there you'll have to rename the file to just assimp.ndll. This will fixed in the future.
For convenience zipped binaries links are listed below. To install right-click the link, choose "Save link as...", download it and run haxelib install haxe-assimp.zip
:
- Windows and Mac: haxe-assimp.zip
- Command line:
haxelib run assimp process <infile.format> <outfile.format>
- Haxe 3.4.2
- Hxcpp 3.4.64
- Lime 2.9.1 and up (also working with latest release 5.2.1)