#VRML V2.0 utf8 # ^^^^^ this is the MANDATORY header line # The VRML Primer # 1997 Daniel K. Schneider, TECFA # No Copyright, steal this! # # Draw a blue cylinder - a first node specifying an object # Watch out: radius and height are floating numbers ! Shape { geometry Cylinder { radius 0.1 height 3.0} appearance Appearance { material Material { diffuseColor 0.1 0.1 0.9 } } } Transform { # Move the pen up - a second node specifying a translation # and a red sphere translation 0 2.5 0 children [ Shape { geometry Sphere { radius 1 } appearance Appearance { material Material { diffuseColor 1 0 0 } } } ] }