Coordenadas e Transformações de Texturas
#VRML V2.0 utf8 #Exemplo de TextureCoordinate #Uma parte (inferior esquerda) da textura e mapeada em uma face quadrada. Shape { appearance Appearance { texture ImageTexture { url "texture.gif "} } geometry IndexedFaceSet { coord Coordinate { point [ -1.0 -1.0 0.0, 1.0 -1.0 0.0, 1.0 1.0 0.0, -1.0 1.0 0.0, ] } coordIndex [ 0, 1, 2, 3, -1 ] texCoord TextureCoordinate { point [ 0.0 0.0, 0.5 0.0, 0.5 0.5, 0.0 0.5 ] } texCoordIndex [ 0, 1, 2, 3, -1] solid FALSE } }