OSDN Git Service

130128版スキーマ対応
[mikutoga/Pmd2XML.git] / src / test / resources / testdata / pmd130128 / bone / allbone.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <!--
4   MikuMikuDance
5     model-data(*.pmd) on XML
6 -->
7
8
9 <!-- [NAMELESS] -->
10 <pmdModel
11   xmlns="http://mikutoga.sourceforge.jp/xml/ns/pmdxml/130128"
12   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13   xsi:schemaLocation="http://mikutoga.sourceforge.jp/xml/ns/pmdxml/130128
14     http://mikutoga.sourceforge.jp/xml/xsd/pmdxml-130128.xsd"
15   schemaVersion="130128"
16
17   name=""
18 >
19
20
21 <description>
22 </description>
23
24 <license>
25 </license>
26
27 <credits>
28 </credits>
29
30 <meta name="siteURL" content="" />
31 <meta name="imageURL" content="" />
32
33 <materialList>
34 </materialList>
35
36 <toonMap>
37   <toonDef toonFileId="tf0" index="0" winFileName="toon01.bmp" />
38   <toonDef toonFileId="tf1" index="1" winFileName="toon02.bmp" />
39   <toonDef toonFileId="tf2" index="2" winFileName="toon03.bmp" />
40   <toonDef toonFileId="tf3" index="3" winFileName="toon04.bmp" />
41   <toonDef toonFileId="tf4" index="4" winFileName="toon05.bmp" />
42   <toonDef toonFileId="tf5" index="5" winFileName="toon06.bmp" />
43   <toonDef toonFileId="tf6" index="6" winFileName="toon07.bmp" />
44   <toonDef toonFileId="tf7" index="7" winFileName="toon08.bmp" />
45   <toonDef toonFileId="tf8" index="8" winFileName="toon09.bmp" />
46   <toonDef toonFileId="tf9" index="9" winFileName="toon10.bmp" />
47 </toonMap>
48
49 <boneList>
50
51 <!--
52 Bone types:
53 [0 : ROTATE      : Rotate       : 回転           :]
54 [1 : ROTMOV      : Rotate/Move  : 回転/移動      :]
55 [2 : IK          : IK           : IK             :]
56 [3 : UNKNOWN     : Unknown      : 不明           :]
57 [4 : UNDERIK     : Under IK     : IK影響下(回転) :]
58 [5 : UNDERROT    : Under rotate : 回転影響下     :]
59 [6 : IKCONNECTED : IK connected : IK接続先       :]
60 [7 : HIDDEN      : Hidden       : 非表示         :]
61 [8 : TWIST       : Twist        : 捩り           :]
62 [9 : LINKEDROT   : Linked Rotate: 回転連動       :]
63 -->
64
65   <!-- base [回転/移動] -->
66   <bone name="base" boneId="bn0" type="ROTMOV" >
67     <position x="0.0" y="0.0" z="0.0" />
68
69     <!-- #>> [anchor] -->
70     <boneChain nextBoneIdRef="bn1" />
71   </bone>
72
73   <!-- anchor [非表示] -->
74   <bone name="anchor" boneId="bn1" type="HIDDEN" >
75     <position x="0.0" y="0.0" z="0.0" />
76
77     <!-- [base] >># -->
78     <boneChain prevBoneIdRef="bn0" />
79   </bone>
80
81   <!-- hub [回転] -->
82   <bone name="hub" boneId="bn2" type="ROTATE" >
83     <position x="0.0" y="0.0" z="0.0" />
84
85     <!-- [base] >>#>> [hinge1] -->
86     <boneChain prevBoneIdRef="bn0" nextBoneIdRef="bn3" />
87   </bone>
88
89   <!-- hinge1 [IK影響下(回転)] -->
90   <bone name="hinge1" boneId="bn3" type="UNDERIK" >
91     <position x="0.0" y="0.0" z="0.0" />
92     <sourceBone boneIdRef="bn7" /> <!-- Ref:ik -->
93
94     <!-- [hub] >>#>> [hinge2] -->
95     <boneChain prevBoneIdRef="bn2" nextBoneIdRef="bn4" />
96   </bone>
97
98   <!-- hinge2 [IK影響下(回転)] -->
99   <bone name="hinge2" boneId="bn4" type="UNDERIK" >
100     <position x="0.0" y="0.0" z="0.0" />
101     <sourceBone boneIdRef="bn7" /> <!-- Ref:ik -->
102
103     <!-- [hinge1] >>#>> [iktarget] -->
104     <boneChain prevBoneIdRef="bn3" nextBoneIdRef="bn5" />
105   </bone>
106
107   <!-- iktarget [IK影響下(回転)] -->
108   <bone name="iktarget" boneId="bn5" type="UNDERIK" >
109     <position x="0.0" y="0.0" z="0.0" />
110     <sourceBone boneIdRef="bn7" /> <!-- Ref:ik -->
111
112     <!-- [hinge2] >>#>> [toe] -->
113     <boneChain prevBoneIdRef="bn4" nextBoneIdRef="bn6" />
114   </bone>
115
116   <!-- toe [IK接続先] -->
117   <bone name="toe" boneId="bn6" type="IKCONNECTED" >
118     <position x="0.0" y="0.0" z="0.0" />
119     <sourceBone boneIdRef="bn7" /> <!-- Ref:ik -->
120
121     <!-- [iktarget] >># -->
122     <boneChain prevBoneIdRef="bn5" />
123   </bone>
124
125   <!-- ik [IK] -->
126   <bone name="ik" boneId="bn7" type="IK" >
127     <position x="0.0" y="0.0" z="0.0" />
128     <boneChain />
129   </bone>
130
131   <!-- toeik [IK] -->
132   <bone name="toeik" boneId="bn8" type="IK" >
133     <position x="0.0" y="0.0" z="0.0" />
134     <boneChain />
135   </bone>
136
137   <!-- botheye [回転] -->
138   <bone name="botheye" boneId="bn9" type="ROTATE" >
139     <position x="0.0" y="0.0" z="0.0" />
140
141     <!-- [hub] >># -->
142     <boneChain prevBoneIdRef="bn2" />
143   </bone>
144
145   <!-- monoeye [回転影響下] -->
146   <bone name="monoeye" boneId="bn10" type="UNDERROT" >
147     <position x="0.0" y="0.0" z="0.0" />
148     <sourceBone boneIdRef="bn9" /> <!-- Ref:botheye -->
149
150     <!-- [hub] >># -->
151     <boneChain prevBoneIdRef="bn2" />
152   </bone>
153
154   <!-- arm [回転] -->
155   <bone name="arm" boneId="bn11" type="ROTATE" >
156     <position x="0.0" y="0.0" z="0.0" />
157
158     <!-- [hub] >>#>> [elbow] -->
159     <boneChain prevBoneIdRef="bn2" nextBoneIdRef="bn13" />
160   </bone>
161
162   <!-- twist [捩り] -->
163   <bone name="twist" boneId="bn12" type="TWIST" >
164     <position x="0.0" y="0.0" z="0.0" />
165
166     <!-- [arm] >># -->
167     <boneChain prevBoneIdRef="bn11" />
168   </bone>
169
170   <!-- elbow [回転] -->
171   <bone name="elbow" boneId="bn13" type="ROTATE" >
172     <position x="0.0" y="0.0" z="0.0" />
173
174     <!-- [twist] >># -->
175     <boneChain prevBoneIdRef="bn12" />
176   </bone>
177
178   <!-- lr [回転連動] -->
179   <bone name="lr" boneId="bn14" type="LINKEDROT" >
180     <position x="0.0" y="0.0" z="0.0" />
181     <rotationRatio ratio="25" />
182
183     <!-- [arm] >>#>> [twist] -->
184     <boneChain prevBoneIdRef="bn11" nextBoneIdRef="bn12" />
185   </bone>
186
187   <!-- unknown [不明] -->
188   <bone name="unknown" boneId="bn15" type="UNKNOWN" >
189     <position x="0.0" y="0.0" z="0.0" />
190     <boneChain />
191   </bone>
192
193 </boneList>
194
195 <boneGroupList>
196 </boneGroupList>
197
198 <ikChainList>
199
200   <!-- Ref:ik -->
201   <ikChain ikBoneIdRef="bn7" recursiveDepth="10" weight="0.1" >
202     <chainOrder boneIdRef="bn5" /> <!-- Ref:iktarget -->
203     <chainOrder boneIdRef="bn4" /> <!-- Ref:hinge2 -->
204     <chainOrder boneIdRef="bn3" /> <!-- Ref:hinge1 -->
205   </ikChain>
206
207   <!-- Ref:toeik -->
208   <ikChain ikBoneIdRef="bn8" recursiveDepth="10" weight="0.1" >
209     <chainOrder boneIdRef="bn6" /> <!-- Ref:toe -->
210     <chainOrder boneIdRef="bn5" /> <!-- Ref:iktarget -->
211   </ikChain>
212
213 </ikChainList>
214
215 <morphList>
216 </morphList>
217
218 <rigidList>
219 </rigidList>
220
221 <rigidGroupList>
222
223   <rigidGroup rigidGroupId="rg1" />
224   <rigidGroup rigidGroupId="rg2" />
225   <rigidGroup rigidGroupId="rg3" />
226   <rigidGroup rigidGroupId="rg4" />
227   <rigidGroup rigidGroupId="rg5" />
228   <rigidGroup rigidGroupId="rg6" />
229   <rigidGroup rigidGroupId="rg7" />
230   <rigidGroup rigidGroupId="rg8" />
231   <rigidGroup rigidGroupId="rg9" />
232   <rigidGroup rigidGroupId="rg10" />
233   <rigidGroup rigidGroupId="rg11" />
234   <rigidGroup rigidGroupId="rg12" />
235   <rigidGroup rigidGroupId="rg13" />
236   <rigidGroup rigidGroupId="rg14" />
237   <rigidGroup rigidGroupId="rg15" />
238   <rigidGroup rigidGroupId="rg16" />
239
240 </rigidGroupList>
241
242 <jointList>
243 </jointList>
244
245 <surfaceGroupList>
246 </surfaceGroupList>
247
248 <vertexList>
249 </vertexList>
250
251 </pmdModel>
252
253 <!-- EOF -->