Collada/structure
をテンプレートにして作成
[
トップ
] [
タイトル一覧
|
ページ一覧
|
新規
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* Structure of Collada
** 構造
*** 全体
- <.... /> は省略表示
- // 以降はコメント
<pre>
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASch...
<asset />
<library_images />
<library_effects />
<library_materials />
<library_geometries />
<library_controllers />
<library_physics_models />
<library_physics_scenes />
<library_visual_scenes />
<scene />
</COLLADA>
</pre>
*** [[library_effects>./library_effects]]
*** [[library_materials>./library_materials]]
*** [[library_geometries>./library_geometries]]
<pre>
<library_geometries>
<geometry id="Leg-mesh" name="Leg">
<mesh>
<source id="Leg-mesh-positions" /> // P...
<source id="Leg-mesh-normalsp" /> // N...
<source id="Leg-mesh-map" /> // U...
<source id="Leg-mesh-colors-colorSet0" na...
<vertices />
<input semantic="POSITION" source="#L...
</vertices>
<polylist material="body-material" count=...
</mesh>
</geometry>
<geometry /> // 繰り返し
.......
</library_geometries>
</pre>
*** [[library_controllers>./library_controllers]]
<pre>
<library_controllers>
<controller id="avatar_Leg-skin" name="avatar"> ...
<skin source="#Leg-mesh">
<bind_shape_matrix> ...
1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
</bind_shape_matrix>
<source id="avatar_Leg-skin-joints" /> ...
<source id="avatar_Leg-skin-bind_poses" /...
<source id="avatar_Leg-skin-weights" /> ...
</source>
<joints>
<input semantic="JOINT" source="#avat...
<input semantic="INV_BIND_MATRIX" sou...
</joints>
<vertex_weights count="1261" />
</skin>
</controller>
<controller /> // 繰り返し
.......
</library_controllers>
</pre>
*** [[library_visual_scenes>./library_visual_scenes]]
<pre>
<library_visual_scenes>
<visual_scene id="Scene" name="Scene">
<node id="avatar" name="avatar" type="NODE" /...
<node id="NODE_tYZIzQwn" name="UnityChan2" ty...
<matrix>
1.000000 0.000000 0.000000 13.780197 ...
</matrix>
<scale sid="scale">0.113207 0.160531 0.21...
<instance_geometry url="#GEOMETRY_NWR1mCD...
<bind_material>
<technique_common>
<instance_material symbol="MA...
<instance_material symbol="MA...
</technique_common>
</bind_material>
</instance_geometry>
</node>
<node /> // 繰り返し
........
</visual_scene>
</library_visual_scenes>
</pre>
*** scene
<pre>
<scene>
<instance_visual_scene url="#Scene"/>
</scene>
</pre>
終了行:
* Structure of Collada
** 構造
*** 全体
- <.... /> は省略表示
- // 以降はコメント
<pre>
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASch...
<asset />
<library_images />
<library_effects />
<library_materials />
<library_geometries />
<library_controllers />
<library_physics_models />
<library_physics_scenes />
<library_visual_scenes />
<scene />
</COLLADA>
</pre>
*** [[library_effects>./library_effects]]
*** [[library_materials>./library_materials]]
*** [[library_geometries>./library_geometries]]
<pre>
<library_geometries>
<geometry id="Leg-mesh" name="Leg">
<mesh>
<source id="Leg-mesh-positions" /> // P...
<source id="Leg-mesh-normalsp" /> // N...
<source id="Leg-mesh-map" /> // U...
<source id="Leg-mesh-colors-colorSet0" na...
<vertices />
<input semantic="POSITION" source="#L...
</vertices>
<polylist material="body-material" count=...
</mesh>
</geometry>
<geometry /> // 繰り返し
.......
</library_geometries>
</pre>
*** [[library_controllers>./library_controllers]]
<pre>
<library_controllers>
<controller id="avatar_Leg-skin" name="avatar"> ...
<skin source="#Leg-mesh">
<bind_shape_matrix> ...
1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
</bind_shape_matrix>
<source id="avatar_Leg-skin-joints" /> ...
<source id="avatar_Leg-skin-bind_poses" /...
<source id="avatar_Leg-skin-weights" /> ...
</source>
<joints>
<input semantic="JOINT" source="#avat...
<input semantic="INV_BIND_MATRIX" sou...
</joints>
<vertex_weights count="1261" />
</skin>
</controller>
<controller /> // 繰り返し
.......
</library_controllers>
</pre>
*** [[library_visual_scenes>./library_visual_scenes]]
<pre>
<library_visual_scenes>
<visual_scene id="Scene" name="Scene">
<node id="avatar" name="avatar" type="NODE" /...
<node id="NODE_tYZIzQwn" name="UnityChan2" ty...
<matrix>
1.000000 0.000000 0.000000 13.780197 ...
</matrix>
<scale sid="scale">0.113207 0.160531 0.21...
<instance_geometry url="#GEOMETRY_NWR1mCD...
<bind_material>
<technique_common>
<instance_material symbol="MA...
<instance_material symbol="MA...
</technique_common>
</bind_material>
</instance_geometry>
</node>
<node /> // 繰り返し
........
</visual_scene>
</library_visual_scenes>
</pre>
*** scene
<pre>
<scene>
<instance_visual_scene url="#Scene"/>
</scene>
</pre>
ページ名: