用vrml做一个凉亭
新手上路 仅供参考
#VRML V2.0 utf8
Background { skyAngle [1.309 1.571] skyColor [ 1.0 1.0 1.0 0.2 0.2 1.0 1.0 1.0 1.0 ]}Transform { translation 0 2 0 children[ Shape { appearance Appearance {material Material {diffuseColor 1 0 0}} geometry Cone { bottomRadius 3 height 1 side TRUE bottom TRUE } } ]}Transform { translation 0 -1.5 0 children[ Shape { appearance Appearance {material Material {diffuseColor 1 0 1}} geometry Box { size 4 0.5 4 } } ]}Transform { translation -1.5 0 1.5 children[ Shape { appearance Appearance {material Material {diffuseColor 1 0 0}} geometry Cylinder { radius 0.2 height 3 } } ]}Transform { translation -1.5 0 -1.5 children[ Shape { appearance Appearance {material Material {diffuseColor 1 0 0}} geometry Cylinder { radius 0.2 height 3 } }