Class PixelTexture

java.lang.Object
All Implemented Interfaces:
X3DNode, X3DAppearanceChildNode, PixelTexture, X3DSingleTextureNode, X3DTexture2DNode, X3DTextureNode

public class PixelTexture extends X3DConcreteNode implements PixelTexture
PixelTexture creates a 2D-image texture map using a numeric array of pixel values.

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. X3D node tooltip: [X3DTexture2DNode] PixelTexture creates a 2D-image texture map using a numeric array of pixel values. 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: this is a good way to bundle image(s) into a single scene file, avoiding multiple downloads. Hint: X3D-Edit includes PixelTexture image-conversion import capabilities. <a href="https://savage.nps.edu/X3D-Edit/images/PixelTextureImportImage.png" target="_blank">https://savage.nps.edu/X3D-Edit/images/PixelTextureImportImage.png</a> Warning: aggregate file size can grow dramatically. Hint: can contain a single TextureProperties node. Hint: insert Shape and Appearance nodes before adding texture. Hint: X3D Scene Authoring Hints, Images and Videos <a href="https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images" target="_blank">https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Images</a> 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. Hint: Texture coordinates are reapplied (or else recomputed if textureTransform field initially NULL) whenever the corresponding vertex-based geometry changes. Hint: Texture mapping <a href="https://en.wikipedia.org/wiki/Texture_mapping" target="_blank">https://en.wikipedia.org/wiki/Texture_mapping</a> Hint: X3D Architecture 17.2.2 Lighting model <a href="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS//Part01/components/lighting.html#Lightingmodel" target="_blank">https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS//Part01/components/lighting.html#Lightingmodel</a> *


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: