Package X3dForAdvancedModeling.TextureMapping
This chapter demonstrates techniques for texture mapping, multitextures, and 3D textures.
Texture mapping maps images to geometry nodes.
- Images can be provided by ImageTexture, MovieTexture or PixelTexture nodes.
- TextureCoordinate and TextureCoordinateGenerator can select image-texture coordinates for direct matching with geometry vertices. Animation can be provided by TexCoordChaser2D and TexCoordDamper2D
- TextureProperties provides precise fine-grained control over application of image textures to geometry.
- TextureTransform shifts 2D texture coordinates for positioning, orienting and scaling image textures on geometry.
Multitexture techniques apply multiple textures to a single set of geometry, enabling a variety of visual effects such as light mapping and environment mapping.
- MultiTexture node can contain multiple ImageTexture, MovieTexture and PixelTexture nodes.
- MultiTextureCoordinate node can contain TextureCoordinate or TextureCoordinateGenerator nodes.
- MultiTextureTransform node contains TextureTransform nodes that correspond to each texture image.
3D texture techniques apply volumetric textures that describe a volume in space, rather than a flat surface.
- ComposedTexture3D, ImageTexture3D and PixelTexture3D define 3D image-based texture maps.
- TextureCoordinate3D and TextureCoordinate4D map 3D textures to vertices.
- TextureTransform3D and TextureTransformMatrix3D apply a 3D transformation to texture coordinates.
This X3D4AM Security archive is online.
The X3D Java Scene Access Interface (x3djsail) package provides concrete classes for each X3D node and statement.
Online: X3D Java Scene Access Interface Library (X3DJSAIL) and X3DJSAIL Javadoc
- See Also:
-
ClassDescriptionDesign pattern for MultiTexture, MultiTextureCoordinate, MultiTextureTransform node correspondences.MultiTextureTeapot X3D example uses texture, material and TextureCoordinateGenerator properties provided by Castle Game Engine example model, applied to the Newell Teapot geometry.View a given texture from different angles to judge readability, example use is a QR code.Compare ImageTexture mapping for a variety of geometry nodes.Compare ImageTexture mapping for a variety of geometry nodes.