Difference between revisions of "Composed3DTexture"

From Web3D.org
Jump to: navigation, search
 
Line 3: Line 3:
  
 
<pre>
 
<pre>
CADAssembly : X3DGroupingNode, X3DProductStructureChildNode {
+
Composed3DTexture : X3DTexture3DNode {
   MFNode  [in]     addChildren
+
   SFNode [in,out] metadata NULL [X3DMetadataObject]
  MFNode  [in]     removeChildren
+
   SFBool []      repeatS  FALSE
   MFNode  [in,out] children       []      [X3DProductStructureChildNode]
+
  SFBool []      repeatT  FALSE
   SFNode  [in,out] metadata       NULL    [X3DMetadataObject]
+
   SFBool []      repeatR  FALSE
   SFString [in,out] name ""
+
   MFNode [in,out] texture []  [X3DTexture2DNode]
  SFVec3f []       bboxCenter    0 0 0    (-∞,∞)
+
   SFVec3f  []       bboxSize      -1 -1 -1 [0,∞) or −1 −1 −1
+
 
}
 
}
 
</pre>
 
</pre>
The CADAssembly node holds a set of assemblies or parts grouped together.
 
  
 +
The Composed3DTexture 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.
  
The ''children'' field can contain X3DProductStructureChildNode types. Each child will be either a sub-assembly or a part.
 
  
 +
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.
  
The ''name'' field documents the name of this CADAssembly.
+
 
 +
See the ''Concepts'' section of the X3D specification for a general description of texture maps.
 +
 
 +
 
 +
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.
  
 
* [[Node Reference]]
 
* [[Node Reference]]

Revision as of 22:57, 1 February 2006

Composed3DTexture

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

The Composed3DTexture 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.


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.


See the Concepts section of the X3D specification for a general description of texture maps.


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.