Open Asset Import Library (assimp)
Open Asset Import Library is a Open Source library designed to load various 3d file formats and convert them into a shared, in-memory format. It supports more than 40 file formats for import and a growing selection of file formats for export. Additionally, assimp features various post processing tools to refine the imported data: normals and tangent space generation, triangulation, vertex cache locality optimization, removal of degenerate primitives and duplicate vertices, sorting by primitive type, merging of redundant materials and many more.
This is the development trunk of assimp containing the latest features and bugfixes. For productive use though, we recommend one of the stable releases available from assimp.sf.net or from *nix package repositories. According to Travis-CI, the current build status of the trunk is
open3mod is an Open Source 3D model viewer based off Assimp's import and export abilities.
Supported file formats
The library provides importers for a lot of file formats, including:
- BLEND (Blender 3D)
- Ogre Binary
- Ogre XML
- ASSBIN (Assimp scene serialization)
Additionally, the following formats are also supported, but not part of the core library as they depend on proprietary libraries.
- DAE (Collada)
- JSON (for WebGl, via https://github.com/acgessler/assimp2json)
See the full list here.
Open Asset Import Library is implemented in C++ (but provides both a C and a C++ish interface). The directory structure is:
/bin Folder for binaries, only used on Windows /code Source code /contrib Third-party libraries /doc Documentation (doxysource and pre-compiled docs) /include Public header C and C++ header files /lib Static library location for Windows /obj Object file location for Windows /scripts Scripts used to generate the loading code for some formats /port Ports to other languages and scripts to maintain those. /test Unit- and regression tests, test suite of models /tools Tools (old assimp viewer, command line `assimp`) /samples A small number of samples to illustrate possible use cases for Assimp /workspaces Build enviroments for vc,xcode,... (deprecated, CMake has superseeded all legacy build options!)
Take a look into the
INSTALL file. Our build system is CMake, if you already used CMake before there is a good chance you know what to do.
Where to get help
For more information, visit our website. Or check out the
./doc- folder, which contains the official documentation in HTML format.
(CHMs for Windows are included in some release packages and should be located right here in the root folder).
For development discussions, there is also a mailing list, assimp-discussions (subscribe here)
Contributions to assimp are highly appreciated. The easiest way to get involved is to submit
a pull request with your changes against the main repository's
Our license is based on the modified, 3-clause BSD-License, which is very liberal.
An informal summary is: do whatever you want, but include Assimp's license text with your product -
and don't sue us if our code doesn't work. Note that, unlike LGPLed code, you may link statically to Assimp.
For the legal details, see the