Difference between revisions of "Appearance"
Abergstrom (Talk | contribs) |
Abergstrom (Talk | contribs) |
||
Line 19: | Line 19: | ||
<p>The <i>texture</i> field, if specified, shall contain one of the various types of texture nodes (see: Texturing component). If the texture node is <code>NULL</code> or the <i>texture</i> field is unspecified, the object that references this Appearance is not textured.</p> | <p>The <i>texture</i> field, if specified, shall contain one of the various types of texture nodes (see: Texturing component). If the texture node is <code>NULL</code> or the <i>texture</i> field is unspecified, the object that references this Appearance is not textured.</p> | ||
− | <p>The <i>textureTransform</i> field, if specified, shall contain a TextureTransform node as defined in 18.4.8 TextureTransform. If the textureTransform is <code>NULL</code> or unspecified, the <i>textureTransform</i> field has no effect.</p> | + | <p>The <i>textureTransform</i> field, if specified, shall contain a TextureTransform node as defined in 18.4.8 TextureTransform. If the <i>textureTransform</i> is <code>NULL</code> or unspecified, the <i>textureTransform</i> field has no effect.</p> |
− | <p>The <i>lineProperties</i> field, if specified, shall contain a LineProperties node as specified in 12.4.3 LineProperties. If lineProperties is <code>NULL</code> or unspecified, the <i>lineProperties</i> field has no effect.</p> | + | <p>The <i>lineProperties</i> field, if specified, shall contain a LineProperties node as specified in 12.4.3 LineProperties. If <i>lineProperties</i> is <code>NULL</code> or unspecified, the <i>lineProperties</i> field has no effect.</p> |
− | <p>The <i>fillProperties</i> field, if specified, shall contain a FillProperties node as specified in 12.4.2 FillProperties. If fillProperties is <code>NULL</code> or unspecified, the <i>fillProperties</i> field has no effect.</p> | + | <p>The <i>fillProperties</i> field, if specified, shall contain a FillProperties node as specified in 12.4.2 FillProperties. If <i>fillProperties</i> is <code>NULL</code> or unspecified, the <i>fillProperties</i> field has no effect.</p> |
* [[Node Reference]] | * [[Node Reference]] |
Revision as of 22:40, 27 January 2006
Appearance
Appearance : X3DAppearanceNode { SFNode [in,out] fillProperties NULL [FillProperties] SFNode [in,out] lineProperties NULL [LineProperties] SFNode [in,out] material NULL [X3DMaterialNode] SFNode [in,out] metadata NULL [X3DMetadataObject] SFNode [in,out] texture NULL [X3DTextureNode] SFNode [in,out] textureTransform NULL [X3DTextureTransformNode] }
The Appearance node specifies the visual properties of geometry. The value for each of the fields in this node may be NULL
. However, if the field is non-NULL
, it shall contain one node of the appropriate type.
The material field, if specified, shall contain a Material node. If the material field is NULL
or unspecified, lighting is off (all lights are ignored during rendering of the object that references this Appearance) and the unlit object colour is (1, 1, 1). Details of the X3D lighting model are in 17 Lighting component.
The texture field, if specified, shall contain one of the various types of texture nodes (see: Texturing component). If the texture node is NULL
or the texture field is unspecified, the object that references this Appearance is not textured.
The textureTransform field, if specified, shall contain a TextureTransform node as defined in 18.4.8 TextureTransform. If the textureTransform is NULL
or unspecified, the textureTransform field has no effect.
The lineProperties field, if specified, shall contain a LineProperties node as specified in 12.4.3 LineProperties. If lineProperties is NULL
or unspecified, the lineProperties field has no effect.
The fillProperties field, if specified, shall contain a FillProperties node as specified in 12.4.2 FillProperties. If fillProperties is NULL
or unspecified, the fillProperties field has no effect.