|
|
VRML Script Tutorial
Full list
VRML Interactive Tutorial
Introduction
VRML File Structure
Drawing: Shape node
Geometry Nodes:
Appearance
Let there be Light
Materials with Colored Lights
Hierarchical Node Structures
Inlining Files
Defining and Instancing Nodes
Defining Levels of Detail
Events in VRML
Interpolators
Let the Music Play
Bindable Nodes
Adding Realism to the world
Information about your world
Definition for Auxiliary Nodes
|
|
|
|
Appearance Node
The appearance node defines the look of the geometry. This node can
only be defined inside a Shape node.
The fields included in this node are: material, texture,
and textureTransform. All fields are optional but at least one field
should be specified.
The material field contains a
Material node. This node specifies the color of the associated geometry,
see the Shape node, and how the geometry reflects
light. Note that if this field is NULL or unspecified then all lights
defined in the world are ignored when rendering the associated geometry.
The texture field contains one of the texture
nodes available: ImageTexture, MovieTexture,
or PixelTexture. If this field
is absent or unspecified no textures are applied to the associated geometry.
The textureTransform field contains a TextureTransform
node. This node specifies how the texture is applied to the geometry.
Syntax:
|
Appearance { |
material NULL
texture NULL
textureTransform NULL
|
} |
|
|