#VRML V2.0 utf8 # On supprime l'éclairage depuis l'avatar, efin d'éviter toute perturbation # On donne quelques informations générales de navigation NavigationInfo { avatarSize [ 0.25, 1.6, 0.25 ] headlight FALSE } Shape { # on crée une sphere pour tester la lumière appearance Appearance { material Material { diffuseColor 1 1 1 emissiveColor .2 .2 .2 } } geometry Sphere { radius 1} } Transform { rotation 3 2 3 3.14 children Transform { translation 0 3 0 children [ Shape { # on crée une sphere qui représentera la lumière appearance Appearance { material Material { emissiveColor 1 1 1 } } geometry Cone { bottomRadius 0.2 height 0.5 } } SpotLight { direction 0 -1 0 } ] } }