home *** CD-ROM | disk | FTP | other *** search
/ Late Night VRML 2.0 with Java CD-ROM / code.zip / Ch11 / submarine / sub.wrl < prev    next >
Text File  |  1997-03-30  |  4KB  |  235 lines

  1. #VRML V2.0 utf8
  2.  
  3. Group {
  4.   children    [
  5.     WorldInfo {
  6.       info    [ "Created in CosmoWorlds",
  7.             "Packaged by CosmoPackage",
  8.             "Packaged by CosmoPackage" ]
  9.     }
  10.     Group {
  11.       children    [
  12.     DirectionalLight {
  13.       intensity    0
  14.       ambientIntensity    1
  15.     }
  16.     Collision {
  17.       children    Transform {
  18.         children    [
  19.           Shape {
  20.         appearance    Appearance {
  21.           material    Material {
  22.             ambientIntensity    0.25
  23.             diffuseColor    0.8 0.8 0.8
  24.             specularColor    0 0 0
  25.             emissiveColor    0 0 0
  26.             shininess    0.2
  27.             transparency    0
  28.           }
  29.  
  30.           texture    NULL
  31.  
  32.           textureTransform    NULL
  33.  
  34.         }
  35.  
  36.         geometry    Cylinder {
  37.           radius    0.4
  38.           height    1.5
  39.         }
  40.  
  41.           }
  42.           Transform {
  43.         children    [
  44.           Transform {
  45.             children    Shape {
  46.               appearance    Appearance {
  47.             material    Material {
  48.               ambientIntensity    0.25
  49.               diffuseColor    0 0 0.04254
  50.               specularColor    0.6327 0.6273 0.6097
  51.               emissiveColor    0 0 0
  52.               shininess    0.102
  53.               transparency    0
  54.             }
  55.  
  56.             texture    NULL
  57.  
  58.             textureTransform    NULL
  59.  
  60.               }
  61.  
  62.               geometry    Cylinder {
  63.             radius    0.05
  64.             height    3
  65.               }
  66.  
  67.             }
  68.  
  69.             translation    2.608e-08 0.9735 -0.03036
  70.             scale    0.9586 0.9586 0.9586
  71.           }
  72.           Transform {
  73.             children    [
  74.               Shape {
  75.             appearance    Appearance {
  76.               material    Material {
  77.                 ambientIntensity    0.2344
  78.                 diffuseColor    0.5667 0.5809 0.5809
  79.                 specularColor    0.6739 0.4573 0.4365
  80.                 emissiveColor    0 0 0
  81.                 shininess    0.1682
  82.                 transparency    0
  83.               }
  84.  
  85.               texture    NULL
  86.  
  87.               textureTransform    NULL
  88.  
  89.             }
  90.  
  91.             geometry    Sphere {
  92.               radius    1
  93.             }
  94.  
  95.               }
  96.               Transform {
  97.             children    Shape {
  98.               appearance    Appearance {
  99.                 material    Material {
  100.                   ambientIntensity    0.256
  101.                   diffuseColor    0.02916 0.02629 0.02696
  102.                   specularColor    0.9818 0 0
  103.                   emissiveColor    0 0 0
  104.                   shininess    0.0303
  105.                   transparency    0
  106.                 }
  107.  
  108.                 texture    NULL
  109.  
  110.                 textureTransform    NULL
  111.  
  112.               }
  113.  
  114.               geometry    Cylinder {
  115.                 radius    0.5
  116.                 height    0.5
  117.               }
  118.  
  119.             }
  120.  
  121.             translation    0 1 0
  122.               }
  123.             ]
  124.           }
  125.         ]
  126.           }
  127.         ]
  128.         scale    4 1 1
  129.       }
  130.  
  131.       collide    FALSE
  132.       proxy    NULL
  133.  
  134.     }
  135.       ]
  136.     }
  137.     Transform {
  138.       children    Shape {
  139.     appearance    Appearance {
  140.       material    Material {
  141.         ambientIntensity    0.25
  142.         diffuseColor    0.9917 0.9395 1
  143.         specularColor    0 0 0
  144.         emissiveColor    0 0 0
  145.         shininess    0
  146.         transparency    0
  147.       }
  148.  
  149.       texture    NULL
  150.  
  151.       textureTransform    NULL
  152.  
  153.     }
  154.  
  155.     geometry    Cylinder {
  156.     }
  157.  
  158.       }
  159.  
  160.       translation    0.1418 -0.7659 -0.8604
  161.       rotation    -0.6917 0.6965 -0.1909  3.488
  162.       scale    0.1688 2.757 0.1688
  163.       scaleOrientation    1.088e-07 -1 -4.878e-07  0.05533
  164.     }
  165.     Transform {
  166.       children    Shape {
  167.     appearance    Appearance {
  168.       material    Material {
  169.         ambientIntensity    0.25
  170.         diffuseColor    0.9917 0.9395 1
  171.         specularColor    0 0 0
  172.         emissiveColor    0 0 0
  173.         shininess    0
  174.         transparency    0
  175.       }
  176.  
  177.       texture    NULL
  178.  
  179.       textureTransform    NULL
  180.  
  181.     }
  182.  
  183.     geometry    Cylinder {
  184.     }
  185.  
  186.       }
  187.  
  188.       translation    0.2982 -0.6325 0.9756
  189.       rotation    -0.6917 0.6965 -0.1909  3.488
  190.       scale    0.1688 2.757 0.1688
  191.       scaleOrientation    1.088e-07 -1 -4.878e-07  0.05533
  192.     }
  193.     Transform {
  194.       children    Shape {
  195.     appearance    Appearance {
  196.       material    Material {
  197.         ambientIntensity    0.25
  198.         diffuseColor    0.05401 0.2329 0.3899
  199.         specularColor    0.09634 0.07948 0.3793
  200.         emissiveColor    0.005405 0.005405 0.005405
  201.         shininess    0.9946
  202.         transparency    0
  203.       }
  204.  
  205.       texture    NULL
  206.  
  207.       textureTransform    NULL
  208.  
  209.     }
  210.  
  211.     geometry    Cylinder {
  212.     }
  213.  
  214.       }
  215.  
  216.       translation    -2.323 -0.7905 -0.006793
  217.       rotation    -0.003476 0.003954 -1  1.569
  218.       scale    0.3394 0.3394 0.3394
  219.       scaleOrientation    -0.2833 -0.004889 -0.959  0.2419
  220.     }
  221.     DEF Light1 SpotLight {
  222.       on    TRUE
  223.       intensity    1
  224.       ambientIntensity    0
  225.       color    0.926 1 0.9215
  226.       location    -2.865 -0.8245 -0.02147
  227.       direction    -3.021 0.1504 -3.346
  228.       beamWidth    1.088
  229.       cutOffAngle    0.984
  230.       radius    240.3
  231.       attenuation    5 0 0
  232.     }
  233.   ]
  234. }
  235.