Skip to content
This repository

Official Open Asset Import Library Repository. Loads more than thirty 3D file formats into one unified and clean data structure.

Merge pull request #253 from g-pechorin/master

fixed "<Colors ...> ... </Color>" typo
latest commit a0ba3a8ade
Kim Kulling kimkulling authored
Octocat-spinner-32 cmake-modules fix: pre-compiled header conflicts across different build configurations July 08, 2013
Octocat-spinner-32 code Merge pull request #249 from attila-barsi/master April 01, 2014
Octocat-spinner-32 contrib bugfix: January 29, 2014
Octocat-spinner-32 doc typo fix: loose -> lose November 14, 2013
Octocat-spinner-32 include bugfix: March 27, 2014
Octocat-spinner-32 packaging # fix critical bug in the zip release script that caused the lib file… December 18, 2010
Octocat-spinner-32 port Fixed half-width from the full-width double quotes. April 14, 2014
Octocat-spinner-32 samples Removed unreferenced variables. November 20, 2013
Octocat-spinner-32 scripts update genblenddna.py script to include workaround for reading blende… October 02, 2013
Octocat-spinner-32 test Add Blender 2.69 test files (first set - no UVs here or other fancy s… December 01, 2013
Octocat-spinner-32 tools fixed "<Colors ...> ... </Color>" typo April 15, 2014
Octocat-spinner-32 workspaces Adding tessellation support for new Blender 2.6 polygons November 22, 2013
Octocat-spinner-32 .gitignore Add gitignore file May 14, 2013
Octocat-spinner-32 .travis.yml Update .travis.yml April 19, 2013
Octocat-spinner-32 AssimpBuildTreeSettings.cmake.in Feature : Prepare FindPackage feature. May 28, 2012
Octocat-spinner-32 AssimpConfig.cmake.in Feature : Prepare FindPackage feature. May 28, 2012
Octocat-spinner-32 AssimpConfigVersion.cmake.in - CMake overhaul. Add proper FindXXX scripts for PkgMacros, ZLIB, Dir… July 17, 2012
Octocat-spinner-32 CHANGES - merge 3.0 up to r1281 in trunk July 11, 2012
Octocat-spinner-32 CMakeLists.txt bugfix: January 29, 2014
Octocat-spinner-32 CREDITS bugfix: March 05, 2014
Octocat-spinner-32 CodeConventions.txt update : add initial code convention file. August 13, 2013
Octocat-spinner-32 INSTALL - merge 3.0 up to r1281 in trunk July 11, 2012
Octocat-spinner-32 LICENSE - merge 3.0 up to r1281 in trunk July 11, 2012
Octocat-spinner-32 README Deprecate README January 20, 2013
Octocat-spinner-32 Readme.md Update Readme.md December 05, 2013
Octocat-spinner-32 assimp-config-version.cmake.in fixed the broken cmake config files (assimp-cmake), adding version su… February 26, 2013
Octocat-spinner-32 assimp-config.cmake.in bugfix: January 29, 2014
Octocat-spinner-32 assimp.pc.in These variables should have the ASSIMP_ prefix January 20, 2013
Octocat-spinner-32 revision.h - merge 3.0 up to r1281 in trunk July 11, 2012
Readme.md

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 single, in-memory format. It supports more than 30 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.

Its short name under which it is commonly known is assimp.

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 Build Status

Supported file formats

The library provides importers for a lot of file formats, including:

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

Additionally, the following formats are also supported, but not part of the core library as they depend on proprietary libraries.

Exporters include:

  • DAE (Collada)
  • STL
  • OBJ
  • PLY

See the full list here.

Repository structure

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 (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!)

Building

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

If the documentation doesn't solve your problems, try our forums at SF.net or ask on StackOverflow.

For development discussions, there is also a 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, 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 LICENSE file.

Something went wrong with that request. Please try again.