#VRML V2.0 utf8 # #
#[return] #
#ex-extrusion.wrl
# example of Extrusion geometry


# Camera
Viewpoint {
   position    -8 1 1
   orientation  0 1 0 -1.75
   fieldOfView 0.785398
}

# Illumination
PointLight{
           location 0 10 0
           }
# extruses a triangle along a path
Shape {
    geometry Extrusion {
            ccw  TRUE  # system's normal following the right hand rule
            convex TRUE 
            solid  TRUE 
            beginCap TRUE
            endCap FALSE
# can be experimented with different paths and curves along the path
           crossSection [0 0, 1 1, 1 0, 0 0]  # triangle
           spine [ 0 0 0, 1 1 0]  # path from - to           
                         }
   appearance Appearance {
		        	material Material {
					   diffuseColor 1 0 0
					           }
                          }
       }

#