Skip navigation links
Vrml2Sourcebook Examples Archive Javadoc

Package Vrml2Sourcebook.Chapter18TextureMapping

Texture coordinates transform and map pixels in a 2D image onto specific 3D points.

See: Description

Package Vrml2Sourcebook.Chapter18TextureMapping Description

Texture coordinates transform and map pixels in a 2D image onto specific 3D points.

Figure 18.27 Rotating Fan Animated Texture Transform

Texture images are in a texture coordinate system. By default, an entire texture image is mapped once around the shape. You can also extract only pieces of interest, or create repeating patterns. Texture coordinates and indexes describe a texture cookie cutter. Texture transforms translate, rotate, and scale place the cookie cutter. Texture indexes bind the cut-out cookie texture to a face on a shape.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

Skip navigation links
Vrml2Sourcebook Examples Archive Javadoc

Copyright ©2005-2019 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.