home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 September / WIN95_09962.iso / vrml / MWE105.ZIP / EExamples / StreeLight.wrl < prev    next >
Text File  |  1996-01-19  |  1KB  |  93 lines

  1. #VRML V1.0 ascii
  2.  
  3. #Generated by VRMLExpress from StreetLight.vxr
  4.  
  5. Separator {
  6.     renderCulling AUTO
  7.  
  8.     DEF streetLight Separator {
  9.         renderCulling AUTO
  10.  
  11.         Separator {
  12.             renderCulling AUTO
  13.  
  14.             Translation {
  15.                 translation 0 0.127 0
  16.             }
  17.  
  18.             DEF base Cylinder {
  19.                 parts ALL
  20.                 radius 0.254
  21.                 height 0.254
  22.             }
  23.  
  24.         }
  25.  
  26.         Separator {
  27.             renderCulling AUTO
  28.  
  29.             Translation {
  30.                 translation 0 3.302 0
  31.             }
  32.  
  33.             DEF pole Cylinder {
  34.                 parts ALL
  35.                 radius 0.0762
  36.                 height 6.096
  37.             }
  38.  
  39.         }
  40.  
  41.         Separator {
  42.             renderCulling AUTO
  43.  
  44.             Transform {
  45.                 translation 0.1524 6.2738 0
  46.                 rotation 0  0  -1  1.5708
  47.                 scaleFactor 1 1 1
  48.                 scaleOrientation 0 0 1 0
  49.                 center 0 0 0
  50.             }
  51.  
  52.             DEF arm Cylinder {
  53.                 parts ALL
  54.                 radius 0.0762
  55.                 height 0.3048
  56.             }
  57.  
  58.         }
  59.  
  60.         Separator {
  61.             renderCulling AUTO
  62.  
  63.             DEF lightLocation Translation {
  64.                 translation 0.4572 6.2357 0
  65.             }
  66.  
  67.             Material {
  68.                 ambientColor 0.2 0.2 0.2
  69.                 diffuseColor 0.2 0.2 0.2
  70.                 specularColor 0 0 0
  71.                 emissiveColor 0.9 0.9 0.9
  72.                 shininess 0.2
  73.                 transparency 0
  74.             }
  75.  
  76.             DEF light Sphere {
  77.                 radius 0.2286
  78.             }
  79.  
  80.             PointLight {
  81.                 on TRUE
  82.                 intensity 40
  83.                 color 1 1 1
  84.                 location 0 0 0
  85.             }
  86.  
  87.         }
  88.  
  89.     }
  90.  
  91. }
  92.  
  93.