Skip to content
/ assimp Public

The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.

License

Notifications You must be signed in to change notification settings

assimp/assimp

Repository files navigation

Open Asset Import Library (assimp)

Open Asset Import Library is a library to load various 3d file formats into a shared, in-memory format. It supports more than40 file formatsfor import and a growing selection of file formats for export.

Current project status

Financial Contributors on Open Collective C/C++ CI Codacy Badge Join the chat at https://gitter.im/assimp/assimp Average time to resolve an issue Percentage of issues still open

APIs are provided for C and C++. There are various bindings to other languages (C#, Java, Python, Delphi, D). Assimp also runs on Android and iOS. Additionally, assimp features variousmesh post-processing tools: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.

Documentation

Readour latest documentation.

Pre-built binaries

Download binaries fromour Itchi Projectspace.

Test data

Cloneour model database.

Communities

Supported file formats

Seethe complete list of supported formats.

Building

Start by readingour build instructions.We are available in vcpkg, and our build system is CMake; if you used CMake before there is a good chance you know what to do.

Ports

Other tools

open3modis a powerful 3D model viewer based on Assimp's import and export abilities. Assimp-Vieweris an experimental implementation for an Asset-Viewer based on ImGUI and Assimp (experimental).

Repository structure

Open Asset Import Library is implemented in C++. The directory structure looks like this:

/code Source code
/contrib Third-party libraries
/doc Documentation (doxysource and pre-compiled docs)
/fuzz Contains the test code for the Google Fuzzer project
/include Public header C and C++ header files
/scripts Scripts are 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

The source code is organized in the following way:

code/Common The base implementation for importers and the infrastructure
code/CApi Special implementations which are only used for the C-API
code/Geometry A collection of geometry tools
code/Material The material system
code/PBR An exporter for physical-based models
code/PostProcessing The post-processing steps
code/AssetLib/<FormatName> Implementation for import and export of the format

Contributing

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'smasterbranch.

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

Our license is based on the modified,3-clause BSD-License.

Aninformalsummary 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 theLICENSEfile.

Why this name

Sorry, we're germans:-), no English native speakers...