Weitere ähnliche Inhalte
Mehr von mrsmackenzie (17)
Kürzlich hochgeladen (20)
Vrml
- 1. #VRML V1.0 ascii Cube { height 3 width 3 depth 3} #VRML V1.0 ascii Cone { height 2 bottomRadius 0.5} #VRML V1.0 ascii Cylinder { parts ALL radius 1.5 height 3 } #VRML V1.0 ascii Sphere { Radius 2} Save each file with the suffix .wrl Load in ModelPress reader to view #VRML V1.0 ascii Separator { Separator { # red sphere, defaulting to the center of the scene Material { emissiveColor 1 0 1 } sphere{} } Separator { # blue sphere, translated along the positive X axis Translation { translation 2.25 0 0 } Material { emissiveColor 0 0 1 } Sphere {} } }
- 2. #VRML V1.0 ascii Separator { DirectionalLight { on TRUE intensity 0.4 direction -1 0 0} DirectionalLight { on TRUE intensity 0.4 direction 1 0 0} Separator { # brown cone, translated along the negative Y axis Translation { translation 0 -2 0} Material { emissiveColor 1 0.6 0.44} Cone { height 2 bottomRadius 0.5} } Separator { # blue cone, rotated 90 degrees on the Z axis Rotation { rotation 0 0 1 1.57} Material { emissiveColor 0.4 0 1} Cone { height 2 bottomRadius 0.5} } }