The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
 
 
 
 
 
 
Go to file
Victor Mataré 9fb81c3be6 use GNUInstallDirs where possible
Emulate the CMAKE_INSTALL_FULL_* variables on non-Unix systems and
disable redefining FHS-mandated install locations via user-editable
ASSIMP_*_INSTALL_DIR variables. Instead, if it REALLY proves necessary,
Unix users can edit the advanced, canonical CMAKE_INSTALL_* variables.
2020-04-03 00:44:44 +02:00
.github Fix funding 2020-03-31 19:59:02 +02:00
cmake Build Hunter-compatible config file 2019-06-13 21:34:47 -07:00
cmake-modules Findassimp.cmake: add hint for include path's for Linux 2019-10-07 22:09:44 +03:00
code Remove comments to increase readability 2020-04-01 11:16:39 +02:00
contrib {cmake} Prefix assimp options with "ASSIMP_" to avoid pollution when included as a submodule 2020-03-23 12:35:32 -04:00
doc Removed uneeded expression in else() and endif() constructs. 2020-02-23 07:09:35 -05:00
include/assimp Added missing functionalities to C API. 2020-03-26 13:08:40 -04:00
packaging Updated copyright dates. 2020-01-20 08:53:12 -05:00
port Only try to initialize members whose name starts with 'm' followed by an uppercase character 2020-03-09 00:05:17 -07:00
samples Fixed /W4 compile warnings in sample SimpleOpenGL. 2020-04-02 14:19:16 -04:00
scripts Updated copyright dates. 2020-01-20 08:53:12 -05:00
test Removed unneeded SceneDiffer.h includes. 2020-03-31 17:22:56 -04:00
tools fix invalid check 2020-03-22 14:21:24 +01:00
.clang-format ry to fix 2013-specific warnings in mesh.h 2020-03-19 15:10:46 +01: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 exclude repository-settings from source-package generated via 'git archive' 2017-09-03 23:03:48 +02:00
.gitignore Update .gitignore 2019-11-05 16:36:03 +01:00
.travis.sh Updated copyright dates. 2020-01-20 08:53:12 -05:00
.travis.yml Update .travis.yml 2020-01-15 10:36:30 +01:00
AssimpBuildTreeSettings.cmake.in Feature : Prepare FindPackage feature. 2012-05-28 19:20:56 +00: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
BUILDBINARIES_EXAMPLE.bat Update BUILDBINARIES_EXAMPLE.bat 2019-09-09 21:20:44 +02:00
Build.md Added CMake option to set the compiler warning to max (-Wall /W4). Off by default 2019-11-21 12:04:53 +11:00
CHANGES Update CHANGES 2018-05-16 21:19:30 +02:00
CMakeLists.txt use GNUInstallDirs where possible 2020-04-03 00:44:44 +02:00
CONTRIBUTING.md Improve the contribution guide 2018-06-10 19:10:38 +02:00
CREDITS Initial FBX Export Support, sponsored by MyDidimo (mydidimo.com). 2018-02-19 13:53:55 +01: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 INSTALL: update bullet point numbers 2019-03-18 14:28:27 +01:00
LICENSE Updated copyright dates. 2020-01-20 08:53:12 -05:00
README Deprecate README 2013-01-20 22:52:52 +01:00
Readme.md Update Readme.md 2020-03-21 16:22:18 +01:00
appveyor.yml Update appveyor.yml 2020-01-28 22:02:29 +01:00
assimp-config-version.cmake.in Updated copyright dates. 2020-01-20 08:53:12 -05:00
assimp-config.cmake.in Improved cmake configs for Windows and Linux. 2018-09-30 17:18:18 +02:00
assimp.pc.in use GNUInstallDirs where possible 2020-04-03 00:44:44 +02:00
assimpTargets-debug.cmake.in use GNUInstallDirs where possible 2020-04-03 00:44:44 +02:00
assimpTargets-release.cmake.in use GNUInstallDirs where possible 2020-04-03 00:44:44 +02:00
assimpTargets.cmake.in use GNUInstallDirs where possible 2020-04-03 00:44:44 +02:00
revision.h.in Fix typo. githash canonically doesn't start 0x 2019-08-21 16:07:51 +01: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 project status

C/C++ CI Linux Build Status Windows Build Status Coverity Scan Build Status Coverage Status Join the chat at https://gitter.im/assimp/assimp Average time to resolve an issue Codacy Badge Total alerts

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.

Check the latest doc.

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.

Monthly donations via Patreon:
Patreon


One-off donations via PayPal:
PayPal


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

If you want to check our Model-Database, use the following repo: https://github.com/assimp/assimp-mdb

Supported file formats

Importers:

  • 3D
  • 3DS
  • 3MF
  • AC
  • AC3D
  • ACC
  • AMJ
  • ASE
  • ASK
  • B3D
  • BLEND
  • BVH
  • CMS
  • COB
  • DAE/Collada
  • DXF
  • ENFF
  • FBX
  • glTF 1.0 + GLB
  • glTF 2.0: At the moment for glTF2.0 the following extensions are supported:
    • KHR_lights_punctual ( 5.0 )
    • KHR_materials_pbrSpecularGlossiness ( 5.0 )
    • KHR_materials_unlit ( 5.0 )
    • KHR_texture_transform ( 5.1 under test )
  • HMB
  • IFC-STEP
  • IRR / IRRMESH
  • LWO
  • LWS
  • LXO
  • M3D
  • MD2
  • MD3
  • MD5
  • MDC
  • MDL
  • MESH / MESH.XML
  • MOT
  • MS3D
  • NDO
  • NFF
  • OBJ
  • OFF
  • OGEX
  • PLY
  • PMX
  • PRJ
  • Q3O
  • Q3S
  • RAW
  • SCN
  • SIB
  • SMD
  • STP
  • STL
  • 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 https://github.com/assimp/assimp/blob/master/Build.md file. 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

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 looks like:

/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

The source code is organized in the following way:

code/Common		The base implementation for importers and the infrastructure
code/PostProcessing	The post-processing steps
code/<FormatName>	Implementation for import and export for the format

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