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 / boog.wrl < prev    next >
Text File  |  1998-04-22  |  3KB  |  145 lines

  1. #VRML V1.0 ascii
  2.  
  3. #This should be some kind of sicko bodyboard if I
  4. #actually get around to finishing it
  5.  
  6. #First I have to plot a few points around the edge of the board
  7.  
  8. Coordinate3 {
  9.     point [
  10.         #The nose first
  11.         -1.5 6.0 0.0,
  12.         1.5 6.0 0.0,
  13.         -2.4 5.0 0.0,
  14.         2.4 5.0 0.0,
  15.         -2.75 4.0 0.0,
  16.         2.75 4.0 0.0,
  17.         -3.0 3.0 0.0,
  18.         3.0 3.0 0.0,
  19.         #and down to the tail
  20.         -3.0 -6.0 0.0,
  21.         3.0 -6.0 0.0,
  22.         -2.0 -6.0 0.0,
  23.         2.0 -6.0 0.0,
  24.         -1.0 -5.2 0.0,
  25.         1.0 -5.2 0.0,
  26.         0.0 -5.0 0.0,
  27.         #Now for the deck
  28.         -1.45 5.6 0.4,
  29.         1.45 5.6 0.4,
  30.         -1.9 5.0 0.4,
  31.         1.9 5.0 0.4,
  32.         -2.3 4.0 0.4,
  33.         2.3 4.0 0.4,
  34.         -2.5 3.0 0.4,
  35.         2.5 3.0 0.4,
  36.         -2.5 -5.6 0.4,
  37.         2.5 -5.6 0.4,
  38.         -1.2 -4.9 0.4,
  39.         1.2 -4.9 0.4,
  40.         0.0 -4.7 0.4,
  41.         #And the slick
  42.         -1.65 5.75 -0.4,
  43.         1.65 5.75 -0.4,
  44.         -2.0 5.0 -0.4,
  45.         2.0 5.0 -0.4,
  46.         -2.4 4.0 -0.4,
  47.         2.4 4.0 -0.4,
  48.         -2.65 3.0 -0.4,
  49.         2.65 3.0 -0.4,
  50.         -2.65 -6.2 -0.4,
  51.         2.65 -6.2 -0.4,
  52.         -1.2 -5.5 -0.4,
  53.         1.2 -5.5 -0.4,
  54.         0.0 -5.3 -0.4,
  55.         #And now... for a few extra points
  56.         #to help with making the board
  57.         -2.65 -5.3 -0.4,
  58.         2.65 -5.3 -0.4,
  59.         -2.5 -4.7 0.4,
  60.         2.5 -4.7 0.4
  61.     ]
  62. }
  63. Material {
  64.     diffuseColor 0.5 0.5 1.0
  65.     shininess 0.0
  66. }
  67. IndexedFaceSet {
  68.     coordIndex [
  69.         15, 16, 1, 0, -1,
  70.         0, 2, 17, 15, -1,
  71.         16, 18, 3, 1, -1,
  72.         2, 4, 19, 17, -1,
  73.         18, 20, 5, 3, -1,
  74.         4, 6, 21, 19, -1,
  75.         20, 22, 7, 5, -1,
  76.         6, 8, 23, 21, -1,
  77.         22, 24, 9, 7, -1,
  78.         8, 10, 23, -1,
  79.         24, 11, 9, -1,
  80.         10, 12, 25, 23, -1,
  81.         24, 26, 13, 11, -1,
  82.         12, 14, 27, 25, -1,
  83.         26, 27, 14, 13
  84.     ]
  85. }
  86. Material {
  87.     diffuseColor 0.05 0.05 0.05
  88.     shininess 0.2
  89.     specularColor 0.22 0.22 0.22
  90. }
  91. IndexedFaceSet {
  92.     coordIndex [
  93.         #now for the bottom half of the rail
  94.         0, 1, 29, 28, -1,
  95.         28, 30, 2, 0, -1,
  96.         1, 3, 31, 29, -1,
  97.         30, 32, 4, 2, -1,
  98.         3, 5, 33, 31, -1,
  99.         32, 34, 6, 4, -1,
  100.         5, 7, 35, 33, -1,
  101.         34, 36, 8, 6, -1,
  102.         7, 9, 37, 35, -1,
  103.         36, 10, 8, -1,
  104.         9, 11, 37, -1,
  105.         36, 38, 12, 10, -1,
  106.         11, 13, 39, 37, -1,
  107.         38, 40, 14, 12, -1,
  108.         13, 14, 40, 39
  109.     ]
  110. }
  111. Material {
  112.     diffuseColor 0.85 0.85 0.85
  113.     shininess 0.9
  114.     specularColor 1.0 1.0 1.0
  115. }
  116. IndexedFaceSet {
  117.     coordIndex [
  118.         #Now to join up the slick
  119.         28, 29, 31, 30, -1,
  120.         30, 31, 33, 32, -1,
  121.         32, 33, 35, 34, -1,
  122.         34, 35, 42, 41, -1,
  123.         38, 36, 41, -1,
  124.         37, 39, 42, -1,
  125.         38, 41, 40, -1,
  126.         42, 39, 40
  127.     ]
  128. }
  129. Material {
  130.     diffuseColor 0.5 0.5 1.0
  131.     shininess 0.0
  132. }
  133. IndexedFaceSet {
  134.     coordIndex [
  135.         #fINALLY the deck
  136.         17, 18, 16, 15, -1,
  137.         19, 20, 18, 17, -1,
  138.         21, 22, 20, 19, -1,
  139.         43, 44, 22, 21, -1,
  140.         23, 25, 43, -1,
  141.         26, 24, 44, -1,
  142.         43, 25, 27, -1,
  143.         26, 44, 27
  144.     ]
  145. }