OSDN Git Service

Merge release/v1.203.2
[mikutoga/Pmd2XML.git] / src / test / resources / testdata / pmd130128 / material / material.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
35   <material showEdge="false" surfaceGroupIdRef="sg0" >
36     <diffuse r="0.25" g="0.5" b="0.75" alpha="0.875" />
37     <specular r="0.0" g="1.0" b="0.5" shininess="3.0" />
38     <ambient r="0.75" g="0.5" b="0.25" />
39   </material>
40
41   <material showEdge="true" surfaceGroupIdRef="sg1" >
42     <diffuse r="0.25" g="0.5" b="0.75" alpha="0.125" />
43     <specular r="0.0" g="1.0" b="0.5" shininess="0.0" />
44     <ambient r="0.75" g="0.5" b="0.25" />
45     <toon toonFileIdRef="tf0" /> <!-- toon01.bmp -->
46   </material>
47
48   <material showEdge="true" surfaceGroupIdRef="sg2" >
49     <diffuse r="0.25" g="0.5" b="0.75" alpha="0.125" />
50     <specular r="0.0" g="1.0" b="0.5" shininess="0.0" />
51     <ambient r="0.75" g="0.5" b="0.25" />
52     <toon toonFileIdRef="tf9" /> <!-- test.bmp -->
53   </material>
54
55   <material showEdge="true" surfaceGroupIdRef="sg3" >
56     <diffuse r="0.25" g="0.5" b="0.75" alpha="0.125" />
57     <specular r="0.0" g="1.0" b="0.5" shininess="0.0" />
58     <ambient r="0.75" g="0.5" b="0.25" />
59     <textureFile winFileName="Tex.bmp" />
60   </material>
61
62   <material showEdge="true" surfaceGroupIdRef="sg4" >
63     <diffuse r="0.25" g="0.5" b="0.75" alpha="0.125" />
64     <specular r="0.0" g="1.0" b="0.5" shininess="0.0" />
65     <ambient r="0.75" g="0.5" b="0.25" />
66     <spheremapFile winFileName="Tex.sph" />
67   </material>
68
69   <material showEdge="true" surfaceGroupIdRef="sg5" >
70     <diffuse r="0.25" g="0.5" b="0.75" alpha="0.125" />
71     <specular r="0.0" g="1.0" b="0.5" shininess="0.0" />
72     <ambient r="0.75" g="0.5" b="0.25" />
73     <toon toonFileIdRef="tf0" /> <!-- toon01.bmp -->
74     <textureFile winFileName="Tex.bmp" />
75     <spheremapFile winFileName="Tex.sph" />
76   </material>
77
78   <material showEdge="true" surfaceGroupIdRef="sg6" >
79     <diffuse r="0.25" g="0.5" b="0.75" alpha="0.125" />
80     <specular r="0.0" g="1.0" b="0.5" shininess="0.0" />
81     <ambient r="0.75" g="0.5" b="0.25" />
82     <spheremapFile winFileName="Tex.spa" />
83   </material>
84
85 </materialList>
86
87 <toonMap>
88   <toonDef toonFileId="tf0" index="0" winFileName="toon01.bmp" />
89   <toonDef toonFileId="tf1" index="1" winFileName="toon02.bmp" />
90   <toonDef toonFileId="tf2" index="2" winFileName="toon03.bmp" />
91   <toonDef toonFileId="tf3" index="3" winFileName="toon04.bmp" />
92   <toonDef toonFileId="tf4" index="4" winFileName="toon05.bmp" />
93   <toonDef toonFileId="tf5" index="5" winFileName="toon06.bmp" />
94   <toonDef toonFileId="tf6" index="6" winFileName="toon07.bmp" />
95   <toonDef toonFileId="tf7" index="7" winFileName="toon08.bmp" />
96   <toonDef toonFileId="tf8" index="8" winFileName="toon09.bmp" />
97   <toonDef toonFileId="tf9" index="9" winFileName="test.bmp" />
98 </toonMap>
99
100 <boneList>
101
102 <!--
103 Bone types:
104 [0 : ROTATE      : Rotate       : 回転           :]
105 [1 : ROTMOV      : Rotate/Move  : 回転/移動      :]
106 [2 : IK          : IK           : IK             :]
107 [3 : UNKNOWN     : Unknown      : 不明           :]
108 [4 : UNDERIK     : Under IK     : IK影響下(回転) :]
109 [5 : UNDERROT    : Under rotate : 回転影響下     :]
110 [6 : IKCONNECTED : IK connected : IK接続先       :]
111 [7 : HIDDEN      : Hidden       : 非表示         :]
112 [8 : TWIST       : Twist        : 捩り           :]
113 [9 : LINKEDROT   : Linked Rotate: 回転連動       :]
114 -->
115
116   <!-- test [回転/移動] -->
117   <bone name="test" boneId="bn0" type="ROTMOV" >
118     <position x="0.0" y="0.0" z="0.0" />
119     <boneChain />
120   </bone>
121
122 </boneList>
123
124 <boneGroupList>
125 </boneGroupList>
126
127 <ikChainList>
128 </ikChainList>
129
130 <morphList>
131 </morphList>
132
133 <rigidList>
134 </rigidList>
135
136 <rigidGroupList>
137
138   <rigidGroup rigidGroupId="rg1" />
139   <rigidGroup rigidGroupId="rg2" />
140   <rigidGroup rigidGroupId="rg3" />
141   <rigidGroup rigidGroupId="rg4" />
142   <rigidGroup rigidGroupId="rg5" />
143   <rigidGroup rigidGroupId="rg6" />
144   <rigidGroup rigidGroupId="rg7" />
145   <rigidGroup rigidGroupId="rg8" />
146   <rigidGroup rigidGroupId="rg9" />
147   <rigidGroup rigidGroupId="rg10" />
148   <rigidGroup rigidGroupId="rg11" />
149   <rigidGroup rigidGroupId="rg12" />
150   <rigidGroup rigidGroupId="rg13" />
151   <rigidGroup rigidGroupId="rg14" />
152   <rigidGroup rigidGroupId="rg15" />
153   <rigidGroup rigidGroupId="rg16" />
154
155 </rigidGroupList>
156
157 <jointList>
158 </jointList>
159
160 <surfaceGroupList>
161
162   <surfaceGroup surfaceGroupId="sg0" >
163     <surface vtxIdRef1="vtx0" vtxIdRef2="vtx1" vtxIdRef3="vtx2" />
164   </surfaceGroup>
165
166   <surfaceGroup surfaceGroupId="sg1" >
167     <surface vtxIdRef1="vtx0" vtxIdRef2="vtx1" vtxIdRef3="vtx2" />
168   </surfaceGroup>
169
170   <surfaceGroup surfaceGroupId="sg2" >
171     <surface vtxIdRef1="vtx0" vtxIdRef2="vtx1" vtxIdRef3="vtx2" />
172   </surfaceGroup>
173
174   <surfaceGroup surfaceGroupId="sg3" >
175     <surface vtxIdRef1="vtx0" vtxIdRef2="vtx1" vtxIdRef3="vtx2" />
176   </surfaceGroup>
177
178   <surfaceGroup surfaceGroupId="sg4" >
179     <surface vtxIdRef1="vtx0" vtxIdRef2="vtx1" vtxIdRef3="vtx2" />
180   </surfaceGroup>
181
182   <surfaceGroup surfaceGroupId="sg5" >
183     <surface vtxIdRef1="vtx0" vtxIdRef2="vtx1" vtxIdRef3="vtx2" />
184   </surfaceGroup>
185
186   <surfaceGroup surfaceGroupId="sg6" >
187     <surface vtxIdRef1="vtx0" vtxIdRef2="vtx1" vtxIdRef3="vtx2" />
188   </surfaceGroup>
189
190 </surfaceGroupList>
191
192 <vertexList>
193
194   <vertex vtxId="vtx0" showEdge="true" >
195     <position x="0.0" y="0.0" z="0.0" />
196     <normal x="0.0" y="0.0" z="-1.0" />
197     <uvMap u="0.0" v="1.0" />
198     <skinning boneIdRef1="bn0" boneIdRef2="bn0" weightBalance="100" />
199   </vertex>
200
201   <vertex vtxId="vtx1" showEdge="true" >
202     <position x="-5.0" y="8.0" z="0.0" />
203     <normal x="0.0" y="0.0" z="-1.0" />
204     <uvMap u="0.0" v="1.0" />
205     <skinning boneIdRef1="bn0" boneIdRef2="bn0" weightBalance="100" />
206   </vertex>
207
208   <vertex vtxId="vtx2" showEdge="true" >
209     <position x="5.0" y="8.0" z="0.0" />
210     <normal x="0.0" y="0.0" z="-1.0" />
211     <uvMap u="0.0" v="1.0" />
212     <skinning boneIdRef1="bn0" boneIdRef2="bn0" weightBalance="100" />
213   </vertex>
214
215 </vertexList>
216
217 </pmdModel>
218
219 <!-- EOF -->