#VRML V2.0 utf8 # The letters of my name are RVN DEF Name Group { children[ Shape { # This is the shape for letter R appearance Appearance { material Material {diffuseColor 1.0 0.0 0.0}} # RGB for red geometry IndexedFaceSet { coord Coordinate {point [ -6.0 -2.5 0.0 # Coords for letter R -5.0 -2.5 0.0 -5.0 -0.5 0.0 -4.0 -2.5 0.0 -3.0 -2.5 0.0 -4.0 -0.5 0.0 -3.0 -0.5 0.0 -3.0 2.5 0.0 -6.0 2.5 0.0 -5.0 0.5 0.0 # Hole for letter R -4.0 0.5 0.0 -4.0 1.5 0.0 -5.0 1.5 0.0 ]} coordIndex [0 1 2 3 4 5 6 7 8 0 9 12 11 10 9] # this loop goes around all points CCW convex FALSE # If the face is not convex, we need to say so }} Shape { # This is the shape for letter V appearance Appearance { material Material {diffuseColor 0.0 1.0 0.0}} # RGB for green geometry IndexedFaceSet { coord Coordinate {point [ 0.0 -2.5 0.0 # Coords for letter V 2.0 2.5 0.0 1.0 2.5 0.0 0.0 -0.5 0.0 -1.0 2.5 0.0 -2.0 2.5 0.0 ]} coordIndex [0 1 2 3 4 5 0] # this loop goes around all points CCW convex FALSE # If the face is not convex, we need to say so }} Shape { # This is the shape for letter N appearance Appearance { material Material {diffuseColor 0.0 0.0 1.0}} # RGB for blue geometry IndexedFaceSet { coord Coordinate {point [ 3.0 -2.5 0.0 # Coords for letter N 4.0 -2.5 0.0 4.0 0.0 0.0 5.0 -2.5 0.0 6.0 -2.5 0.0 6.0 2.5 0.0 5.0 2.5 0.0 5.0 0.0 0.0 4.0 2.5 0.0 3.0 2.5 0.0 ]} coordIndex [0 1 2 3 4 5 6 7 8 9 0] # this goes around all points CCW convex FALSE # If the face is not convex, we need to say so }} ]} Transform { scale 0.2 0.2 0.0 # Name is scaled by 0.2 in both X and Y translation -4.5 3.5 0.0 # and then translated children [USE Name] } Transform { scale 0.2 0.2 0.0 translation 0.0 3.5 0.0 children [USE Name] } Transform { scale 0.2 0.2 0.0 translation 4.5 3.5 0.0 children [USE Name] } Transform { scale 0.2 0.2 0.0 rotation 0.0 0.0 1.0 3.1416 # and also rotated translation -4.5 -3.5 0.0 children [USE Name] } Transform { scale 0.2 0.2 0.0 rotation 0.0 0.0 1.0 3.1416 translation 0.0 -3.5 0.0 children [USE Name] } Transform { scale 0.2 0.2 0.0 rotation 0.0 0.0 1.0 3.1416 translation 4.5 -3.5 0.0 children [USE Name] } Transform { scale 0.2 0.2 0.0 rotation 0.0 0.0 1.0 1.5708 translation -7.0 0.0 0.0 children [USE Name] } Transform { scale 0.2 0.2 0.0 rotation 0.0 0.0 1.0 -1.5708 translation 7.0 0.0 0.0 children [USE Name] } Inline{url "axes.wrl"} Viewpoint {position 0 0 15}