home *** CD-ROM | disk | FTP | other *** search
/ BUG 6 / BUGCD1997_09.BIN / INTERNET / RSVRML / RS2.EXE / sample.wrl < prev    next >
Text File  |  1997-06-06  |  2KB  |  107 lines

  1. #VRML V1.0 ascii
  2.  
  3. Separator {
  4.     PerspectiveCamera {
  5.         position  -0.140 1.980 8.820
  6.         orientation 0.000 0.000 1.000 0.000
  7.         focalDistance  5.000
  8.         heightAngle  0.785
  9.     }
  10.     PointLight {
  11.         intensity  0.890
  12.         color  0.600 0.600 0.780
  13.         location  0.000 3.000 2.000
  14.     }
  15.     DirectionalLight {
  16.         intensity  0.900
  17.         color  1.000 1.000 1.000
  18.         direction  -1.000 -1.000 -1.000
  19.     }
  20.     Separator {
  21.         Translation {
  22.             translation  0.000 4.000 0.000
  23.         }
  24.         Separator {
  25.             Material { 
  26.                 ambientColor  0.000 0.000 0.000
  27.                 diffuseColor  1.000 0.400 0.700
  28.                 shininess  0.500
  29.                 transparency  0.900
  30.             }
  31.             Cube { 
  32.                 width  0.100
  33.                 height  0.100
  34.                 depth  4.000
  35.             }
  36.  
  37.         }
  38.         Rotation {
  39.             rotation  0.000 1.000 0.000 1.571
  40.         }
  41.         Separator {
  42.             Material { 
  43.                 ambientColor  0.200 0.200 0.200
  44.                 diffuseColor  0.500 0.700 0.200
  45.                 shininess  0.200
  46.             }
  47.             Cylinder {
  48.                 radius  0.100
  49.                 height  0.200
  50.                             }
  51.  
  52.         }
  53.         Rotation {
  54.             rotation  -1.000 0.000 0.000 1.571
  55.         }
  56.         Separator {
  57.             Rotation {
  58.                 rotation  1.000 0.000 0.000 1.571
  59.             }
  60.             Translation {
  61.                 translation  0.000 -0.200 0.000
  62.             }
  63.             Material { 
  64.                 ambientColor  0.200 0.200 0.200
  65.                 diffuseColor  0.200 0.100 0.700
  66.                 shininess  0.200
  67.             }
  68.             Cone { 
  69.                 bottomRadius  0.200
  70.                 height  0.400
  71.                             }
  72.             Translation {
  73.                 translation  0.000 0.400 0.000
  74.             }
  75.             Cylinder {
  76.                 radius  0.020
  77.                 height  0.400
  78.                             }
  79.  
  80.         }
  81.  
  82.     }
  83.     SpotLight {
  84.         intensity  0.400
  85.         color  1.000 1.000 1.000
  86.         location  0.000 4.000 0.000
  87.         direction  0.000 -1.000 0.000
  88.         dropOffRate  0.000
  89.         cutOffAngle  0.700
  90.     }
  91.          Separator {
  92.         Coordinate3 { 
  93.             point [-2.000 0.000 -2.000, -2.000 0.000 2.000, 2.000 0.000 2.000, 2.000 0.000 -2.000, -2.000 4.000 -2.000, -2.000 4.000 2.000, 2.000 4.000 2.000, 2.000 4.000 -2.000, ]
  94.         }
  95.         Normal {
  96.             vector [-8.000 0.000 -7.000, -4.000 0.000 9.000, 8.000 0.000 5.000, 9.000 0.000 -2.000, -2.000 4.000 -9.000, -8.000 4.000 2.000, 2.000 4.000 8.000, 9.000 4.000 -2.000, ]
  97.         }
  98.                 IndexedFaceSet {
  99.             coordIndex [0, 1, 2, 3, -1, 0, 4, 5, 1, -1, 0, 3, 7, 4, -1, ]
  100.             normalIndex [0, 1, 2, 3, -1, 0, 4, 5, 1, -1, 0, 3, 7, 4, -1, ]
  101.                         textureCoordIndex [0, 1, 2, 3, -1, 0, 1, 2, 3, -1, 0, 1, 2, 3, -1, ]
  102.         }
  103.  
  104.     }
  105.  
  106. }
  107.