Vrml

504 views

Published on

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
504
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Vrml

  1. 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. 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} } }

×