Difference between revisions of "BlendedVolumeStyle"
From Web3D.org
(Created page with "*Node Reference ==BlendedVolumeStyle== Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/volume.html#BlendedVolumeStyle B...") |
|||
Line 43: | Line 43: | ||
### [[ImageTexture]] | ### [[ImageTexture]] | ||
### [[MovieTexture]] | ### [[MovieTexture]] | ||
− | |||
### [[PixelTexture]] | ### [[PixelTexture]] | ||
## Texture3DTextureNodes, which are: | ## Texture3DTextureNodes, which are: |
Latest revision as of 15:39, 24 April 2015
Contents
BlendedVolumeStyle
Specification Link: BlendedVolumeStyle
BlendedVolumeStyle : X3ComposableVolumeRenderStyleNode { SFBool [in,out] enabled TRUE SFNode [in,out] metadata NULL [X3DMetadataObject] SFNode [in,out] renderStyle NULL [X3ComposableVolumeRenderStyleNode] SFNode [in,out] voxels NULL [X3DTexture3DNode] SFFloat [in,out] weightConstant1 0.5 [0,1] SFFloat [in,out] weightConstant2 0.5 [0,1] SFString [in,out] weightFunction1 "CONSTANT" ["CONSTANT", "ALPHA0", "ALPHA1", "TABLE", "ONE_MINUS_ALPHA0", "ONE_MINUS_ALPHA1"] SFString [in,out] weightFunction2 "CONSTANT" ["CONSTANT", "ALPHA0", "ALPHA1", "TABLE", "ONE_MINUS_ALPHA0", "ONE_MINUS_ALPHA1"] SFNode [in,out] weightTransferFunction1 NULL [X3DTexture2DNode] SFNode [in,out] weightTransferFunction2 NULL [X3DTexture2DNode] }
DTD Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Any number of children of any of the following types in any order:
- X3DComposableVolumeRenderStyleNodes, which are:
- Texture2DNodes, which are:
- Texture3DTextureNodes, which are:
- Appropriately typed Prototypes
Note: There is no limitation on the number of each type of node.
Attributes
- There is no check that the value in the weightConstant1 field is acceptable.
- There is no check that the value in the weightConstant2 field is acceptable.
- The value in the weightFunction1 field is checked and must be one of the six options.
- The value in the weightFunction2 field is checked and must be one of the six options.
Schema Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Up to four children of any of the following types in any order:
- Texture2DContentModel, which consists of:
- VolumeRenderStyleContentModel, which consists of:
- Texture3DContentModel, which consists of:
- Appropriately typed Prototypes
Note: There is no specific limitation on the number of each type of node to match the specification interface definition.
Attributes
- The value in the weightConstant1 field is checked to be within range.
- The value in the weightConstant2 field is checked to be within range.
- The value in the weightFunction1 field is checked and must be one of the six options.
- The value in the weightFunction2 field is checked and must be one of the six options.
Schematron validation
TBD