2012-01-13 17:49:18 +00:00
|
|
|
|
|
|
|
========================================================================
|
2011-07-17 21:25:23 +00:00
|
|
|
Open Asset Import Library (assimp) README
|
2012-01-13 17:49:18 +00:00
|
|
|
========================================================================
|
|
|
|
|
|
|
|
|
|
|
|
Table of Contents
|
2011-07-17 21:25:23 +00:00
|
|
|
|
2008-09-13 11:53:17 +00:00
|
|
|
1. Overview
|
2011-07-17 21:25:23 +00:00
|
|
|
1.1 Supported file formats
|
|
|
|
1.2 File structure
|
|
|
|
2. Build the library
|
2012-01-13 17:49:18 +00:00
|
|
|
3. Where to get help
|
2008-09-13 11:53:17 +00:00
|
|
|
4. License
|
|
|
|
|
2012-01-13 17:49:18 +00:00
|
|
|
|
|
|
|
------------------------------
|
2008-09-13 11:53:17 +00:00
|
|
|
1. Overview
|
2012-01-13 17:49:18 +00:00
|
|
|
------------------------------
|
|
|
|
|
|
|
|
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 (basically, it is like DevIL for 3D models). It also
|
|
|
|
supports exporting, but the number of export formats is lower.
|
|
|
|
|
|
|
|
Its short name is 'assimp', which is an unintended joke (the abbreviation is
|
|
|
|
derived from 'Asset Importer').
|
|
|
|
|
|
|
|
Note: this README refers to the file structure used by release packages, which
|
|
|
|
differs in some points from the development trunk.
|
|
|
|
|
|
|
|
----------------
|
2011-07-17 21:25:23 +00:00
|
|
|
1.1 Supported file formats
|
2012-01-13 17:49:18 +00:00
|
|
|
----------------
|
2011-07-17 21:25:23 +00:00
|
|
|
|
|
|
|
The library provides importers for a lot of file formats, including:
|
2008-09-13 11:53:17 +00:00
|
|
|
- 3DS
|
2012-01-13 17:49:18 +00:00
|
|
|
- BLEND
|
|
|
|
- DAE (Collada)
|
|
|
|
- IFC-STEP
|
2008-09-13 18:58:56 +00:00
|
|
|
- ASE
|
2008-09-13 11:53:17 +00:00
|
|
|
- DXF
|
|
|
|
- HMP
|
|
|
|
- MD2
|
|
|
|
- MD3
|
|
|
|
- MD5
|
|
|
|
- MDC
|
|
|
|
- MDL
|
|
|
|
- NFF
|
|
|
|
- PLY
|
2008-09-13 18:58:56 +00:00
|
|
|
- STL
|
2012-01-13 17:49:18 +00:00
|
|
|
- X
|
|
|
|
- OBJ
|
|
|
|
- SMD
|
|
|
|
- LWO
|
|
|
|
- LXO
|
|
|
|
- LWS
|
|
|
|
- XML
|
|
|
|
- TER
|
|
|
|
- AC3D
|
|
|
|
- MS3D
|
|
|
|
|
|
|
|
Exporters include:
|
|
|
|
- DAE (Collada)
|
|
|
|
- STL
|
|
|
|
- OBJ
|
2010-04-17 15:16:23 +00:00
|
|
|
|
2012-01-13 17:49:18 +00:00
|
|
|
.. See http://assimp.sourceforge.net/main_features_formats.html for
|
|
|
|
a more exhaustive list.
|
2010-04-17 15:16:23 +00:00
|
|
|
|
2008-09-13 11:53:17 +00:00
|
|
|
|
2012-01-13 17:49:18 +00:00
|
|
|
----------------
|
2010-04-17 15:16:23 +00:00
|
|
|
1.2 Repository structure
|
2012-01-13 17:49:18 +00:00
|
|
|
----------------
|
2011-07-17 21:25:23 +00:00
|
|
|
|
2012-01-13 17:49:18 +00:00
|
|
|
Open Asset Import Library is implemented in C++ (but provides both a C and a
|
|
|
|
C++ish interface). The directory structure is:
|
2011-07-17 21:25:23 +00:00
|
|
|
|
2012-01-13 17:49:18 +00:00
|
|
|
/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.
|
2011-07-17 21:25:23 +00:00
|
|
|
/lib Static library location for Windows.
|
|
|
|
/obj Object file location for Windows.
|
2012-01-13 17:49:18 +00:00
|
|
|
/port Ports to other languages and scripts to maintain those.
|
2011-07-17 21:25:23 +00:00
|
|
|
/test Unit- and regression tests, test suite of models.
|
2012-01-13 17:49:18 +00:00
|
|
|
/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!)
|
2010-04-17 15:16:23 +00:00
|
|
|
|
2008-09-13 11:53:17 +00:00
|
|
|
|
2012-01-13 17:49:18 +00:00
|
|
|
------------------------------
|
2011-07-17 21:25:23 +00:00
|
|
|
2. Build the library
|
2012-01-13 17:49:18 +00:00
|
|
|
------------------------------
|
2008-09-13 11:53:17 +00:00
|
|
|
|
|
|
|
Take a look into the INSTALL file.
|
|
|
|
|
|
|
|
|
2012-01-13 17:49:18 +00:00
|
|
|
------------------------------
|
|
|
|
3. Where to get help
|
|
|
|
------------------------------
|
|
|
|
|
|
|
|
For more information, visit http://assimp.sourceforge.net/. Or have a look into
|
|
|
|
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
|
|
|
|
> Open Discussion: http://sourceforge.net/projects/assimp/forums/forum/817653)
|
|
|
|
> General Help: http://sourceforge.net/projects/assimp/forums/forum/817654
|
2011-07-17 21:25:23 +00:00
|
|
|
|
2012-01-13 17:49:18 +00:00
|
|
|
For development stuff, there is also a mailing list, assimp-discussions
|
|
|
|
subscribe: https://lists.sourceforge.net/lists/listinfo/assimp-discussions
|
2011-07-17 21:25:23 +00:00
|
|
|
|
|
|
|
|
2012-01-13 17:49:18 +00:00
|
|
|
------------------------------
|
2008-09-13 11:53:17 +00:00
|
|
|
4. License
|
2012-01-13 17:49:18 +00:00
|
|
|
------------------------------
|
|
|
|
|
|
|
|
The license of the Asset Import Library is based on the modified, 3-clause BSD-
|
|
|
|
License, which is a very liberal 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 formal details, see the LICENSE file.
|
|
|
|
|