Development for Collada[edit]
- <.... /> は省略表示
- // 以降はコメント
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset />
<library_images />
<library_effects />
<library_materials />
<library_geometries />
<library_controllers />
<library_effects />
<library_physics_models />
<library_physics_scenes />
<library_visual_scenes />
<scene />
</COLLADA>
source (POSITION)[edit]
<source id="Leg-mesh-positions"> // POSITION
<float_array id="Leg-mesh-positions-array" count="3783">
0.2856968 -0.05897897 0.08308792 .......
</float_array>
<technique_common>
<accessor source="#Leg-mesh-positions-array" count="1261" stride="3"> // 1261 = 3783/3
<param name="X" type="float"/>
<param name="Y" type="float"/>
<param name="Z" type="float"/>
</accessor>
</technique_common>
</source>
source (TEXCOORD)[edit]
<source id="Leg-mesh-map"> // UVMAP
<float_array id="Leg-mesh-map-array" count="13932">
0.008199989 0.26107 0.01946997 0.2534 .....
</float_array>
<technique_common>
<accessor source="#Leg-mesh-map-array" count="6966" stride="2"> // 6966 = 13932/2
<param name="S" type="float"/>
<param name="T" type="float"/>
</accessor>
</technique_common>
</source>
source (COLOR)[edit]
<source id="Leg-mesh-colors-colorSet0" name="colorSet0"> // COLOR
<float_array id="Leg-mesh-colors-colorSet0-array" count="20898">
1 1 1 1 .....
</float_array>
<technique_common>
<accessor source="#Leg-mesh-colors-colorSet0-array" count="6966" stride="3"> // 6966 = 20898/3
<param name="R" type="float"/>
<param name="G" type="float"/>
<param name="B" type="float"/>
</accessor>
</technique_common>
</source>