Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Readme.md 4.0 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Open Asset Import Library (assimp)
  2. ========
  3. 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.
  4. 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](http://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](https://travis-ci.org/assimp/assimp.png)](https://travis-ci.org/assimp/assimp)
  5. #### Supported file formats ####
  6. The library provides importers for a lot of file formats, including:
  7. - 3DS
  8. - BLEND (Blender 3D)
  9. - DAE/Collada
  10. - FBX
  11. - IFC-STEP
  12. - ASE
  13. - DXF
  14. - HMP
  15. - MD2
  16. - MD3
  17. - MD5
  18. - MDC
  19. - MDL
  20. - NFF
  21. - PLY
  22. - STL
  23. - X
  24. - OBJ
  25. - SMD
  26. - LWO
  27. - LXO
  28. - LWS
  29. - TER
  30. - AC3D
  31. - MS3D
  32. - COB
  33. - Q3BSP
  34. - XGL
  35. - CSM
  36. - BVH
  37. - B3D
  38. - NDO
  39. - Ogre Binary
  40. - Ogre XML
  41. - Q3D
  42. Additionally, the following formats are also supported, but not part of the core library as they depend on proprietary libraries.
  43. - C4D (https://github.com/acgessler/assimp-cinema4d)
  44. Exporters include:
  45. - DAE (Collada)
  46. - STL
  47. - OBJ
  48. - PLY
  49. - JSON (for WebGl, via https://github.com/acgessler/assimp2json)
  50. See [the full list here](http://assimp.sourceforge.net/main_features_formats.html).
  51. #### Repository structure ####
  52. Open Asset Import Library is implemented in C++ (but provides both a C and a
  53. C++ish interface). The directory structure is:
  54. /bin Folder for binaries, only used on Windows
  55. /code Source code
  56. /contrib Third-party libraries
  57. /doc Documentation (doxysource and pre-compiled docs)
  58. /include Public header C and C++ header files
  59. /lib Static library location for Windows
  60. /obj Object file location for Windows
  61. /scripts Scripts used to generate the loading code for some formats
  62. /port Ports to other languages and scripts to maintain those.
  63. /test Unit- and regression tests, test suite of models
  64. /tools Tools (viewer, command line `assimp`)
  65. /samples A small number of samples to illustrate possible
  66. use cases for Assimp
  67. /workspaces Build enviroments for vc,xcode,... (deprecated,
  68. CMake has superseeded all legacy build options!)
  69. ### Building ###
  70. 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.
  71. ### Where to get help ###
  72. For more information, visit [our website](http://assimp.sourceforge.net/). Or check out the `./doc`- folder, which contains the official documentation in HTML format.
  73. (CHMs for Windows are included in some release packages and should be located right here in the root folder).
  74. If the documentation doesn't solve your problems,
  75. [try our forums at SF.net](http://sourceforge.net/p/assimp/discussion/817654) or ask on
  76. [StackOverflow](http://stackoverflow.com/questions/tagged/assimp?sort=newest).
  77. For development discussions, there is also a mailing list, _assimp-discussions_
  78. [(subscribe here)]( https://lists.sourceforge.net/lists/listinfo/assimp-discussions)
  79. ### Contributing ###
  80. Contributions to assimp are highly appreciated. The easiest way to get involved is to submit
  81. a pull request with your changes against the main repository's `master` branch.
  82. ### License ###
  83. Our license is based on the modified, __3-clause BSD__-License, which is very liberal.
  84. An _informal_ summary is: do whatever you want, but include Assimp's license text with your product -
  85. and don't sue us if our code doesn't work. Note that, unlike LGPLed code, you may link statically to Assimp.
  86. For the legal details, see the `LICENSE` file.