Basic HTML version of Foils prepared April 6 1997

Foil 155 PixelTexture Node

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


PixelTexture {
image 0 0 0 # exposedField SFImage
repeatS TRUE # field SFBool
repeatT TRUE # field SFBool
}
image field specifies the image size and pixel values for a texture image used to texture map a shape. The first three integer values in the image field are
The width of the image, in pixels
  • The height of the image, in pixels
  • The number of 8-bit bytes for each pixel. (0: disable textureing for the shape, 1: Grayscale, 2: Grayscale with alpha, 3: RGB, 4: RGB with alpha) Integer pixel values are typically specified using hexadecimal notation.



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