Basic HTML version of Foils prepared March 4 1998

Foil 159 Texture - II

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


When a color texture image is in use, the colors in the texture image are mapped to parts of a VRML shapes as if those shapes were being painted and diffuseColor field of the shape Material node is ignored so that the remaining fields of the Material node is still apply such as transparency.
When a gray scale texture image is in use, the gray level values of each pixel is multiplied with the diffuseColor field of the shape Material node.
Some texture image file formats can optionally store a transparency level for each pixel.
When an image with pixel transparency is texture mapped to a shape, the pixel tranparencies control transparency from point to point across the shape.
ImageTexture, PixelTexture and MovieTexture nodes can be used to specify a texture for mapping to a shape. These nodes can be used texture field of Appearance node.



© 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 Nov 29 1998