home *** CD-ROM | disk | FTP | other *** search
/ Serif Graphics Collection / Serif_Graphics_Collection_6_DTP_Porgrams_on_One_CD_Serif-SPF.iso / 3DPLUS / data1.cab / VRML / plamp.wrl < prev    next >
Text File  |  1998-04-22  |  3KB  |  173 lines

  1. #VRML V1.0 ascii
  2.  
  3. Coordinate3 {
  4.     point[
  5.         3 0 0,
  6.         2.8 0 1,
  7.         2.2 0 2.2,
  8.         1 0 2.8,
  9.         0 0 3,
  10.         -1 0 2.8,
  11.         -2.2 0 2.2,
  12.         -2.8 0 1,
  13.         -3 0 0,
  14.         -2.8 0 -1,
  15.         -2.2 0 -2.2,
  16.         -1 0 -2.8,
  17.         0 0 -3,
  18.         1 0 -2.8,
  19.         2.2 0 -2.2,
  20.         2.8 0 -1,
  21.         #The bottom ring
  22.         6 -10 0,
  23.         5.6 -10 2,
  24.         4.4 -10 4.4,
  25.         2 -10 5.6,
  26.         0 -10 6,
  27.         -2 -10 5.6,
  28.         -4.4 -10 4.4,
  29.         -5.6 -10 2,
  30.         -6 -10 0,
  31.         -5.6 -10 -2,
  32.         -4.4 -10 -4.4,
  33.         -2 -10 -5.6,
  34.         0 -10 -6,
  35.         2 -10 -5.6,
  36.         4.4 -10 -4.4,
  37.         5.6 -10 -2,
  38.         #The top ring
  39.         1.5 5 0,
  40.         1.4 5 0.5,
  41.         1.1 5 1.1,
  42.         0.5 5 1.4,
  43.         0 5 1.5,
  44.         -0.5 5 1.4,
  45.         -1.1 5 1.1,
  46.         -1.4 5 0.5,
  47.         -1.5 5 0,
  48.         -1.4 5 -0.5,
  49.         -1.1 5 -1.1,
  50.         -0.5 5 -1.4,
  51.         0 5 -1.5,
  52.         0.5 5 -1.4,
  53.         1.1 5 -1.1,
  54.         1.4 5 -0.5
  55.     ]
  56. }
  57. Material {
  58.     diffuseColor [
  59.         0.6 0 0.8588235,
  60.         0 0 1,
  61.     ]
  62. }
  63. MaterialBinding {
  64.     value PER_VERTEX_INDEXED
  65. }
  66. IndexedFaceSet {
  67.     coordIndex [
  68.         1, 17, 16, 0, -1,
  69.         2, 18, 17, 1, -1,
  70.         3, 19, 18, 2, -1,
  71.         4, 20, 19, 3, -1,
  72.         5, 21, 20, 4, -1,
  73.         6, 22, 21, 5, -1,
  74.         7, 23, 22, 6, -1,
  75.         8, 24, 23, 7, -1,
  76.         9, 25, 24, 8, -1,
  77.         10, 26, 25, 9, -1,
  78.         11, 27, 26, 10, -1,
  79.         12, 28, 27, 11, -1,
  80.         13, 29, 28, 12, -1,
  81.         14, 30, 29, 13, -1,
  82.         15, 31, 30, 14, -1,
  83.         0, 16, 31, 15
  84.         
  85.     ]
  86.     materialIndex [
  87.         0, 1, 1, 0, 0,
  88.         0, 1, 1, 0, 0,
  89.         0, 1, 1, 0, 0,
  90.         0, 1, 1, 0, 0,
  91.         0, 1, 1, 0, 0,
  92.         0, 1, 1, 0, 0,
  93.         0, 1, 1, 0, 0,
  94.         0, 1, 1, 0, 0,
  95.         0, 1, 1, 0, 0,
  96.         0, 1, 1, 0, 0,
  97.         0, 1, 1, 0, 0,
  98.         0, 1, 1, 0, 0,
  99.         0, 1, 1, 0, 0,
  100.         0, 1, 1, 0, 0,
  101.         0, 1, 1, 0, 0,
  102.         0, 1, 1, 0
  103.     ]
  104. }
  105. DEF black Material {
  106.     diffuseColor 0.05 0.05 0.05
  107.     shininess 0.1
  108.     specularColor 0.3 0.3 0.3
  109.     ambientColor 0.1 0.1 0.1
  110. }
  111. IndexedFaceSet {
  112.     coordIndex [
  113.         33, 1, 0, 32, -1,
  114.         34, 2, 1, 33, -1,
  115.         35, 3, 2, 34, -1,
  116.         36, 4, 3, 35, -1,
  117.         37, 5, 4, 36, -1,
  118.         38, 6, 5, 37, -1,
  119.         39, 7, 6, 38, -1,
  120.         40, 8, 7, 39, -1,
  121.         41, 9, 8, 40, -1,
  122.         42, 10, 9, 41, -1,
  123.         43, 11, 10, 42, -1,
  124.         44, 12, 11, 43, -1,
  125.         45, 13, 12, 44, -1,
  126.         46, 14, 13, 45, -1,
  127.         47, 15, 14, 46, -1,
  128.         32, 0, 15, 47, -1,
  129.         35, 34, 33, 32, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36
  130.     ]
  131. }
  132. Translation {
  133.     translation 0 5 0
  134. }
  135. Separator {
  136.     Scale {
  137.         scaleFactor 1 0.4 1
  138.     }
  139.     Sphere {
  140.         radius 0.8
  141.     }
  142. }
  143. Translation {
  144.     translation 0 -4 0
  145. }
  146. Separator {
  147.     Material {
  148.         diffuseColor 0.85 0.85 0.75
  149.         ambientColor 0.75 0.75 0.7
  150.         specularColor 1.0 1.0 1.0
  151.         shininess 0.15
  152.         transparency 0.01
  153.         emissiveColor 0.9 0.9 0.85
  154.     }
  155.     Sphere {
  156.         radius 2.0
  157.     }
  158.     Translation {
  159.         translation 0.0 2.5 0.0
  160.     }
  161.     Cylinder {
  162.         radius 1.25
  163.         height 2.5
  164.     }
  165. }
  166. Translation {
  167.     translation 0 10 0
  168. }
  169. USE black
  170. Cylinder {
  171.     radius 0.5
  172.     height 12
  173. }