#VRML V1.0 ascii Separator { Translation { translation 0 0 -5 } Material { diffuseColor 1 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 0 0 -3 } Material { diffuseColor 1 1 1 specularColor 0 0 0 } Separator { PointLight { color 0 1 0 location 0 0 0 } Translation { translation 5 0 0 } Sphere { radius 2 } } Separator { PointLight { color 0 0 1 location 0 0 0 } Translation { translation -5 0 0 } Sphere { radius 2 } } } |
RETOUR