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

  1. #VRML V1.0 ascii
  2.  
  3. Separator {
  4.     PerspectiveCamera {
  5.         position  0.060 0.380 5.520
  6.         orientation 0.000 0.000 1.000 0.000
  7.         focalDistance  5.000
  8.         heightAngle  0.785
  9.     }
  10.     PointLight {
  11.         intensity  1.000
  12.         color  1.000 1.000 1.000
  13.         location  -0.740 0.440 -0.900
  14.     }
  15.     DirectionalLight {
  16.         intensity  1.000
  17.         color  1.000 1.000 1.000
  18.         direction  1.000 1.000 -1.000
  19.     }
  20.     Separator {
  21.         Transform {
  22.             scaleOrientation  -0.453 0.716 0.486 2.711
  23.             scaleFactor  0.190 0.130 0.130
  24.             rotation  0.522 0.275 -0.786 2.765
  25.             translation  -2.420 2.060 -3.400
  26.         }
  27.         Material { 
  28.             ambientColor  0.420 0.200 0.200
  29.             diffuseColor  0.800 0.400 0.400
  30.             shininess  0.000
  31.         }
  32.         Sphere {
  33.             radius  1.000
  34.         }
  35.  
  36.     }
  37.     Separator {
  38.         Transform {
  39.             rotation  0.157 0.752 0.631 3.349
  40.             translation  -0.180 0.000 0.920
  41.         }
  42.         Material { 
  43.             ambientColor  0.200 0.200 0.400
  44.             diffuseColor  0.800 0.800 0.800
  45.             shininess  0.000
  46.         }
  47.                 Texture2 {
  48.                 filename  "texture1.jpg"
  49.                 wrapS  REPEAT
  50.                 wrapT  REPEAT
  51.                 }
  52.                 Separator {
  53.             Transform {
  54.                 translation  0.785 -0.111 -0.511
  55.             }
  56.             Separator {
  57.                 Transform {
  58.                     translation  -1.797 0.235 0.282
  59.                 }
  60.                 Separator {
  61.                     Transform {
  62.                         scaleOrientation  -0.642 0.307 -0.667 3.585
  63.                         scaleFactor  0.670 0.360 0.290
  64.                         rotation  0.016 -0.174 -0.972 3.453
  65.                         translation  -1.126 -2.387 1.334
  66.                     }
  67.                     Cube { 
  68.                         width  2.000
  69.                         height  2.000
  70.                         depth  2.000
  71.                     }
  72.  
  73.                 }
  74.                 Separator {
  75.                     Transform {
  76.                         scaleOrientation  -0.642 0.307 -0.667 3.585
  77.                         scaleFactor  0.750 0.300 0.200
  78.                     }
  79.                     Cube { 
  80.                         width  2.000
  81.                         height  2.000
  82.                         depth  2.000
  83.                     }
  84.  
  85.                 }
  86.  
  87.             }
  88.             Separator {
  89.                 Transform {
  90.                     scaleOrientation  -0.642 0.307 -0.667 3.585
  91.                     scaleFactor  0.580 0.060 0.330
  92.                 }
  93.                 Cube { 
  94.                     width  2.000
  95.                     height  2.000
  96.                     depth  2.000
  97.                 }
  98.  
  99.             }
  100.  
  101.         }
  102.         Separator {
  103.             Transform {
  104.                 scaleOrientation  -0.642 0.307 -0.667 3.585
  105.                 scaleFactor  0.830 0.130 0.300
  106.                 rotation  -0.483 0.847 -0.042 3.582
  107.             }
  108.             Cube { 
  109.                 width  2.000
  110.                 height  2.000
  111.                 depth  2.000
  112.             }
  113.  
  114.         }
  115.  
  116.     }
  117.  
  118. }
  119.