The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
 
 
 
 
 
 
Go to file
Eduardo Costa 2e5e56c000 Re-enabling PACK_STRUCT for MDL files.
When using this compiler:

    Apple LLVM version 7.3.0 (clang-703.0.31)
    Target: x86_64-apple-darwin15.4.0
    Thread model: posix

The MDL::Frame is aligned in 8-byte boundaries instead of 4. This
generates this error when loading old Quake 1 MDL files:

    ERROR: Failed to load file: Invalid MDL file. The file is too small
    or contains invalid data (File: MDLLoader.cpp Line: 422)

It seems this error was introduced by commit
bd2af6591f due to compilation warnings.
2017-08-21 09:27:40 +01:00
cmake-modules Merge pull request #1212 from aoowweenn/umw_dev 2017-05-17 12:01:46 +02:00
code Re-enabling PACK_STRUCT for MDL files. 2017-08-21 09:27:40 +01:00
contrib unzip: latest greatest. 2017-08-05 18:46:34 +02:00
doc docs: Explain texture paths for embedded textures 2017-05-19 13:32:04 +02:00
include/assimp new release: update to 4.0.1. 2017-07-28 22:27:36 +02:00
packaging doc updatedoc update 2017-04-07 17:46:53 +02:00
port Merge pull request #1365 from ihmcrobotics/feature/custom-library-loader 2017-07-30 00:14:03 +02:00
samples Sample: update dx11 texture loader. 2017-06-03 09:25:20 +02:00
scripts GenBlenderDNA: use common formatting. 2017-01-16 20:21:11 +01:00
test ply-loader: add brackets. 2017-08-03 14:58:39 +02:00
tools assert: remove assert with more than one statement and use only ai_assert. 2017-08-14 22:20:26 +02:00
.coveralls.yml Travis: enable coverall support. 2016-11-16 11:39:44 +01:00
.editorconfig Implemented: Add editor config rules for *.txt files 2015-06-30 19:59:55 -06:00
.gitattributes closes https://github.com/assimp/assimp/issues/1102: define line ending for missing files. 2017-02-11 13:48:39 +01:00
.gitignore deleted code/MakeFile and added to .gitignore 2016-10-08 15:23:59 -07:00
.travis.sh travis-ci: fix unittest executor. 2017-06-07 11:48:00 +02:00
.travis.yml travis: next try. 2017-07-21 19:10:32 +02:00
AssimpBuildTreeSettings.cmake.in Feature : Prepare FindPackage feature. 2012-05-28 19:20:56 +00:00
AssimpConfig.cmake.in Refactored: Reformat CMake files to conform to editor config 2015-06-28 15:50:57 -06:00
AssimpConfigVersion.cmake.in - CMake overhaul. Add proper FindXXX scripts for PkgMacros, ZLIB, DirectX. Isolate MSVC-specific defines. Add newer boost versions to boost whitelist. Many thanks to Mr. S. for the patch! (see http://zfx.info/viewtopic.php?f=9&t=334&p=32190#p32190) 2012-07-17 22:56:15 +00:00
CHANGES CHANGES: add documentation of featureset for 4.0.1 2017-07-28 22:33:41 +02:00
CMakeLists.txt Fix compiling problems under VS2017.3. 2017-08-14 21:51:59 -07:00
CREDITS Update version. 2017-07-18 19:02:08 +02:00
CodeConventions.md Change to what seems to be agreed upon (in line with PR #566) 2015-05-21 09:00:34 -04:00
INSTALL Update INSTALL 2015-11-03 10:51:13 +01:00
LICENSE Fix missing includes. 2017-03-05 15:05:40 +01:00
README Deprecate README 2013-01-20 22:52:52 +01:00
Readme.md Readme: add TriLib to the official list of supported ports. 2017-08-19 22:09:30 +02:00
appveyor.yml Fix appveyor build: disable bugger mingw config. 2016-11-28 10:40:10 +01:00
assimp-config-version.cmake.in CMake: Fix compatibility check for so-version of the assimp lib. 2017-04-06 16:32:17 +02:00
assimp-config.cmake.in Fix spelling mistakes 2016-04-03 01:38:00 +01:00
assimp.pc.in closes https://github.com/assimp/assimp/issues/938: adapt instal pathes. 2016-07-12 09:04:38 +02:00
revision.h.in Refactor: Apply C++ conventions to revision.h.in 2015-06-28 16:08:06 -06:00

Readme.md

Open Asset Import Library (assimp)

A library to import and export various 3d-model-formats including scene-post-processing to generate missing render data.

Current build status

Linux Build Status Windows Build Status Coverity Scan Build Status Patreon donate button Coverage Status Join the chat at https://gitter.im/assimp/assimp

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 repo containing the latest features and bugfixes. For productive use though, we recommend one of the stable releases available from Github Assimp Releases.

One-off donations via PayPal:
PayPal


Please check our Wiki as well: https://github.com/assimp/assimp/wiki

Supported file formats

A full list is here. Importers:

  • 3D
  • 3DS
  • 3MF
  • AC
  • AC3D
  • ACC
  • AMJ
  • ASE
  • ASK
  • B3D;
  • BLEND (Blender)
  • BVH
  • COB
  • CMS
  • DAE/Collada
  • DXF
  • ENFF
  • FBX
  • GLB/GLTF
  • HMB
  • IFC-STEP
  • IRR / IRRMESH
  • LWO
  • LWS
  • LXO
  • MD2
  • MD3
  • MD5
  • MDC
  • MDL
  • MESH / MESH.XML
  • MOT
  • MS3D
  • NDO
  • NFF
  • OBJ
  • OFF
  • OGEX
  • PLY
  • PMX
  • PRJ
  • Q3O
  • Q3S
  • RAW
  • SCN
  • SIB
  • SMD
  • STL
  • STP
  • TER
  • UC
  • VTA
  • X
  • X3D
  • XGL
  • ZGL

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.

Ports

Other tools

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

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

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.

And we also have a Gitter-channel:Gitter Join the chat at https://gitter.im/assimp/assimp

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.

Why this name

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