Difference between revisions of "ComposedTexture3D"

From Web3D.org
Jump to: navigation, search
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
==ComposedTexture3D==
 
==ComposedTexture3D==
 +
 +
Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/texture3D.html#ComposedTexture3D ComposedTexture3D]
  
 
<pre>
 
<pre>
 
ComposedTexture3D : X3DTexture3DNode {
 
ComposedTexture3D : X3DTexture3DNode {
   SFNode [in,out] metadata NULL [X3DMetadataObject]
+
   SFNode [in,out] metadata         NULL [X3DMetadataObject]
   SFBool []      repeatS FALSE
+
   SFBool []      repeatS           FALSE
   SFBool []      repeatT  FALSE
+
   SFBool []      repeatR          FALSE
   SFBool []      repeatR  FALSE
+
   SFBool []      repeatT          FALSE
   MFNode [in,out] texture []   [X3DTexture2DNode]
+
   MFNode [in,out] texture           []   [X3DTexture2DNode]
 +
  SFNode []      textureProperties NULL  [TextureProperties]
 
}
 
}
 
</pre>
 
</pre>
  
The ComposedTexture3D node defines a 3D image-based texture map as a collection of 2D texture sources at various depths and parameters controlling tiling repetition of the texture onto geometry.
+
==DTD Validation==
 +
 
 +
===Children===
 +
 
 +
Children must appear as follows:
 +
 
 +
# A single, optional IS.
 +
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
 +
# A single, optional TextureProperties or appropriately typed Prototype node.
 +
# Any number, including zero, of Texture2DNodes, which are:
 +
## [[ImageTexture]]
 +
## [[MovieTexture]]
 +
## [[PixelTexture]]
 +
## An appropriately typed Prototype node
 +
 
 +
NOTE: At the time of writing the TextureProperties node is missing in the DTD definition. This is being reported and will be fixed shortly.
 +
 
 +
===Attributes===
 +
 
 +
* There are no other attributes requiring validation.
 +
 
 +
==Schema Validation==
 +
 
 +
===Children===
  
 +
Children must appear as follows:
  
The texture values are interpreted with the first image being at depth 0 and each following image representing an increasing depth value in the R direction. A user shall provide 2n source textures in this array. The individual source textures will ignore their repeat field values.
+
# A single, optional IS.
 +
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
 +
# A single, optional TextureProperties or appropriately typed Prototype node.
 +
# Any number, including zero, of Texture2DNodes, which are:
 +
## [[ImageTexture]]
 +
## [[MovieTexture]]
 +
## [[PixelTexture]]
 +
## An appropriately typed Prototype node
  
 +
===Attributes===
  
See the ''Concepts'' section of the X3D specification for a general description of texture maps.
+
* There are no other attributes requiring validation.
  
 +
==Schematron validation==
  
See the ''Texturing component'' section of the X3D specification for a general description of the X3DTexture2DNode abstract type and interpretation of rendering for 2D images. When used as a source for cubic environment maps, the fields ''repeatS'' and ''repeatT'' fields shall be ignored.
+
TBD
  
 
* [[Node Reference]]
 
* [[Node Reference]]

Latest revision as of 09:53, 27 August 2015

ComposedTexture3D

Specification Link: ComposedTexture3D

ComposedTexture3D : X3DTexture3DNode {
  SFNode [in,out] metadata          NULL  [X3DMetadataObject]
  SFBool []       repeatS           FALSE
  SFBool []       repeatR           FALSE
  SFBool []       repeatT           FALSE
  MFNode [in,out] texture           []    [X3DTexture2DNode]
  SFNode []       textureProperties NULL  [TextureProperties]
}

DTD Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. A single, optional TextureProperties or appropriately typed Prototype node.
  4. Any number, including zero, of Texture2DNodes, which are:
    1. ImageTexture
    2. MovieTexture
    3. PixelTexture
    4. An appropriately typed Prototype node

NOTE: At the time of writing the TextureProperties node is missing in the DTD definition. This is being reported and will be fixed shortly.

Attributes

  • There are no other attributes requiring validation.

Schema Validation

Children

Children must appear as follows:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. A single, optional TextureProperties or appropriately typed Prototype node.
  4. Any number, including zero, of Texture2DNodes, which are:
    1. ImageTexture
    2. MovieTexture
    3. PixelTexture
    4. An appropriately typed Prototype node

Attributes

  • There are no other attributes requiring validation.

Schematron validation

TBD