#VRML V2.0 utf8 # On supprime l'éclairage depuis l'avatar, efin d'éviter toute perturbation NavigationInfo { avatarSize [ 0.25, 1.6, 0.25 ] headlight FALSE } # on crée la directionalLight DirectionalLight { direction -0.5 -0.5 0 } # on crée défirrents objets, à différentes places pour recevoir la lumière Transform { translation 0 0 0 children Shape { # on crée une sphere appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Sphere {} } } Transform { translation -2 0 0 children Shape { # on crée une sphere appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Cone {} } } Transform { translation 2 0 0 children Shape { # on crée une sphere appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Cone {} } } Transform { translation 4 0 0 children Shape { # on crée une sphere appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Sphere {} } } Transform { translation -4 0 0 children Shape { # on crée une sphere appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Sphere {} } }