Basic HTML version of Foils prepared March 4 1998

Foil 162 PixelTexture Node

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 98. by Zeynep Ozdemir, Rob Baker, Meryem Ispirli, Geoffrey C. Fox

VRML2.0 PixelTexture Node
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 Apr 5 1998