Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Official Open Asset Import Library Repository. Loads 40+ 3D file formats into one unified and clean data structure.
C++ Logos COBOL C Java Python Other

Merge pull request #614 from bschwind/android-fix

Include correct headers, fix string length bug
latest commit 49d6767551
@acgessler acgessler authored
Failed to load latest commit information.
cmake-modules Refactored: Reformat CMake files to conform to editor config
code Fix volume calculation
contrib - Previous merge accidentally copied OpenDDL C++ files into include d…
doc - Merge in latest from assimp/assimp on GitHub (5c00aef)
include/assimp Refactor: Strip trailing whitespace
packaging # fix critical bug in the zip release script that caused the lib file…
port Include correct headers, fix string length bug
samples - Merge in latest from assimp/assimp on GitHub (5c00aef)
scripts - Merge in latest from assimp/assimp on GitHub (5c00aef)
test Correct value for mColorAmbient for COLLADA files
tools Merge branch 'master' of https://github.com/assimp/assimp
workspaces - These were Xcode's git control files and will vary from person to p…
.editorconfig Implemented: Add editor config rules for *.txt files
.gitattributes Create .gitattributes
.gitignore Implemented: Ignore CLion .idea directory
.travis.sh Fixed: Use status from result_checker.py as status of regression test
.travis.yml Fixed: Ensure failing tests fail travis
AssimpBuildTreeSettings.cmake.in Feature : Prepare FindPackage feature.
AssimpConfig.cmake.in Refactored: Reformat CMake files to conform to editor config
AssimpConfigVersion.cmake.in - CMake overhaul. Add proper FindXXX scripts for PkgMacros, ZLIB, Dir…
CHANGES Forgot to mention Ogre skeleton format in CHANGES
CMakeLists.txt Checks for DirectX. If it is not found, does not pull in the assimp_v…
CREDITS Add StepExporter.cpp(stp) Export
CodeConventions.md Change to what seems to be agreed upon (in line with PR #566)
INSTALL - merge 3.0 up to r1281 in trunk
LICENSE Update LICENSE
README Deprecate README
Readme.md Update Readme.md
appveyor.yml Windows CI: fix working directory.
assimp-config-version.cmake.in fixed the broken cmake config files (assimp-cmake), adding version su…
assimp-config.cmake.in Fix Visual Studio prefixes
assimp.pc.in assimp.pc.in: Add static libs to Libs.private
revision.h.in Refactor: Apply C++ conventions to revision.h.in

Readme.md

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 than 40 file formats for import and a growing selection of file formats for export.

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 various mesh 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.

This is the development trunk 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. The current build status is:

Linux Linux Build Status Windows Windows Build Status Coverity Coverity Scan Build Status

open3mod is a powerful 3D model viewer based on Assimp's import and export abilities.

Supported file formats

A full list is here. Importers:

  • 3DS
  • BLEND (Blender)
  • DAE/Collada
  • FBX
  • IFC-STEP
  • ASE
  • DXF
  • HMP
  • MD2
  • MD3
  • MD5
  • MDC
  • MDL
  • NFF
  • PLY
  • STL
  • X
  • OBJ
  • OpenGEX
  • SMD
  • LWO
  • LXO
  • LWS
  • TER
  • AC3D
  • MS3D
  • COB
  • Q3BSP
  • XGL
  • CSM
  • BVH
  • B3D
  • NDO
  • Ogre Binary
  • Ogre XML
  • Q3D
  • ASSBIN (Assimp custom format)

Additionally, some formats are supported by dependency on non-free code or external SDKs (not built by default):

Exporters:

Building

Take a look into the INSTALL file. Our build system is CMake, if you used CMake before there is a good chance you know what to do.

Repository structure

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

/code       Source code
/contrib    Third-party libraries
/doc        Documentation (doxysource and pre-compiled docs)
/include    Public header C and C++ header files
/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!)

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).

If the docs don't solve your problem, ask on StackOverflow. If you think you found a bug, please open an issue on Github.

For development discussions, there is also a (very low-volume) mailing list, assimp-discussions (subscribe here)

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's master branch.

License

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

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 LICENSE file.

Something went wrong with that request. Please try again.