Basic HTML version of Foils prepared April 6 1997

Foil 153 ImageTexture

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 97. by Zeynep Ozdemir(Geoffrey C. Fox)


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

in Table To:


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Mar 15 1998