Your SlideShare is downloading. ×
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
314
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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} } }

×