Difference between revisions of "Background"

From Web3D.org
Jump to: navigation, search
Line 37: Line 37:
  
 
* There are no limits on the acceptable range of values for the ''groundAngle'' field.
 
* There are no limits on the acceptable range of values for the ''groundAngle'' field.
 +
* There is no check that the ''groundAngle'' values are nondecreasing.
 
* There are no limits on the acceptable range of values for the ''groundColor'' field.
 
* There are no limits on the acceptable range of values for the ''groundColor'' field.
 +
* There is no check that the number of ''groundColor'' values is one more than the number of ''groundAngle'' values.
 
* There are no limits on the acceptable range of values for the ''skyAngle'' field.
 
* There are no limits on the acceptable range of values for the ''skyAngle'' field.
 +
* There is no check that the ''skyAngle'' values are nondecreasing.
 
* There are no limits on the acceptable range of values for the ''skyColor'' field.
 
* There are no limits on the acceptable range of values for the ''skyColor'' field.
 +
* There is no check that the number of ''skyColor'' values is one more than the number of ''skyAngle'' values.
 
* There are no limits on the acceptable range of values for the ''transparency'' field.
 
* There are no limits on the acceptable range of values for the ''transparency'' field.
  
Line 54: Line 58:
  
 
* There are no limits on the acceptable range of values for the ''groundAngle'' field.
 
* There are no limits on the acceptable range of values for the ''groundAngle'' field.
 +
* There is no check that the ''groundAngle'' values are nondecreasing.
 
* There are no limits on the acceptable range of values for the ''groundColor'' field.
 
* There are no limits on the acceptable range of values for the ''groundColor'' field.
 +
* There is no check that the number of ''groundColor'' values is one more than the number of ''groundAngle'' values.
 
* There are no limits on the acceptable range of values for the ''skyAngle'' field.
 
* There are no limits on the acceptable range of values for the ''skyAngle'' field.
 +
* There is no check that the ''skyAngle'' values are nondecreasing.
 
* There are no limits on the acceptable range of values for the ''skyColor'' field.
 
* There are no limits on the acceptable range of values for the ''skyColor'' field.
 +
* There is no check that the number of ''skyColor'' values is one more than the number of ''skyAngle'' values.
 
* There ''transparency'' field is restricted to normalized values, i.e. greater than or equal to zero and less than or equal to one.
 
* There ''transparency'' field is restricted to normalized values, i.e. greater than or equal to zero and less than or equal to one.
  

Revision as of 06:44, 21 April 2015

Background

Specification Link: Background


Background : X3DBackgroundNode {
  SFBool   [in]     set_bind
  MFFloat  [in,out] groundAngle  []    [0,π/2]
  MFColor  [in,out] groundColor  []    [0,1]
  MFString [in,out] backUrl      []    [URI]
  MFString [in,out] bottomUrl    []    [URI]
  MFString [in,out] frontUrl     []    [URI]
  MFString [in,out] leftUrl      []    [URI]
  SFNode   [in,out] metadata     NULL  [X3DMetadataObject]
  MFString [in,out] rightUrl     []    [URI]
  MFString [in,out] topUrl       []    [URI]
  MFFloat  [in,out] skyAngle     []    [0,π]
  MFColor  [in,out] skyColor     0 0 0 [0,1]
  SFFloat  [in,out] transparency 0     [0,1]
  SFTime   [out]    bindTime
  SFBool   [out]    isBound
}

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.

Attributes

  • There are no limits on the acceptable range of values for the groundAngle field.
  • There is no check that the groundAngle values are nondecreasing.
  • There are no limits on the acceptable range of values for the groundColor field.
  • There is no check that the number of groundColor values is one more than the number of groundAngle values.
  • There are no limits on the acceptable range of values for the skyAngle field.
  • There is no check that the skyAngle values are nondecreasing.
  • There are no limits on the acceptable range of values for the skyColor field.
  • There is no check that the number of skyColor values is one more than the number of skyAngle values.
  • There are no limits on the acceptable range of values for the transparency field.

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.

Attributes

  • There are no limits on the acceptable range of values for the groundAngle field.
  • There is no check that the groundAngle values are nondecreasing.
  • There are no limits on the acceptable range of values for the groundColor field.
  • There is no check that the number of groundColor values is one more than the number of groundAngle values.
  • There are no limits on the acceptable range of values for the skyAngle field.
  • There is no check that the skyAngle values are nondecreasing.
  • There are no limits on the acceptable range of values for the skyColor field.
  • There is no check that the number of skyColor values is one more than the number of skyAngle values.
  • There transparency field is restricted to normalized values, i.e. greater than or equal to zero and less than or equal to one.

Schematron validation

TBD