Interface ImageTexture

All Superinterfaces:
X3DAppearanceChildNode, X3DNode, X3DSingleTextureNode, X3DTexture2DNode, X3DTextureNode, X3DUrlObject
All Known Implementing Classes:
ImageTexture

public interface ImageTexture extends X3DTexture2DNode, X3DUrlObject
ImageTexture maps a 2D-image file onto a geometric shape.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. ImageTexture node tooltip: [X3DTexture2DNode,X3DUrlObject] ImageTexture maps a 2D-image file onto a geometric shape. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) texture-coordinate values in range [0.0, 1.0] for opposite corners of the image.
  • Hint: can contain a single TextureProperties node.
  • Hint: insert Shape and Appearance nodes before adding texture.
  • Warning: bright Material emissiveColor values can wash out some textures.
  • Hint: authors can provide multiple image formats for the same image, with each source address listed separately in the url field.
  • Hint: player support is required for .png and .jpg formats, support is suggested for .gif format. Other image formats are optionally supported.
  • Hint: X3D Scene Authoring Hints, Images https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images
  • Warning: see ComposedCubeMapTexture and TextureBackground for special containerField values.
  • Hint: if a texture is opaque, omitting values in the alpha channel can help avoid rendering artifacts related to transparency and reduce file size by 25%.
  • Hint: Texture coordinates are reapplied (or else recomputed if textureTransform field initially NULL) whenever the corresponding vertex-based geometry changes.
  • Hint: Texture mapping https://en.wikipedia.org/wiki/Texture_mapping
  • Hint: X3D Architecture 17.2.2 Lighting model https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/lighting.html#Lightingmodel
  • Hint: when parent node is LoadSensor, apply containerField='children' (X3Dv4) or containerField='watchList' (X3Dv3). https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#fieldNameChanges

Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also: