Le fichier VRML avec lumières et matériaux
#VRML V1.0 ascii Separator { PerspectiveCamera { heightAngle 0.35 position 0 0 15 } PointLight { intensity 1 location 4 0 0 color 1 1 0 } DirectionalLight { intensity 1 direction 1 0 -1 color 0 1 1 } SpotLight { intensity 1 location -2 0 5 direction 0 0 -1 cutOffAngle 0.15 color 0 0 1 } Separator { Translation { translation -2 0 0 } Material { emissiveColor 0 0 0 diffuseColor 0 1 1 specularColor 1 0 0 ambientColor 0 0 0 shininess 0.1 } Sphere { } } Separator { Translation { translation 2 0 0 } Material { emissiveColor 0 0 0 diffuseColor 1 0 1 specularColor 0 0 0 ambientColor 0 0 0 shininess 0 } Cone { } } } |
RETOUR