#VRML V2.0 utf8 #視点位置指定 Viewpoint{ position 1.5 3 5 orientation 1 0 0 -0.4 } #物体を移動させたいときなどにこれで囲む Transform{ translation 1 0 0 #物体の座標位置指定 rotation 1 0 0 1.57 #物体を回転させる children[ Shape{ appearance Appearance{ material Material{ diffuseColor 1 0 0 #物体の色設定[ r g b] emissiveColor 0 0 0 #放射光の色 specularColor 0 0 0 #鏡面光の色 ambientIntensity 0.2 #周囲光強度 shininess 0.2 #輝度 transparency 0 #透明度 } } geometry Box{size 1 1 1} } ] }