#VRML V1.0 ascii
Separator {
Translation {
translation 0 0 -5 }
Material {
diffuseColor 1 0 0
specularColor 0 0 0
ambientColor 0 0 0 }
Sphere {
radius 5 }
}
#VRML V1.0 ascii
Separator {
Translation {
translation 0 0 -5 }
Material {
diffuseColor 1 0 0
ambientColor 0 0 0
specularColor 0 1 0
shininess 0.25 }
Sphere {
radius 5 }
}
#VRML V1.0 ascii
Separator {
Translation {
translation 0 0 -5 }
DirectionalLight {
direction -1 0 0 }
Material {
diffuseColor 1 0 0
ambientColor 0 0 0
specularColor 0 1 0
shininess 0.25 }
Sphere {
radius 5 }
}
#VRML V1.0 ascii
Separator {
Translation {
translation -3.5 0 -5 }
DirectionalLight {
direction -1 0 0 }
PointLight {
location 0 0 0 }
Material {
diffuseColor 1 0 0
ambientColor 0 0 0
specularColor 0 1 0
shininess 0.25 }
Sphere {
radius 5 }
Translation {
translation 10 0 0 }
Sphere {
radius 2 }
}
#VRML V1.0 ascii
Separator {
Translation {
translation -3.5 0 -5 }
DirectionalLight {
direction -1 0 0 }
PointLight {
location 0 0 0 }
SpotLight {
location 0 0 10
direction 0 0 -1
cutOffAngle 0.35 }
Material {
diffuseColor 1 0 0
ambientColor 0 0 0
specularColor 0 1 0
shininess 0.3 }
Sphere {
radius 5 }
Translation {
translation 10 0 0 }
Sphere {
radius 2 }
}
#VRML V1.0 ascii
Separator {
Translation {
translation -3.5 0 -5 }
DirectionalLight {
direction -1 0 0 }
PointLight {
location 0 0 0 }
SpotLight {
location 0 0 10
direction 0 0 -1
cutOffAngle 0.35 }
Material {
diffuseColor 0 1 0
ambientColor 1 0 0
emissiveColor 0.2 0.2 0.2
specularColor 0 0 1
shininess 0.25
transparency 0 }
Sphere {
radius 5 }
Translation {
translation 10 0 0 }
Sphere {
radius 2 }
}
Contribution de la composante diffuse
#VRML V1.0 ascii
Separator {
Translation {
translation -3.5 0 -5 }
DirectionalLight {
direction -1 0 0 }
PointLight {
location 0 0 0 }
SpotLight {
location 0 0 10
direction 0 0 -1
cutOffAngle 0.35 }
Material {
diffuseColor 0 1 0
ambientColor 0 0 0
emissiveColor 0.0 0.0 0.0
specularColor 0 0 0
shininess 0.25
transparency 0 }
Sphere {
radius 5 }
Translation {
translation 10 0 0 }
Sphere {
radius 2 }
}
Contribution de la composante ambiante
Cortona player ne gère pas de lumière ambiante
SceneViewer
#VRML V1.0 ascii
Separator {
Translation {
translation -3.5 0 -5 }
DirectionalLight {
direction -1 0 0 }
PointLight {
location 0 0 0 }
SpotLight {
location 0 0 10
direction 0 0 -1
cutOffAngle 0.35 }
Material {
diffuseColor 0 0 0
ambientColor 1 0 0
emissiveColor 0 0 0
specularColor 0 0 0
shininess 0.25
transparency 0 }
Sphere {
radius 5 }
Translation {
translation 10 0 0 }
Sphere {
radius 2 }
}
Contribution de la composante émise
#VRML V1.0 ascii
Separator {
Translation {
translation -3.5 0 -5 }
DirectionalLight {
direction -1 0 0 }
PointLight {
location 0 0 0 }
SpotLight {
location 0 0 10
direction 0 0 -1
cutOffAngle 0.35 }
Material {
diffuseColor 0 0 0
ambientColor 0 0 0
emissiveColor 0.2 0.2 0.2
specularColor 0 0 0
shininess 0.25
transparency 0 }
Sphere {
radius 5 }
Translation {
translation 10 0 0 }
Sphere {
radius 2 }
}
Contribution de la composante spéculaire
#VRML V1.0 ascii
Separator {
Translation {
translation -3.5 0 -5 }
DirectionalLight {
direction -1 0 0 }
PointLight {
location 0 0 0 }
SpotLight {
location 0 0 10
direction 0 0 -1
cutOffAngle 0.35 }
Material {
diffuseColor 0 0 0
ambientColor 0 0 0
emissiveColor 0 0 0
specularColor 0 0 1
shininess 0.25
transparency 0 }
Sphere {
radius 5 }
Translation {
translation 10 0 0 }
Sphere {
radius 2 }
}