瀏覽代碼

Changed "Free" to "Open", Java build configs, port directory added, intellij idea5.1 project file added

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@25 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 17 年之前
父節點
當前提交
8c002e6998
共有 100 個文件被更改,包括 289 次插入103 次删除
  1. 1 1
      code/3DSConverter.cpp
  2. 1 1
      code/3DSGenNormals.cpp
  3. 1 1
      code/3DSHelper.h
  4. 1 1
      code/3DSLoader.cpp
  5. 1 1
      code/3DSLoader.h
  6. 1 1
      code/3DSSpatialSort.cpp
  7. 1 1
      code/3DSSpatialSort.h
  8. 1 1
      code/ASELoader.cpp
  9. 1 1
      code/ASELoader.h
  10. 1 1
      code/ASEParser.cpp
  11. 1 1
      code/ASEParser.h
  12. 1 1
      code/Assimp.cpp
  13. 1 1
      code/BaseImporter.cpp
  14. 1 1
      code/BaseImporter.h
  15. 1 1
      code/BaseProcess.h
  16. 1 1
      code/ByteSwap.h
  17. 1 1
      code/CalcTangentsProcess.cpp
  18. 1 1
      code/CalcTangentsProcess.h
  19. 1 1
      code/ConvertToLHProcess.h
  20. 1 1
      code/DefaultIOStream.cpp
  21. 1 1
      code/DefaultIOStream.h
  22. 1 1
      code/DefaultIOSystem.cpp
  23. 1 1
      code/DefaultIOSystem.h
  24. 1 1
      code/DefaultLogger.cpp
  25. 1 1
      code/DefaultLogger.h
  26. 1 1
      code/GenFaceNormalsProcess.cpp
  27. 1 1
      code/GenFaceNormalsProcess.h
  28. 1 1
      code/GenVertexNormalsProcess.cpp
  29. 1 1
      code/GenVertexNormalsProcess.h
  30. 1 1
      code/Importer.cpp
  31. 49 0
      code/JNICalls.cpp
  32. 1 1
      code/JoinVerticesProcess.cpp
  33. 1 1
      code/JoinVerticesProcess.h
  34. 1 1
      code/KillNormalsProcess.cpp
  35. 1 1
      code/KillNormalsProcess.h
  36. 1 1
      code/MD2FileData.h
  37. 1 1
      code/MD2Loader.cpp
  38. 1 1
      code/MD2Loader.h
  39. 1 1
      code/MD2NormalTable.h
  40. 1 1
      code/MD3FileData.h
  41. 1 1
      code/MD3Loader.cpp
  42. 1 1
      code/MD3Loader.h
  43. 1 1
      code/MD4FileData.h
  44. 1 1
      code/MD4Loader.cpp
  45. 1 1
      code/MD4Loader.h
  46. 1 1
      code/MD5Loader.h
  47. 1 1
      code/MDLDefaultColorMap.h
  48. 1 1
      code/MDLFileData.h
  49. 87 4
      code/MDLLoader.cpp
  50. 15 1
      code/MDLLoader.h
  51. 1 1
      code/MaterialSystem.cpp
  52. 1 1
      code/MaterialSystem.h
  53. 1 1
      code/ObjFileData.h
  54. 1 1
      code/ObjFileImporter.h
  55. 1 1
      code/ObjFileMtlImporter.h
  56. 1 1
      code/ObjFileParser.h
  57. 1 1
      code/ObjTools.h
  58. 1 1
      code/PlyLoader.cpp
  59. 1 1
      code/PlyLoader.h
  60. 1 1
      code/PlyParser.cpp
  61. 1 1
      code/PlyParser.h
  62. 1 1
      code/SpatialSort.cpp
  63. 1 1
      code/SpatialSort.h
  64. 1 1
      code/SplitLargeMeshes.cpp
  65. 1 1
      code/SplitLargeMeshes.h
  66. 1 1
      code/TriangulateProcess.h
  67. 1 1
      code/XFileHelper.h
  68. 1 1
      code/XFileImporter.cpp
  69. 1 1
      code/XFileImporter.h
  70. 1 1
      code/XFileParser.cpp
  71. 1 1
      code/XFileParser.h
  72. 43 3
      code/res/assimp.rc
  73. 二進制
      doc/ImporterNotes.rtf
  74. 1 1
      doc/Preamble.txt
  75. 1 1
      include/aiAnim.h
  76. 1 1
      include/aiFileIO.h
  77. 1 1
      include/aiMaterial.h
  78. 1 1
      include/aiMesh.h
  79. 1 1
      include/aiPostProcess.h
  80. 1 1
      include/aiScene.h
  81. 1 1
      include/aiTexture.h
  82. 1 1
      include/aiTypes.h
  83. 1 1
      include/assimp.h
  84. 1 1
      include/assimp.hpp
  85. 1 1
      tools/assimp_view/AssetHelper.h
  86. 1 1
      tools/assimp_view/Background.cpp
  87. 1 1
      tools/assimp_view/Display.cpp
  88. 1 1
      tools/assimp_view/Display.h
  89. 1 1
      tools/assimp_view/HelpDialog.cpp
  90. 1 1
      tools/assimp_view/Input.cpp
  91. 1 1
      tools/assimp_view/LogDisplay.cpp
  92. 1 1
      tools/assimp_view/LogDisplay.h
  93. 1 1
      tools/assimp_view/LogWindow.cpp
  94. 1 1
      tools/assimp_view/LogWindow.h
  95. 1 1
      tools/assimp_view/Material.cpp
  96. 1 1
      tools/assimp_view/MaterialManager.h
  97. 1 1
      tools/assimp_view/MeshRenderer.cpp
  98. 1 1
      tools/assimp_view/MeshRenderer.h
  99. 1 1
      tools/assimp_view/MessageProc.cpp
  100. 1 1
      tools/assimp_view/Normals.cpp

+ 1 - 1
code/3DSConverter.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/3DSGenNormals.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/3DSHelper.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/3DSLoader.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/3DSLoader.h

@@ -1,6 +1,6 @@
 
 
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/3DSSpatialSort.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/3DSSpatialSort.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ASELoader.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ASELoader.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ASEParser.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ASEParser.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/Assimp.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/BaseImporter.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/BaseImporter.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/BaseProcess.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ByteSwap.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/CalcTangentsProcess.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/CalcTangentsProcess.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ConvertToLHProcess.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/DefaultIOStream.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/DefaultIOStream.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/DefaultIOSystem.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/DefaultIOSystem.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/DefaultLogger.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/DefaultLogger.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/GenFaceNormalsProcess.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/GenFaceNormalsProcess.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/GenVertexNormalsProcess.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/GenVertexNormalsProcess.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/Importer.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 49 - 0
code/JNICalls.cpp

@@ -0,0 +1,49 @@
+/*
+---------------------------------------------------------------------------
+Open Asset Import Library (ASSIMP)
+---------------------------------------------------------------------------
+
+Copyright (c) 2006-2008, ASSIMP Development Team
+
+All rights reserved.
+
+Redistribution and use of this software in source and binary forms, 
+with or without modification, are permitted provided that the following 
+conditions are met:
+
+* Redistributions of source code must retain the above
+  copyright notice, this list of conditions and the
+  following disclaimer.
+
+* Redistributions in binary form must reproduce the above
+  copyright notice, this list of conditions and the
+  following disclaimer in the documentation and/or other
+  materials provided with the distribution.
+
+* Neither the name of the ASSIMP team, nor the names of its
+  contributors may be used to endorse or promote products
+  derived from this software without specific prior
+  written permission of the ASSIMP Development Team.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+---------------------------------------------------------------------------
+*/
+
+/** @file Implementation of the JNI API for jAssimp */
+
+#if (defined ASSIMP_JNI_EXPORT)
+
+// include the JNI API
+#include <jni.h>
+
+#endif // !ASSIMP_JNI_EXPORT

+ 1 - 1
code/JoinVerticesProcess.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/JoinVerticesProcess.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/KillNormalsProcess.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/KillNormalsProcess.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD2FileData.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD2Loader.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD2Loader.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD2NormalTable.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD3FileData.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD3Loader.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD3Loader.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD4FileData.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD4Loader.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD4Loader.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MD5Loader.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MDLDefaultColorMap.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MDLFileData.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 87 - 4
code/MDLLoader.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team
@@ -147,12 +147,14 @@ void MDLImporter::InternReadFile(
 	if (AI_MDL_MAGIC_NUMBER_BE == this->m_pcHeader->ident ||
 	if (AI_MDL_MAGIC_NUMBER_BE == this->m_pcHeader->ident ||
 		AI_MDL_MAGIC_NUMBER_LE == this->m_pcHeader->ident)
 		AI_MDL_MAGIC_NUMBER_LE == this->m_pcHeader->ident)
 	{
 	{
+		DefaultLogger::get()->debug("MDL subtype: Quake 1, magic word is IDPO");
 		this->InternReadFile_Quake1();
 		this->InternReadFile_Quake1();
 	}
 	}
 	// GameStudio A4 MDL3 format
 	// GameStudio A4 MDL3 format
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS4 == this->m_pcHeader->ident ||
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS4 == this->m_pcHeader->ident ||
 			 AI_MDL_MAGIC_NUMBER_LE_GS4 == this->m_pcHeader->ident)
 			 AI_MDL_MAGIC_NUMBER_LE_GS4 == this->m_pcHeader->ident)
 	{
 	{
+		DefaultLogger::get()->debug("MDL subtype: 3D GameStudio A4, magic word is MDL3");
 		this->iGSFileVersion = 3;
 		this->iGSFileVersion = 3;
 		this->InternReadFile_GameStudio();
 		this->InternReadFile_GameStudio();
 	}
 	}
@@ -160,6 +162,7 @@ void MDLImporter::InternReadFile(
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS5a == this->m_pcHeader->ident ||
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS5a == this->m_pcHeader->ident ||
 			 AI_MDL_MAGIC_NUMBER_LE_GS5a == this->m_pcHeader->ident)
 			 AI_MDL_MAGIC_NUMBER_LE_GS5a == this->m_pcHeader->ident)
 	{
 	{
+		DefaultLogger::get()->debug("MDL subtype: 3D GameStudio A4, magic word is MDL4");
 		this->iGSFileVersion = 4;
 		this->iGSFileVersion = 4;
 		this->InternReadFile_GameStudio();
 		this->InternReadFile_GameStudio();
 	}
 	}
@@ -167,6 +170,7 @@ void MDLImporter::InternReadFile(
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS5b == this->m_pcHeader->ident ||
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS5b == this->m_pcHeader->ident ||
 			 AI_MDL_MAGIC_NUMBER_LE_GS5b == this->m_pcHeader->ident)
 			 AI_MDL_MAGIC_NUMBER_LE_GS5b == this->m_pcHeader->ident)
 	{
 	{
+		DefaultLogger::get()->debug("MDL subtype: 3D GameStudio A5, magic word is MDL5");
 		this->iGSFileVersion = 5;
 		this->iGSFileVersion = 5;
 		this->InternReadFile_GameStudio();
 		this->InternReadFile_GameStudio();
 	}
 	}
@@ -174,6 +178,7 @@ void MDLImporter::InternReadFile(
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS6 == this->m_pcHeader->ident ||
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS6 == this->m_pcHeader->ident ||
 			 AI_MDL_MAGIC_NUMBER_LE_GS6 == this->m_pcHeader->ident)
 			 AI_MDL_MAGIC_NUMBER_LE_GS6 == this->m_pcHeader->ident)
 	{
 	{
+		DefaultLogger::get()->debug("MDL subtype: 3D GameStudio A6, magic word is MDL6");
 		this->iGSFileVersion = 6;
 		this->iGSFileVersion = 6;
 		this->InternReadFile_GameStudio();
 		this->InternReadFile_GameStudio();
 	}
 	}
@@ -181,9 +186,19 @@ void MDLImporter::InternReadFile(
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS7 == this->m_pcHeader->ident ||
 	else if (AI_MDL_MAGIC_NUMBER_BE_GS7 == this->m_pcHeader->ident ||
 			 AI_MDL_MAGIC_NUMBER_LE_GS7 == this->m_pcHeader->ident)
 			 AI_MDL_MAGIC_NUMBER_LE_GS7 == this->m_pcHeader->ident)
 	{
 	{
+		DefaultLogger::get()->debug("MDL subtype: 3D GameStudio A7, magic word is MDL7");
 		this->iGSFileVersion = 7;
 		this->iGSFileVersion = 7;
 		this->InternReadFile_GameStudioA7();
 		this->InternReadFile_GameStudioA7();
 	}
 	}
+	// IDST/IDSQ Format (CS:S/HL², etc ...)
+	else if (AI_MDL_MAGIC_NUMBER_BE_HL2a == this->m_pcHeader->ident ||
+			 AI_MDL_MAGIC_NUMBER_LE_HL2a == this->m_pcHeader->ident ||
+			 AI_MDL_MAGIC_NUMBER_BE_HL2b == this->m_pcHeader->ident ||
+			 AI_MDL_MAGIC_NUMBER_LE_HL2b == this->m_pcHeader->ident)
+	{
+		DefaultLogger::get()->debug("MDL subtype: CS:S\\HL², magic word is IDST/IDSQ");
+		this->InternReadFile_HL2();
+	}
 	else
 	else
 	{
 	{
 		// we're definitely unable to load this file
 		// we're definitely unable to load this file
@@ -191,6 +206,10 @@ void MDLImporter::InternReadFile(
 			". Magic word is not known");
 			". Magic word is not known");
 	}
 	}
 
 
+	// make sure that the normals are facing outwards
+	for (unsigned int i = 0; i < pScene->mNumMeshes;++i)
+		this->FlipNormals(pScene->mMeshes[i]);
+
 	// delete the file buffer
 	// delete the file buffer
 	delete[] this->mBuffer;
 	delete[] this->mBuffer;
 	return;
 	return;
@@ -208,6 +227,9 @@ void MDLImporter::SearchPalette(const unsigned char** pszColorMap)
 		{
 		{
 			szColorMap = new unsigned char[256*3];
 			szColorMap = new unsigned char[256*3];
 			pcStream->Read(const_cast<unsigned char*>(szColorMap),256*3,1);
 			pcStream->Read(const_cast<unsigned char*>(szColorMap),256*3,1);
+
+			DefaultLogger::get()->info("Found valid colormap.lmp in directory. "
+				"It will be used to decode embedded textures in palletized formats.");
 		}
 		}
 		delete pcStream;
 		delete pcStream;
 		pcStream = NULL;
 		pcStream = NULL;
@@ -861,7 +883,7 @@ void MDLImporter::InternReadFile_GameStudio( )
 		}
 		}
 
 
 	}
 	}
-	// short packed vertices
+	// short packed vertices (duplicating the code is smaller than using templates ....)
 	else
 	else
 	{
 	{
 		// now get a pointer to the first frame in the file
 		// now get a pointer to the first frame in the file
@@ -970,7 +992,7 @@ void MDLImporter::InternReadFile_GameStudio( )
 			{
 			{
 				(*i).x /= iWidth;
 				(*i).x /= iWidth;
 				(*i).y /= iHeight;
 				(*i).y /= iHeight;
-				(*i).y = 1.0f- (*i).y;
+				(*i).y = 1.0f- (*i).y; // DX to OGL
 			}
 			}
 		}
 		}
 	}
 	}
@@ -1048,7 +1070,7 @@ void MDLImporter::ParseSkinLump_GameStudioA7(
 	}
 	}
 	if (0x7 == iMasked)
 	if (0x7 == iMasked)
 	{
 	{
-		// ***** REFERENCE TO EXTERNAL FILE FILE *****
+		// ***** REFERENCE TO EXTERNAL FILE *****
 		if (1 != pcSkin->height)
 		if (1 != pcSkin->height)
 		{
 		{
 			DefaultLogger::get()->warn("Found a reference to an external texture, "
 			DefaultLogger::get()->warn("Found a reference to an external texture, "
@@ -1147,6 +1169,8 @@ void MDLImporter::ParseSkinLump_GameStudioA7(
 		pcMatOut->AddProperty<aiColor4D>(&clrTemp,1,AI_MATKEY_COLOR_EMISSIVE);
 		pcMatOut->AddProperty<aiColor4D>(&clrTemp,1,AI_MATKEY_COLOR_EMISSIVE);
 
 
 		// FIX: Take the opacity from the ambient color
 		// FIX: Take the opacity from the ambient color
+		// the doc says something else, but it is fact that MED exports the
+		// opacity like this .... ARRRGGHH!
 		clrTemp.a = pcMatIn->Ambient.a;
 		clrTemp.a = pcMatIn->Ambient.a;
 		pcMatOut->AddProperty<float>(&clrTemp.a,1,AI_MATKEY_OPACITY);
 		pcMatOut->AddProperty<float>(&clrTemp.a,1,AI_MATKEY_OPACITY);
 
 
@@ -1677,6 +1701,9 @@ void MDLImporter::GenerateOutputMeshes_GameStudioA7(
 	const std::vector<aiVector3D>& vTextureCoords1,
 	const std::vector<aiVector3D>& vTextureCoords1,
 	const std::vector<aiVector3D>& vTextureCoords2)
 	const std::vector<aiVector3D>& vTextureCoords2)
 {
 {
+	ai_assert(NULL != aiSplit);
+	ai_assert(NULL != pcFaces);
+
 	for (unsigned int i = 0; i < pcMats.size();++i)
 	for (unsigned int i = 0; i < pcMats.size();++i)
 	{
 	{
 		if (!aiSplit[i]->empty())
 		if (!aiSplit[i]->empty())
@@ -1762,4 +1789,60 @@ void MDLImporter::JoinSkins_GameStudioA7(
 		pcMatOut->AddProperty(&sString,AI_MATKEY_TEXTURE_DIFFUSE(1));
 		pcMatOut->AddProperty(&sString,AI_MATKEY_TEXTURE_DIFFUSE(1));
 	}
 	}
 	return;
 	return;
+}
+// ------------------------------------------------------------------------------------------------
+void MDLImporter::FlipNormals(aiMesh* pcMesh)
+{
+	ai_assert(NULL != pcMesh);
+
+	// compute the bounding box of both the model vertices + normals and
+	// the umodified model vertices. Then check whether the first BB
+	// is smaller than the second. In this case we can assume that the
+	// normals need to be flipped, although there are a few special cases ..
+	// convex, concave, planar models ...
+
+	aiVector3D vMin0(1e10f,1e10f,1e10f);
+	aiVector3D vMin1(1e10f,1e10f,1e10f);
+	aiVector3D vMax0(-1e10f,-1e10f,-1e10f);
+	aiVector3D vMax1(-1e10f,-1e10f,-1e10f);
+
+	for (unsigned int i = 0; i < pcMesh->mNumVertices;++i)
+	{
+		vMin1.x = std::min(vMin1.x,pcMesh->mVertices[i].x);
+		vMin1.y = std::min(vMin1.y,pcMesh->mVertices[i].y);
+		vMin1.z = std::min(vMin1.z,pcMesh->mVertices[i].z);
+
+		vMax1.x = std::max(vMax1.x,pcMesh->mVertices[i].x);
+		vMax1.y = std::max(vMax1.y,pcMesh->mVertices[i].y);
+		vMax1.z = std::max(vMax1.z,pcMesh->mVertices[i].z);
+
+		aiVector3D vWithNormal = pcMesh->mVertices[i] + pcMesh->mNormals[i];
+
+		vMin0.x = std::min(vMin0.x,vWithNormal.x);
+		vMin0.y = std::min(vMin0.y,vWithNormal.y);
+		vMin0.z = std::min(vMin0.z,vWithNormal.z);
+
+		vMax0.x = std::max(vMax0.x,vWithNormal.x);
+		vMax0.y = std::max(vMax0.y,vWithNormal.y);
+		vMax0.z = std::max(vMax0.z,vWithNormal.z);
+	}
+
+	if (fabsf((vMax0.x - vMin0.x) * (vMax0.y - vMin0.y) * (vMax0.z - vMin0.z)) <= 
+		fabsf((vMax1.x - vMin1.x) * (vMax1.y - vMin1.y) * (vMax1.z - vMin1.z)))
+	{
+		DefaultLogger::get()->info("The models normals are facing inwards "
+			"(or the model is too planar or concave). Flipping the normal set ...");
+
+		for (unsigned int i = 0; i < pcMesh->mNumVertices;++i)
+		{
+			pcMesh->mNormals[i] *= -1.0f;
+		}
+	}
+	return;
+}
+// ------------------------------------------------------------------------------------------------
+void MDLImporter::InternReadFile_HL2( )
+{
+	const MDL::Header_HL2* pcHeader = (const MDL::Header_HL2*)this->mBuffer;
+	return;
 }
 }

+ 15 - 1
code/MDLLoader.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team
@@ -117,6 +117,11 @@ protected:
 	*/
 	*/
 	void InternReadFile_GameStudioA7( );
 	void InternReadFile_GameStudioA7( );
 
 
+	// -------------------------------------------------------------------
+	/** Import a CS:S/HL2 MDL file
+	*/
+	void InternReadFile_HL2( );
+
 	// -------------------------------------------------------------------
 	// -------------------------------------------------------------------
 	/** Load a paletized texture from the file and convert it to 32bpp
 	/** Load a paletized texture from the file and convert it to 32bpp
 	*/
 	*/
@@ -216,6 +221,15 @@ protected:
 	 */
 	 */
 	void FreePalette(const unsigned char* pszColorMap);
 	void FreePalette(const unsigned char* pszColorMap);
 
 
+	// -------------------------------------------------------------------
+	/** Try to determine whether the normals of the model are flipped
+	 *  Some MDL7 models seem to have flipped normals (and there is also 
+	 *  an option "flip normals" in MED). However, I don't see a proper
+	 *  way to read from the file whether all normals are correctly 
+	 *  facing outwards ...
+	 */
+	void FlipNormals(aiMesh* pcMesh);
+
 private:
 private:
 
 
 	/** Header of the MDL file */
 	/** Header of the MDL file */

+ 1 - 1
code/MaterialSystem.cpp

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/MaterialSystem.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ObjFileData.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ObjFileImporter.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ObjFileMtlImporter.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ObjFileParser.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/ObjTools.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/PlyLoader.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/PlyLoader.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/PlyParser.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/PlyParser.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/SpatialSort.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/SpatialSort.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/SplitLargeMeshes.cpp

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/SplitLargeMeshes.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/TriangulateProcess.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/XFileHelper.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/XFileImporter.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/XFileImporter.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/XFileParser.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
code/XFileParser.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 43 - 3
code/res/assimp.rc

@@ -29,6 +29,8 @@ LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
 // Version
 // Version
 //
 //
 
 
+#if (!defined ASSIMP_JNI_EXPORT)
+
 VS_VERSION_INFO VERSIONINFO
 VS_VERSION_INFO VERSIONINFO
  FILEVERSION 1,0,0,1
  FILEVERSION 1,0,0,1
  PRODUCTVERSION 1,0,0,1
  PRODUCTVERSION 1,0,0,1
@@ -48,12 +50,48 @@ BEGIN
         BEGIN
         BEGIN
             VALUE "Comments", "Licensed under a 3-clause BSD license"
             VALUE "Comments", "Licensed under a 3-clause BSD license"
             VALUE "CompanyName", "ASSIMP Development Team"
             VALUE "CompanyName", "ASSIMP Development Team"
-            VALUE "FileDescription", "Free Asset Import Library "
+            VALUE "FileDescription", "Open Asset Import Library "
             VALUE "FileVersion", "1, 0, 0, 0"
             VALUE "FileVersion", "1, 0, 0, 0"
             VALUE "InternalName", "assimp"
             VALUE "InternalName", "assimp"
             VALUE "LegalCopyright", "Copyright (C) 2008"
             VALUE "LegalCopyright", "Copyright (C) 2008"
-            VALUE "OriginalFilename", "assimp32.dll"
-            VALUE "ProductName", "Free Asset Import Library "
+            VALUE "OriginalFilename", "assimpNN.dll"
+            VALUE "ProductName", "Open Asset Import Library "
+            VALUE "ProductVersion", "1, 0, 0, 0"
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x407, 1200
+    END
+END
+
+#else
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION 1,0,0,1
+ PRODUCTVERSION 1,0,0,1
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x7L
+ FILESUBTYPE 0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "040704b0"
+        BEGIN
+            VALUE "Comments", "Licensed under a 3-clause BSD license"
+            VALUE "CompanyName", "ASSIMP Development Team"
+            VALUE "FileDescription", "ASSIMP-JNI bridge module"
+            VALUE "FileVersion", "1, 0, 0, 0"
+            VALUE "InternalName", "jassimp"
+            VALUE "LegalCopyright", "Copyright (C) 2008"
+            VALUE "OriginalFilename", "jAssimpNN.dll"
+            VALUE "ProductName", "ASSIMP-JNI bridge module"
             VALUE "ProductVersion", "1, 0, 0, 0"
             VALUE "ProductVersion", "1, 0, 0, 0"
         END
         END
     END
     END
@@ -63,6 +101,8 @@ BEGIN
     END
     END
 END
 END
 
 
+#endif // !!ASSIMP_JNI_EXPORT 
+
 #endif    // Deutsch (Deutschland) resources
 #endif    // Deutsch (Deutschland) resources
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
 
 

二進制
doc/ImporterNotes.rtf


+ 1 - 1
doc/Preamble.txt

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
include/aiAnim.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
include/aiFileIO.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
include/aiMaterial.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
include/aiMesh.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
include/aiPostProcess.h

@@ -1,5 +1,5 @@
 /*
 /*
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
include/aiScene.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
include/aiTexture.h

@@ -1,6 +1,6 @@
 
 
 /** 
 /** 
- ** This file is part of the Free Asset Import Library ASSIMP.
+ ** This file is part of the Open Asset Import Library ASSIMP.
  ** -------------------------------------------------------------------------
  ** -------------------------------------------------------------------------
  **
  **
  ** ASSIMP is free software: you can redistribute it and/or modify it 
  ** ASSIMP is free software: you can redistribute it and/or modify it 

+ 1 - 1
include/aiTypes.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
include/assimp.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
include/assimp.hpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/AssetHelper.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/Background.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/Display.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/Display.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/HelpDialog.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/Input.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/LogDisplay.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/LogDisplay.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/LogWindow.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/LogWindow.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/Material.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/MaterialManager.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/MeshRenderer.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/MeshRenderer.h

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/MessageProc.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

+ 1 - 1
tools/assimp_view/Normals.cpp

@@ -1,6 +1,6 @@
 /*
 /*
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
-Free Asset Import Library (ASSIMP)
+Open Asset Import Library (ASSIMP)
 ---------------------------------------------------------------------------
 ---------------------------------------------------------------------------
 
 
 Copyright (c) 2006-2008, ASSIMP Development Team
 Copyright (c) 2006-2008, ASSIMP Development Team

Some files were not shown because too many files changed in this diff