From 030d982cfa8ef6a97737afd9dec7c9867997e389 Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Wed, 21 Jan 2009 14:36:03 +0000 Subject: [PATCH] Added the cube.dae and the cube.x from kwxport + a license file. TODO: cube.x fails to load because of RGBA vertex colors. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@317 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- test/models/Collada/kwxport_test_vcolors.dae | 394 ++++++++++++++++++ .../kwxport_test_vcolors.dae.source.txt} | 0 .../X/kwxport_test_cubewithvcolors.source.txt | 16 + ...Color.x => kwxport_test_cubewithvcolors.x} | 0 4 files changed, 410 insertions(+) create mode 100644 test/models/Collada/kwxport_test_vcolors.dae rename test/models/{X/cube_withRGBAVertexColor.source.txt => Collada/kwxport_test_vcolors.dae.source.txt} (100%) create mode 100644 test/models/X/kwxport_test_cubewithvcolors.source.txt rename test/models/X/{cube_withRGBAVertexColor.x => kwxport_test_cubewithvcolors.x} (100%) diff --git a/test/models/Collada/kwxport_test_vcolors.dae b/test/models/Collada/kwxport_test_vcolors.dae new file mode 100644 index 000000000..2cce673fc --- /dev/null +++ b/test/models/Collada/kwxport_test_vcolors.dae @@ -0,0 +1,394 @@ + + + + + JWatte + 3dsMax 11 - Feeling ColladaMax v3.05B. + ColladaMax Export Options: ExportNormals=1;ExportEPolyAsTriangles=1;ExportXRefs=0;ExportSelected=0;ExportTangents=0;ExportAnimations=0;SampleAnim=1;ExportAnimClip=0;BakeMatrices=0;ExportRelativePaths=1;AnimStart=1.36667;AnimEnd=2.16667; + file:///c:/code/sourceforge/kwxport/trunkMerged/test/data/cube.max + + 2008-05-15T20:41:01Z + 2008-05-15T20:41:03Z + + Z_UP + + + + ./../X/top.tga + + + ./../X/bottom.tga + + + ./../X/updown.tga + + + + + + + + + + + + + + + + + + + top.tga + A8R8G8B8 + + + + + top_tga-surface + WRAP + WRAP + NONE + NONE + NONE + + + + + + 0.588235 0.588235 0.588235 1 + + + + + + 0 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + + + 1 + + + + + + 0.9 0.9 0.9 1 + + + 0.109283 + + + 0 0 0 1 + + + 1 + + + 1 1 1 1 + + + 1 + + + + + + 0.78 + + + 0 + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + bottom.tga + A8R8G8B8 + + + + + bottom_tga-surface + WRAP + WRAP + NONE + NONE + NONE + + + + + + 0.588 0.588 0.588 1 + + + + + + 0 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + + + 1 + + + + + + 0.9 0.9 0.9 1 + + + 0.228923 + + + 0 0 0 1 + + + 1 + + + 1 1 1 1 + + + 1 + + + + + + 0.38 + + + 0 + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + updown.tga + A8R8G8B8 + + + + + updown_tga-surface + WRAP + WRAP + NONE + NONE + NONE + + + + + + 0.588 0.588 0.588 1 + + + + + + 0 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 0 + + + 1 + + + + + + 0.9 0.9 0.9 1 + + + 0.095535 + + + 0 0 0 1 + + + 1 + + + 1 1 1 1 + + + 1 + + + + + + 0.7 + + + 0 + + + + + + + + 0 + 0 + 0 + 0 + + + + + + + + + -19.685 -19.685 0 19.685 -19.685 0 -19.685 19.685 0 19.685 19.685 0 -19.685 -19.685 39.3701 19.685 -19.685 39.3701 -19.685 19.685 39.3701 19.685 19.685 39.3701 + + + + + + + + + + 0 0 -1 0 0 -1 0 0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 0 0 1 0 -1 0 0 -1 0 0 -1 0 0 -1 0 1 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 1 0 0 1 0 -1 0 0 -1 0 0 -1 0 0 -1 0 0 + + + + + + + + + + 1 0 0 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 0 1 0 + + + + + + + + + + 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 1 0 1 1 0 1 1 0 0 1 0 1 -0.000000 0 -0.000000 0.000000 0 0 0 0 1 0 0 1 1 0 0 1 0 + + + + + + + + + + + + + + + + +

0 0 0 9 2 1 2 11 3 2 3 10 3 2 3 10 1 3 1 8 0 0 0 9

+
+ + + + + +

4 4 4 12 5 5 5 13 7 6 7 14 7 6 7 14 6 7 6 15 4 4 4 12

+
+ + + + + +

0 8 0 4 1 9 1 5 5 10 5 7 5 10 5 7 4 11 4 6 0 8 0 4 1 12 1 0 3 13 3 1 7 14 7 3 7 14 7 3 5 15 5 2 1 12 1 0 3 16 3 4 2 17 2 5 6 18 6 7 6 18 6 7 7 19 7 6 3 16 3 4 2 20 2 0 0 21 0 1 4 22 4 3 4 22 4 3 6 23 6 2 2 20 2 0

+
+
+
+
+ + + + 0 0 -19.685 + + + + + + + + + + + + + + + + + + + 1.36667 + 2.16667 + + + + + 30 + + + + + + + +
diff --git a/test/models/X/cube_withRGBAVertexColor.source.txt b/test/models/Collada/kwxport_test_vcolors.dae.source.txt similarity index 100% rename from test/models/X/cube_withRGBAVertexColor.source.txt rename to test/models/Collada/kwxport_test_vcolors.dae.source.txt diff --git a/test/models/X/kwxport_test_cubewithvcolors.source.txt b/test/models/X/kwxport_test_cubewithvcolors.source.txt new file mode 100644 index 000000000..d173f5a47 --- /dev/null +++ b/test/models/X/kwxport_test_cubewithvcolors.source.txt @@ -0,0 +1,16 @@ +From kwxport +http://www.kwxport.org/ + +>> +The kW Xport plug-in source is released under the MIT license. +Basically, it means "feel free to use it; credit the source; don't sue me +if something goes wrong." +>> + +MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/test/models/X/cube_withRGBAVertexColor.x b/test/models/X/kwxport_test_cubewithvcolors.x similarity index 100% rename from test/models/X/cube_withRGBAVertexColor.x rename to test/models/X/kwxport_test_cubewithvcolors.x