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

  1. #VRML V1.0 ascii
  2.  
  3. Separator {
  4.     PerspectiveCamera {
  5.         position  0.000 0.000 5.000
  6.         orientation 0.000 0.000 1.000 0.000
  7.         focalDistance  5.000
  8.         heightAngle  0.785
  9.     }
  10.     DirectionalLight {
  11.         intensity  1.000
  12.         color  1.000 1.000 1.000
  13.         direction  1.000 1.000 -1.000
  14.     }
  15.     Separator {
  16.         Transform {
  17.             scaleFactor  0.300 0.300 0.300
  18.             rotation  -0.338 -0.272 0.024 0.899
  19.         }
  20.         Material { 
  21.             ambientColor  0.200 0.200 0.200
  22.             diffuseColor  0.600 0.600 0.400
  23.             specularColor  0.200 0.400 0.000
  24.             shininess  0.000
  25.         }
  26.         Cube { 
  27.             width  2.000
  28.             height  2.000
  29.             depth  2.000
  30.         }
  31.  
  32.     }
  33.     Separator {
  34.         Transform {
  35.             scaleFactor  0.300 0.300 0.300
  36.             translation  0.020 0.520 -0.100
  37.         }
  38.         Material { 
  39.             ambientColor  0.200 0.200 0.200
  40.             diffuseColor  0.200 0.400 0.800
  41.             specularColor  0.200 0.400 0.000
  42.             shininess  0.800
  43.         }
  44.         Separator {
  45.             Transform {
  46.                 translation  -0.480 -2.900 0.280
  47.             }
  48.             Cylinder {
  49.                 radius  1.000
  50.                 height  2.000
  51.                             }
  52.  
  53.         }
  54.         Texture2 {
  55.             filename  "texture2.jpg"
  56.             wrapS  REPEAT
  57.             wrapT  REPEAT
  58.         }
  59.         Cylinder {
  60.             radius  1.000
  61.             height  2.000
  62.                     }
  63.  
  64.     }
  65.     Separator {
  66.         Transform {
  67.             scaleFactor  0.300 0.300 0.300
  68.             translation  -0.720 0.060 1.200
  69.         }
  70.         Material { 
  71.             ambientColor  0.200 0.200 0.200
  72.             diffuseColor  0.800 0.300 0.800
  73.             specularColor  0.600 0.340 0.340
  74.             shininess  0.600
  75.         }
  76.         Texture2 {
  77.             filename  "texture1.jpg"
  78.             wrapS  REPEAT
  79.             wrapT  REPEAT
  80.         }
  81.         Cone { 
  82.             bottomRadius  1.000
  83.             height  2.000
  84.                     }
  85.  
  86.     }
  87.     Separator {
  88.         Transform {
  89.             scaleFactor  0.300 0.300 0.300
  90.             translation  0.920 0.000 -0.020
  91.         }
  92.         Material { 
  93.             ambientColor  0.340 0.370 0.200
  94.             diffuseColor  0.800 0.800 0.800
  95.             emissiveColor  0.000 0.000 0.610
  96.             shininess  0.000
  97.         }
  98.         Texture2 {
  99.             filename  "texture1.jpg"
  100.             wrapS  REPEAT
  101.             wrapT  REPEAT
  102.         }
  103.         Cone { 
  104.             bottomRadius  1.000
  105.             height  2.000
  106.                     }
  107.  
  108.     }
  109.  
  110. }
  111.