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)


1 PixelTexture {
2 image 0 0 0 # exposedField SFImage
3 repeatS TRUE # field SFBool
4 repeatT TRUE # field SFBool
5 }
6 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
7 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.

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