#VRML V2.0 utf8
DEF plateau Transform {
rotation 1 0 0 0
translation 0 -0.3 0
children [
Shape {
geometry Box { size 8 0.1 3}
appearance Appearance {
material Material {
diffuseColor 0 .337 .239
specularColor .18 .25 .23
ambientIntensity .0433
shininess .06
}
}
}
]
}
DEF cylindre Transform {
translation 0 0.3 0
children [
Shape {
geometry Cylinder {
bottom TRUE
height 1
radius 0.5
side TRUE
top TRUE
}
appearance Appearance {
material Material {
diffuseColor 1 .85 0
specularColor .87 .25 .25
ambientIntensity .157
shininess 1
}
}
}
]
}
DEF cone Transform{
translation 0 1.2 0
children[
Shape {
geometry Cone {
bottom TRUE
height 0.9
bottomRadius 0.5
side TRUE
}
appearance Appearance {
material Material {
diffuseColor .88 .15 .01
specularColor .19 .03 .03
ambientIntensity .0833
shininess .08
}
}
}
]
}
DEF palles Transform {
translation 0 0.8 0.5
children[
Transform {
children [
Shape {
geometry Box { size 2 0.1 0.1}
appearance Appearance {
material Material {
diffuseColor .09 .03 0
specularColor .22 .1 .1
ambientIntensity .01
shininess .05
}
}
}
]
}
Transform {
rotation 0 0 1 1.6
children [
Shape {
geometry Box { size 2 0.1 0.1}
appearance Appearance {
material Material {
diffuseColor .09 .03 0
specularColor .22 .1 .1
ambientIntensity .01
shininess .05
}
}
}
]
}
] }
DEF sphere Transform {
children [
Transform {
translation 5 0.8 0
children [
Shape {
geometry Sphere {
radius 0.4
}
appearance Appearance {
material Material {
diffuseColor .859 .949 0
specularColor .87 .25 .25
ambientIntensity .553
shininess .071
}
}
}
#PointLight {
##color 1 1 1
#location 0 0 0
#radius 100
#attenuation 1 0 0
#ambientIntensity 0
#}
SpotLight {
intensity 1
color 1 1 1
location 1 1 1
ambientIntensity 0
radius 100
on TRUE
beamWidth 1
cutOffAngle 1.2
}
] }
]
}
Background {
skyColor [
0.0 0.2 0.7,
0.0 0.5 1.0,
1.0 1.0 1.0]
skyAngle [ 1.4, 1.5]
groundColor [
0 0 0.0,
0 0 0,
0 0 0]
}
DEF TS TimeSensor {
cycleInterval 12
loop TRUE
}
DEF Ts TimeSensor {
cycleInterval 0.9
loop TRUE }
DEF rotation OrientationInterpolator {
key[0 0.5 1]
keyValue [0 0 1 0, 0 0 1 1.7,0 0 1 3.14]
}
DEF rotation1 OrientationInterpolator {
key[0 0.5 1]
keyValue [0 0 1 0, 0 0 1 1.7,0 0 1 3.14]
}
ROUTE TS.fraction_changed TO rotation.set_fraction
ROUTE Ts.fraction_changed TO rotation1.set_fraction
ROUTE rotation.value_changed TO sphere.rotation
ROUTE rotation1.value_changed TO palles.rotation