2019/06/07
COLLADA
asset
library_geometries
library_images
library_effects
library_materials
library_cameras
library_visual_scenes
...
scene
asset
unit meter="0.0254" name="inch" // メートル換算時の値
up_axis Z_UP
前のバージョンでは考慮していなかった項目
COLLADA
asset
library_geometries
geometry id="Tex01"
geometry id="Tex02"
library_images
image id="I_Tex01"
library_effects
effect id="E_Tex01"
library_materials
material id="M_Tex01"
library_cameras
library_visual_scenes
visual_scene id="ID_visual_scene"
node id="---visual_scene_node---"
instance_geometry url="#Tex01"
bind_material
technique_common
instance_material symbol="M_S_Tex01" target="#M_Tex01"
instance_geometry url="#Tex02"
bind_material
technique_common
instance_material symbol="M_S_Tex02" target="#M_Tex02"
node id="---visual_scene_node_camara_R_STD---"
lookat 3.17420106786146 2.79217234388125 3.32028723980208 0.5 0.5 -0.5 0 1 0
instance_camera url="#ID_camera_R_STD"
scene
instance_visual_scene url="#ID_visual_scene"
scene の instance_visual_scene の url
library_visual_scenes の visual_scene の id
node の instance_geometry の url
material は instance_material
library_geometries の geometry の id
collada_spec_1_4_1_jp.pdf 160 ページより
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema.xsd" version="1.4.1">
<library_visual_scenes>
<visual_scene id="world">
<node id="root"/>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#world"/>
</scene>
</COLLADA>
広告