1 |
ImageTexture {
|
2 |
url [] # exposedField MFString
|
3 |
repeatS TRUE # field SFBool
|
4 |
repeatT TRUE # field SFBool
|
5 |
}
|
6 |
The ImageTexture node can provide the URL address of a texture image file in JPEG, GIF, or PNG file format.
|
7 |
url field specifies a list of URL addresses for the texture image file.
|
8 |
PixelTexture node can specify the pixel values explicitly, one by one, from left to right and bottom to top for an image so that we do not need to mention any file name address in the VRML file.
|
9 |
S and T are "x" and "y" for a texture map and repeatS/repeatT if true specify automatic wrapping of image over Shape
-
Fields such as texCoord and texCoordIndex map S and T to geometry of shape
|