Class MovieTexture

All Implemented Interfaces:
X3DChildNode, X3DNode, X3DUrlObject, X3DAppearanceChildNode, X3DSoundNode, X3DSoundSourceNode, MovieTexture, X3DSingleTextureNode, X3DTexture2DNode, X3DTextureNode, X3DTimeDependentNode

public class MovieTexture extends X3DConcreteNode implements MovieTexture
MovieTexture applies a 2D movie image to surface geometry, or provides audio for a Sound node.

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. MovieTexture node tooltip: [X3DTexture2DNode,X3DSoundSourceNode,X3DUrlObject] MovieTexture applies a 2D movie image to surface geometry, or provides audio for a Sound node. First define as texture, then USE as Sound source to see it/hear it/save memory. 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.
  • Hint: provide a Viewpoint that allows a clear view of the MovieTexture so that users can easily see all details.
  • Hint: utilize DEF/USE references for multiple copies of a single MovieTexture video file in order to avoid multiple-download delays, reduce memory requirements, and maintain synchronization.
  • Hint: authors can provide multiple video formats for the same video track, with each source address listed separately in the url field.
  • Hint: player support for MPEG-1 video format is required, other formats are optional.
  • Warning: MovieTexture has containerField='texture' when parent is an Appearance node, otherwise containerField='source' when parent is a Sound node.
  • Hint: Texture coordinates are reapplied (or else recomputed if textureTransform field initially NULL) whenever the corresponding vertex-based geometry changes.
  • Hint: X3D Scene Authoring Hints, Images
  • Hint: Texture mapping
  • Hint: X3D Architecture 17.2.2 Lighting model /Part01/components/lighting.html#Lightingmodel
  • Hint: when parent node is LoadSensor, apply containerField='children' (X3Dv4) or containerField='watchList' (X3Dv3).

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also: