home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09962.iso / vrml / glview.zip / ExtrusionTest.wrl < prev    next >
Text File  |  1996-04-22  |  514b  |  30 lines

  1. #VRML V1.0 ascii
  2. # VRML 2.0 Extrusion test
  3.  
  4.  
  5.  
  6. Separator {
  7. Rotation { rotation 1 0 0 1.55 }
  8. Texture2 { filename "brick.rgb" }
  9.  
  10. Extrusion {
  11.   spine            [ 0 0 0, -0.20 1 -0.2,  0.20 2 0.1, 0.10 3 0,0.0 4 0 ]
  12.   crossSection     [ 1 1, -1 1, -1 -1, 1 -1, 1 1 ]
  13.   scale [1 1, 1 1, 1 1]
  14.  
  15. }
  16. }
  17.  
  18. Translation { translation 0 0 0 }
  19.  
  20. Switch {
  21.    whichChild 0
  22.  
  23. Extrusion {
  24.   spine            [ -5 5 0, -5 -5 0,  5 -5 0, 5 5 0, -5 5 0]
  25.   crossSection     [ 1 1, -1 1, -1 -1, 1 -1, 1 1 ]
  26.  
  27. }
  28.  
  29.  
  30. }