CartoonVolumeStyle
From Web3D.org
Contents
CartoonVolumeStyle
Specification Link: CartoonVolumeStyle
CartoonVolumeStyle : X3ComposableVolumeRenderStyleNode { SFInt32 [in,out] colorSteps 4 [1,64] SFBool [in,out] enabled TRUE SFNode [in,out] metadata NULL [X3DMetadataObject] SFColorRGBA [in,out] orthogonalColor 0.5 [0,1] SFColorRGBA [in,out] parallelColor 0.5 [0,1] SFNode [in,out] surfaceNormals NULL [X3DTexture3DNode] }
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 node which can be an appropriately typed Prototype node or one of the following node types:
Note: The DTD currently incorrectly permits a MultiTexture node type. This has been reported and is awaiting resolution.
Attributes
- The colorSteps field is checked to ensure the value is in the range 1 to 64 inclusive.
- There is no check that the values in the orthogonalColor field are acceptable.
- There is no check that the values in the parallelColor field are acceptable.
Schema 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 node which can be an appropriately typed Prototype node or one of the following node types:
Attributes
- The colorSteps field is checked to ensure the value is in the range 1 to 64 inclusive.
- TheorthogonalColor field has some checking to try to ensure that all three values are acceptable. Further work in ongoing to improve this.
- TheparallelColor field has some checking to try to ensure that all three values are acceptable. Further work in ongoing to improve this.
Schematron validation
TBD