Le fichier VRML TD-TextureVRML.wrl
#VRML V1.0 ascii PerspectiveCamera { heightAngle 0.5 position 0 0 15 } Separator { Translation { translation -2 2 0 } Texture2 { image 4 4 3 0xFF0000 0x00FF00 0xFFFF00 0x0000FF 0x000000 0xFFFFFF 0x000000 0xFFFFFF 0xFF0000 0x00FF00 0xFFFF00 0x0000FF 0x000000 0xFFFFFF 0x000000 0xFFFFFF } Sphere { } } Separator { Translation { translation 2 2 0 } Texture2 { filename "Iup.jpg" } Cube { } } Separator { Translation { translation -2 -2 0 } Texture2 { filename "Damier2.gif" } Cone { } } Separator { Translation { translation 2 -2 0 } Texture2 { image 4 4 3 0xFF0000 0x00FF00 0xFFFF00 0x0000FF 0x000000 0xFFFFFF 0x000000 0xFFFFFF 0xFF0000 0x00FF00 0xFFFF00 0x0000FF 0x000000 0xFFFFFF 0x000000 0xFFFFFF } Cylinder { } } |
RETOUR