<<VRML 2.0 - An Introductory view by examples

ImageTexture

[example]                                         [run]


It is a node that defines a texture map for mapping in a geometry.

{
exposedField MFString url [ ] # url texture source address
field SFBool repeatS TRUE # texture wraps in S direction (filling tha shape)
field SFBool repeatT TRUE # texture wraps in T direction (filling tha shape)
}

Usage :


   Shape {
     geometry ...... {

       .............
                      }
     appearance Appearance {
          material Material {  }
          texture ImageTexture {
                   url "https://www.dca.fee.unicamp.br/~leopini/tut-vrml/text.gif"
                                }
                            }
          }