home *** CD-ROM | disk | FTP | other *** search
/ BUG 6 / BUGCD1997_09.BIN / INTERNET / RSVRML / RS2.EXE / example5.wrl < prev    next >
Text File  |  1997-06-05  |  1KB  |  66 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.     PointLight {
  11.         intensity  1.000
  12.         color  1.000 1.000 1.000
  13.         location  0.200 0.000 3.180
  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.             scaleFactor  0.300 0.300 0.300
  23.             rotation  0.406 -0.175 0.896 3.214
  24.             translation  -0.080 0.000 -0.240
  25.         }
  26.         Material { 
  27.             ambientColor  0.200 0.240 0.200
  28.             diffuseColor  0.800 0.180 0.800
  29.             specularColor  0.470 0.210 0.880
  30.             shininess  0.920
  31.         }
  32.         Texture2 {
  33.             filename  "texture2.jpg"
  34.             wrapS  REPEAT
  35.             wrapT  REPEAT
  36.         }
  37.         Sphere {
  38.             radius  1.000
  39.         }
  40.  
  41.     }
  42.     Separator {
  43.         Transform {
  44.             scaleFactor  0.300 0.300 0.300
  45.             rotation  -0.398 -0.602 0.299 1.795
  46.             translation  -0.840 0.000 0.320
  47.         }
  48.         Material { 
  49.             ambientColor  0.200 0.000 0.200
  50.             diffuseColor  0.200 0.200 0.800
  51.             shininess  0.000
  52.         }
  53.         Texture2 {
  54.             filename  "texture1.jpg"
  55.             wrapS  REPEAT
  56.             wrapT  REPEAT
  57.         }
  58.         Cylinder {
  59.             radius  1.000
  60.             height  2.000
  61.                     }
  62.  
  63.     }
  64.  
  65. }
  66.