Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#5996: Add more tests checking the resulting skinned model an entity …
…using a modelDef as "model" key value
- Loading branch information
1 parent
0fcbe67
commit b9d6d6a
Showing
3 changed files
with
308 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,232 @@ | ||
MD5Version 10 | ||
commandline "" | ||
|
||
numJoints 14 | ||
numMeshes 2 | ||
|
||
joints { | ||
"origin" -1 ( 0.000000 0.000000 0.000000 ) ( -0.000000 -0.000000 0.707107 ) // | ||
"root" 0 ( -71.658241 0.000002 0.000000 ) ( -0.000000 -0.000000 0.707107 ) // origin | ||
"up" 1 ( -59.658241 0.000003 30.000000 ) ( -0.000000 -0.000000 0.707107 ) // root | ||
"up1" 2 ( -29.658241 0.000006 30.000000 ) ( -0.000000 -0.000000 0.707107 ) // up | ||
"up2" 3 ( -14.658241 0.000007 30.000000 ) ( -0.000000 -0.000000 0.707107 ) // up1 | ||
"up3" 4 ( 0.341759 0.000008 30.000000 ) ( -0.000000 -0.000000 0.707107 ) // up2 | ||
"up4" 5 ( 15.341759 0.000009 30.000000 ) ( -0.000000 -0.000000 0.707107 ) // up3 | ||
"up5" 6 ( 30.341759 0.000010 30.000000 ) ( -0.000000 -0.000000 0.707107 ) // up4 | ||
"do" 1 ( -59.658241 0.000003 -30.000000 ) ( -0.000000 -0.000000 0.707107 ) // root | ||
"do1" 8 ( -29.658241 0.000006 -30.000000 ) ( -0.000000 -0.000000 0.707107 ) // do | ||
"do2" 9 ( -14.658241 0.000007 -30.000000 ) ( -0.000000 -0.000000 0.707107 ) // do1 | ||
"do3" 10 ( 0.341759 0.000008 -30.000000 ) ( -0.000000 -0.000000 0.707107 ) // do2 | ||
"do4" 11 ( 15.341759 0.000009 -30.000000 ) ( -0.000000 -0.000000 0.707107 ) // do3 | ||
"do5" 12 ( 30.341759 0.000010 -30.000000 ) ( -0.000000 -0.000000 0.707107 ) // do4 | ||
} | ||
|
||
mesh { | ||
// meshes: flag | ||
|
||
shader "flag_pirate" | ||
|
||
numverts 21 | ||
vert 0 ( 0.250000 0.000003 ) 0 2 | ||
vert 1 ( 0.000003 0.000000 ) 2 1 | ||
vert 2 ( 0.000001 0.499996 ) 3 2 | ||
vert 3 ( 0.249999 0.499998 ) 5 4 | ||
vert 4 ( 0.000000 0.999991 ) 9 1 | ||
vert 5 ( 0.249998 0.999994 ) 10 2 | ||
vert 6 ( 0.749996 0.500001 ) 12 4 | ||
vert 7 ( 0.999995 0.500002 ) 16 2 | ||
vert 8 ( 0.749996 0.000004 ) 18 2 | ||
vert 9 ( 0.999995 0.000004 ) 20 1 | ||
vert 10 ( 0.749996 0.999999 ) 21 2 | ||
vert 11 ( 0.999995 1.000000 ) 23 1 | ||
vert 12 ( 0.624997 0.500001 ) 24 4 | ||
vert 13 ( 0.624996 0.999998 ) 28 2 | ||
vert 14 ( 0.624997 0.000004 ) 30 2 | ||
vert 15 ( 0.499997 0.500000 ) 32 4 | ||
vert 16 ( 0.499996 0.999997 ) 36 2 | ||
vert 17 ( 0.499998 0.000004 ) 38 2 | ||
vert 18 ( 0.374998 0.499999 ) 40 4 | ||
vert 19 ( 0.374997 0.999996 ) 44 2 | ||
vert 20 ( 0.374999 0.000003 ) 46 2 | ||
|
||
numtris 24 | ||
tri 0 0 2 1 | ||
tri 1 0 3 2 | ||
tri 2 3 4 2 | ||
tri 3 3 5 4 | ||
tri 4 6 8 7 | ||
tri 5 7 8 9 | ||
tri 6 7 10 6 | ||
tri 7 7 11 10 | ||
tri 8 12 10 13 | ||
tri 9 12 6 10 | ||
tri 10 14 6 12 | ||
tri 11 14 8 6 | ||
tri 12 15 13 16 | ||
tri 13 15 12 13 | ||
tri 14 17 12 15 | ||
tri 15 17 14 12 | ||
tri 16 18 16 19 | ||
tri 17 18 15 16 | ||
tri 18 15 20 17 | ||
tri 19 15 18 20 | ||
tri 20 3 19 5 | ||
tri 21 3 18 19 | ||
tri 22 0 18 3 | ||
tri 23 0 20 18 | ||
|
||
numweights 48 | ||
weight 0 3 0.500000 ( 0.000006 -0.341759 0.000000 ) | ||
weight 1 2 0.500000 ( 0.000006 29.658241 0.000000 ) | ||
weight 2 2 1.000000 ( 0.000003 -0.341759 0.000000 ) | ||
weight 3 2 0.500000 ( 0.000003 -0.341759 -30.000000 ) | ||
weight 4 8 0.500000 ( 0.000003 -0.341759 30.000000 ) | ||
weight 5 9 0.250000 ( 0.514180 -0.341759 30.000000 ) | ||
weight 6 3 0.250000 ( 0.514180 -0.341759 -30.000000 ) | ||
weight 7 2 0.250000 ( 0.514180 29.658241 -30.000000 ) | ||
weight 8 8 0.250000 ( 0.514180 29.658241 30.000000 ) | ||
weight 9 8 1.000000 ( 0.000003 -0.341759 0.000000 ) | ||
weight 10 9 0.500000 ( 0.000006 -0.341759 0.000000 ) | ||
weight 11 8 0.500000 ( 0.000006 29.658241 0.000000 ) | ||
weight 12 6 0.250000 ( 0.514185 14.658241 -30.000000 ) | ||
weight 13 7 0.250000 ( 0.514185 -0.341759 -30.000000 ) | ||
weight 14 12 0.250000 ( 0.514185 14.658241 30.000000 ) | ||
weight 15 13 0.250000 ( 0.514185 -0.341759 30.000000 ) | ||
weight 16 7 0.500000 ( 0.000012 29.658241 -30.000000 ) | ||
weight 17 13 0.500000 ( 0.000012 29.658241 30.000000 ) | ||
weight 18 6 0.500000 ( 0.000010 14.658241 0.000000 ) | ||
weight 19 7 0.500000 ( 0.000010 -0.341759 0.000000 ) | ||
weight 20 7 1.000000 ( 0.000012 29.658241 0.000000 ) | ||
weight 21 12 0.500000 ( 0.000010 14.658241 0.000000 ) | ||
weight 22 13 0.500000 ( 0.000010 -0.341759 0.000000 ) | ||
weight 23 13 1.000000 ( 0.000012 29.658241 0.000000 ) | ||
weight 24 5 0.250000 ( 0.514184 14.658241 -30.000000 ) | ||
weight 25 6 0.250000 ( 0.514184 -0.341759 -30.000000 ) | ||
weight 26 11 0.250000 ( 0.514184 14.658241 30.000000 ) | ||
weight 27 12 0.250000 ( 0.514184 -0.341759 30.000000 ) | ||
weight 28 11 0.500000 ( 0.000009 14.658241 0.000000 ) | ||
weight 29 12 0.500000 ( 0.000009 -0.341759 0.000000 ) | ||
weight 30 5 0.500000 ( 0.000009 14.658241 0.000000 ) | ||
weight 31 6 0.500000 ( 0.000009 -0.341759 0.000000 ) | ||
weight 32 4 0.250000 ( 0.514182 14.658241 -30.000000 ) | ||
weight 33 5 0.250000 ( 0.514182 -0.341759 -30.000000 ) | ||
weight 34 10 0.250000 ( 0.514182 14.658241 30.000000 ) | ||
weight 35 11 0.250000 ( 0.514182 -0.341759 30.000000 ) | ||
weight 36 10 0.500000 ( 0.000008 14.658241 0.000000 ) | ||
weight 37 11 0.500000 ( 0.000008 -0.341759 0.000000 ) | ||
weight 38 4 0.500000 ( 0.000008 14.658241 0.000000 ) | ||
weight 39 5 0.500000 ( 0.000008 -0.341759 0.000000 ) | ||
weight 40 3 0.250000 ( 0.514181 14.658241 -30.000000 ) | ||
weight 41 9 0.250000 ( 0.514181 14.658241 30.000000 ) | ||
weight 42 4 0.250000 ( 0.514181 -0.341759 -30.000000 ) | ||
weight 43 10 0.250000 ( 0.514181 -0.341759 30.000000 ) | ||
weight 44 9 0.500000 ( 0.000007 14.658241 0.000000 ) | ||
weight 45 10 0.500000 ( 0.000007 -0.341759 0.000000 ) | ||
weight 46 3 0.500000 ( 0.000007 14.658241 0.000000 ) | ||
weight 47 4 0.500000 ( 0.000007 -0.341759 0.000000 ) | ||
} | ||
|
||
mesh { | ||
// meshes: flag_back | ||
|
||
shader "flag_pirate" | ||
|
||
numverts 21 | ||
vert 0 ( 0.250000 0.000003 ) 0 2 | ||
vert 1 ( 0.000001 0.499996 ) 2 2 | ||
vert 2 ( 0.000003 0.000000 ) 4 1 | ||
vert 3 ( 0.249999 0.499998 ) 5 4 | ||
vert 4 ( 0.000000 0.999991 ) 9 1 | ||
vert 5 ( 0.249998 0.999994 ) 10 2 | ||
vert 6 ( 0.749996 0.000004 ) 12 2 | ||
vert 7 ( 0.999995 0.500002 ) 14 2 | ||
vert 8 ( 0.749996 0.500001 ) 16 4 | ||
vert 9 ( 0.999995 0.000004 ) 20 1 | ||
vert 10 ( 0.749996 0.999999 ) 21 2 | ||
vert 11 ( 0.999995 1.000000 ) 23 1 | ||
vert 12 ( 0.624997 0.500001 ) 24 4 | ||
vert 13 ( 0.624996 0.999998 ) 28 2 | ||
vert 14 ( 0.624997 0.000004 ) 30 2 | ||
vert 15 ( 0.499997 0.500000 ) 32 4 | ||
vert 16 ( 0.499996 0.999997 ) 36 2 | ||
vert 17 ( 0.499998 0.000004 ) 38 2 | ||
vert 18 ( 0.374998 0.499999 ) 40 4 | ||
vert 19 ( 0.374997 0.999996 ) 44 2 | ||
vert 20 ( 0.374999 0.000003 ) 46 2 | ||
|
||
numtris 24 | ||
tri 0 0 2 1 | ||
tri 1 0 1 3 | ||
tri 2 3 1 4 | ||
tri 3 3 4 5 | ||
tri 4 6 8 7 | ||
tri 5 7 9 6 | ||
tri 6 7 8 10 | ||
tri 7 7 10 11 | ||
tri 8 12 13 10 | ||
tri 9 12 10 8 | ||
tri 10 14 12 8 | ||
tri 11 14 8 6 | ||
tri 12 15 16 13 | ||
tri 13 15 13 12 | ||
tri 14 17 15 12 | ||
tri 15 17 12 14 | ||
tri 16 18 19 16 | ||
tri 17 18 16 15 | ||
tri 18 15 17 20 | ||
tri 19 15 20 18 | ||
tri 20 3 5 19 | ||
tri 21 3 19 18 | ||
tri 22 0 3 18 | ||
tri 23 0 18 20 | ||
|
||
numweights 48 | ||
weight 0 3 0.500000 ( 0.000006 -0.341759 0.000000 ) | ||
weight 1 2 0.500000 ( 0.000006 29.658241 0.000000 ) | ||
weight 2 2 0.500000 ( 0.000003 -0.341759 -30.000000 ) | ||
weight 3 8 0.500000 ( 0.000003 -0.341759 30.000000 ) | ||
weight 4 2 1.000000 ( 0.000003 -0.341759 0.000000 ) | ||
weight 5 9 0.250000 ( -0.788396 -0.341759 30.000000 ) | ||
weight 6 3 0.250000 ( -0.788396 -0.341759 -30.000000 ) | ||
weight 7 2 0.250000 ( -0.788396 29.658241 -30.000000 ) | ||
weight 8 8 0.250000 ( -0.788396 29.658241 30.000000 ) | ||
weight 9 8 1.000000 ( 0.000003 -0.341759 0.000000 ) | ||
weight 10 9 0.500000 ( 0.000006 -0.341759 0.000000 ) | ||
weight 11 8 0.500000 ( 0.000006 29.658241 0.000000 ) | ||
weight 12 6 0.500000 ( 0.000010 14.658241 0.000000 ) | ||
weight 13 7 0.500000 ( 0.000010 -0.341759 0.000000 ) | ||
weight 14 7 0.500000 ( 0.000012 29.658241 -30.000000 ) | ||
weight 15 13 0.500000 ( 0.000012 29.658241 30.000000 ) | ||
weight 16 6 0.250000 ( -0.788391 14.658241 -30.000000 ) | ||
weight 17 7 0.250000 ( -0.788391 -0.341759 -30.000000 ) | ||
weight 18 12 0.250000 ( -0.788391 14.658241 30.000000 ) | ||
weight 19 13 0.250000 ( -0.788391 -0.341759 30.000000 ) | ||
weight 20 7 1.000000 ( 0.000012 29.658241 0.000000 ) | ||
weight 21 12 0.500000 ( 0.000010 14.658241 0.000000 ) | ||
weight 22 13 0.500000 ( 0.000010 -0.341759 0.000000 ) | ||
weight 23 13 1.000000 ( 0.000012 29.658241 0.000000 ) | ||
weight 24 5 0.250000 ( -0.788392 14.658241 -30.000000 ) | ||
weight 25 6 0.250000 ( -0.788392 -0.341759 -30.000000 ) | ||
weight 26 11 0.250000 ( -0.788392 14.658241 30.000000 ) | ||
weight 27 12 0.250000 ( -0.788392 -0.341759 30.000000 ) | ||
weight 28 11 0.500000 ( 0.000009 14.658241 0.000000 ) | ||
weight 29 12 0.500000 ( 0.000009 -0.341759 0.000000 ) | ||
weight 30 5 0.500000 ( 0.000009 14.658241 0.000000 ) | ||
weight 31 6 0.500000 ( 0.000009 -0.341759 0.000000 ) | ||
weight 32 4 0.250000 ( -0.788393 14.658241 -30.000000 ) | ||
weight 33 5 0.250000 ( -0.788393 -0.341759 -30.000000 ) | ||
weight 34 10 0.250000 ( -0.788393 14.658241 30.000000 ) | ||
weight 35 11 0.250000 ( -0.788393 -0.341759 30.000000 ) | ||
weight 36 10 0.500000 ( 0.000008 14.658241 0.000000 ) | ||
weight 37 11 0.500000 ( 0.000008 -0.341759 0.000000 ) | ||
weight 38 4 0.500000 ( 0.000008 14.658241 0.000000 ) | ||
weight 39 5 0.500000 ( 0.000008 -0.341759 0.000000 ) | ||
weight 40 3 0.250000 ( -0.788394 14.658241 -30.000000 ) | ||
weight 41 9 0.250000 ( -0.788394 14.658241 30.000000 ) | ||
weight 42 4 0.250000 ( -0.788394 -0.341759 -30.000000 ) | ||
weight 43 10 0.250000 ( -0.788394 -0.341759 30.000000 ) | ||
weight 44 9 0.500000 ( 0.000007 14.658241 0.000000 ) | ||
weight 45 10 0.500000 ( 0.000007 -0.341759 0.000000 ) | ||
weight 46 3 0.500000 ( 0.000007 14.658241 0.000000 ) | ||
weight 47 4 0.500000 ( 0.000007 -0.341759 0.000000 ) | ||
} |