The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
 
 
 
 
 
 
Go to file
Kim Kulling becb36d1ac Merge pull request #310 from rob100/feature
Recommended improvement for the Object/MTL-Exporter
2014-07-10 00:23:11 -07:00
cmake-modules bugfix: fix invalid include path in find assimp macro for cmake. 2014-05-11 14:01:30 +02:00
code Improved texture map data in mtl exporter (in most cases an upper first character is used) 2014-07-10 08:26:32 +02:00
contrib Merge remote-tracking branch 'official/master' into contrib 2014-01-31 11:14:59 +01:00
doc Update doxygen documentation. Drop custom stylesheet. 2014-06-14 19:00:09 +02:00
include/assimp Merge pull request #298 from Madrich/master 2014-06-21 18:54:11 +02:00
packaging # fix critical bug in the zip release script that caused the lib files in the debug folders to be the release versions. This bug affects the last release and possibly 1.1 as well. 2010-12-18 20:08:16 +00:00
port Fixed half-width from the full-width double quotes. 2014-04-14 23:04:36 +09:00
samples SimpleTexturedOpenGL/CMakeLists.txt: add path to DEVIL prebuilt library. 2014-06-01 17:33:50 +02:00
scripts update genblenddna.py script to include workaround for reading blender Base list. 2013-10-02 14:15:14 +02:00
test Regression tests: Fix finding aassimp.exe on VC9 default build. Look for x86 executable if x64 is not found. Create dump output dir if does not exist (broke the script). Report where assimp.exe was looked in. Add todos for ignoring multi dot extensions from test like .skeleton.xml. Rebuild ds.zip via gen_db.py, success rate went from 40% to 99%. Seems these were not updated in a while (2-3 years :). 2014-05-21 05:41:26 +03:00
tools Assimp_cmd: Drop malformed version spec from rc file. 2014-06-14 22:47:18 +02:00
workspaces/xcode3 Drop VC solutions. Fixes #292. 2014-06-14 17:14:12 +02:00
.gitignore .gitignore: Add stuff to the ignore list if one happens to build in the root and not in /build. This is atm kind of mandatory if you want the regression tests to find your binary. 2014-05-21 05:47:35 +03:00
.travis.yml update: add static build to CI. 2014-05-12 20:00:29 +02:00
AssimpBuildTreeSettings.cmake.in Feature : Prepare FindPackage feature. 2012-05-28 19:20:56 +00:00
AssimpConfig.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
CHANGES Forgot to mention Ogre skeleton format in CHANGES 2014-06-23 15:26:07 +02:00
CMakeLists.txt Assimp can now be built as a subproject in CMake based projects 2014-06-17 12:05:23 +02:00
CREDITS Update CREDITS 2014-05-22 18:04:05 +02:00
CodeConventions.txt update : add initial code convention file. 2013-08-13 23:37:08 +02:00
INSTALL - merge 3.0 up to r1281 in trunk 2012-07-11 12:53:04 +00:00
LICENSE - merge 3.0 up to r1281 in trunk 2012-07-11 12:53:04 +00:00
README Deprecate README 2013-01-20 22:52:52 +01:00
Readme.md Add link to open3mod to readme. 2014-06-19 21:09:38 +02:00
assimp-config-version.cmake.in fixed the broken cmake config files (assimp-cmake), adding version suffix libraries 2013-02-26 14:02:35 +09:00
assimp-config.cmake.in workaround: disable config for boost. 2014-06-14 09:47:01 +02:00
assimp.pc.in These variables should have the ASSIMP_ prefix 2013-01-20 13:51:04 +01:00
revision.h.in Fixed bug during compilation with mingw & improved git revision support for automatic up to date revision number. 2014-05-19 14:36:24 +02:00

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

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] (https://travis-ci.org/), the current build status of the trunk is Build Status

open3mod is an Open Source 3D model viewer based off Assimp's import and export abilities.

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 Binary
  • 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:

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

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.