home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Late Night VRML 2.0 with Java CD-ROM
/
code.zip
/
Ch11
/
submarine
/
sub.wrl
< prev
next >
Wrap
Text File
|
1997-03-30
|
4KB
|
235 lines
#VRML V2.0 utf8
Group {
children [
WorldInfo {
info [ "Created in CosmoWorlds",
"Packaged by CosmoPackage",
"Packaged by CosmoPackage" ]
}
Group {
children [
DirectionalLight {
intensity 0
ambientIntensity 1
}
Collision {
children Transform {
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 0.25
diffuseColor 0.8 0.8 0.8
specularColor 0 0 0
emissiveColor 0 0 0
shininess 0.2
transparency 0
}
texture NULL
textureTransform NULL
}
geometry Cylinder {
radius 0.4
height 1.5
}
}
Transform {
children [
Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0.25
diffuseColor 0 0 0.04254
specularColor 0.6327 0.6273 0.6097
emissiveColor 0 0 0
shininess 0.102
transparency 0
}
texture NULL
textureTransform NULL
}
geometry Cylinder {
radius 0.05
height 3
}
}
translation 2.608e-08 0.9735 -0.03036
scale 0.9586 0.9586 0.9586
}
Transform {
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 0.2344
diffuseColor 0.5667 0.5809 0.5809
specularColor 0.6739 0.4573 0.4365
emissiveColor 0 0 0
shininess 0.1682
transparency 0
}
texture NULL
textureTransform NULL
}
geometry Sphere {
radius 1
}
}
Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0.256
diffuseColor 0.02916 0.02629 0.02696
specularColor 0.9818 0 0
emissiveColor 0 0 0
shininess 0.0303
transparency 0
}
texture NULL
textureTransform NULL
}
geometry Cylinder {
radius 0.5
height 0.5
}
}
translation 0 1 0
}
]
}
]
}
]
scale 4 1 1
}
collide FALSE
proxy NULL
}
]
}
Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0.25
diffuseColor 0.9917 0.9395 1
specularColor 0 0 0
emissiveColor 0 0 0
shininess 0
transparency 0
}
texture NULL
textureTransform NULL
}
geometry Cylinder {
}
}
translation 0.1418 -0.7659 -0.8604
rotation -0.6917 0.6965 -0.1909 3.488
scale 0.1688 2.757 0.1688
scaleOrientation 1.088e-07 -1 -4.878e-07 0.05533
}
Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0.25
diffuseColor 0.9917 0.9395 1
specularColor 0 0 0
emissiveColor 0 0 0
shininess 0
transparency 0
}
texture NULL
textureTransform NULL
}
geometry Cylinder {
}
}
translation 0.2982 -0.6325 0.9756
rotation -0.6917 0.6965 -0.1909 3.488
scale 0.1688 2.757 0.1688
scaleOrientation 1.088e-07 -1 -4.878e-07 0.05533
}
Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0.25
diffuseColor 0.05401 0.2329 0.3899
specularColor 0.09634 0.07948 0.3793
emissiveColor 0.005405 0.005405 0.005405
shininess 0.9946
transparency 0
}
texture NULL
textureTransform NULL
}
geometry Cylinder {
}
}
translation -2.323 -0.7905 -0.006793
rotation -0.003476 0.003954 -1 1.569
scale 0.3394 0.3394 0.3394
scaleOrientation -0.2833 -0.004889 -0.959 0.2419
}
DEF Light1 SpotLight {
on TRUE
intensity 1
ambientIntensity 0
color 0.926 1 0.9215
location -2.865 -0.8245 -0.02147
direction -3.021 0.1504 -3.346
beamWidth 1.088
cutOffAngle 0.984
radius 240.3
attenuation 5 0 0
}
]
}