Home GeneratedCubeMapTexture
X_ite
Cancel

GeneratedCubeMapTexture

Overview

GeneratedCubeMapTexture is a texture node that defines a cubic environment map that sources its data from internally generated images. The viewpoint of the generated texture is the location and orientation of the associated geometry in world space.

The GeneratedCubeMapTexture node belongs to the CubeMapTexturing component and requires at least level 3, its default container field is texture. It is available from X3D version 3.0 or higher.

Hierarchy

1
2
3
4
5
+ X3DNode
  + X3DAppearanceChildNode
    + X3DTextureNode
      + X3DEnvironmentTextureNode
        + GeneratedCubeMapTexture

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

Hint

SFString [in, out] description “”

Author-provided prose that describes intended purpose of the url asset.

Hint

  • Many XML tools substitute XML character references for special characters automatically if needed within an attribute value (such as & for & ampersand character, or " for “ quotation-mark character).

SFString [in, out] update “NONE” [“NONE”|”NEXT_FRAME_ONLY”|”ALWAYS”]

update controls regeneration of the texture.

Warnings

  • An object trying to render itself in the scene graph can cause infinite loops.
  • Do not wrap extra quotation marks around these SFString enumeration values, since “quotation” “marks” are only used for MFString values.

SFInt32 [ ] size 128 (0,∞)

size indicates the resolution of the generated images in number of pixels per side.

SFNode [ ] textureProperties NULL [TextureProperties]

Single contained TextureProperties node that can specify additional visual attributes applied to corresponding texture images.

Advice

Hints

  • Can contain a single TextureProperties node.
  • Typically a Box is used for applying the GeneratedCubeMapTexture.

Warning

  • Requires X3D profile='Full' or else include <component name='CubeMapTexturing' level='3'/>

Example

View Source in Playground

See Also

This post is licensed under CC BY 4.0 by the author.