|
|
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
|
|
|
|
Cone Node
The Cone node lets you specify not only the height and radius but also
which parts you want to draw.
This node contains four fields: bottomRadius, height,
side, and bottom.
The bottomRadius and height fields define the geometrical
properties of the cone. The values for these fields must be greater
than 0.0.
The side and bottom specify which parts of the cone
are to be drawn. These two fields take boolean values. For instance if
side is FALSE then only a circle, the bottom of the cone, is drawn. When drawing
only a part of the shape note that only one side is lit, the opposite side
being black.
All fields are optional, the default values being applied if the field
is not specified.
Syntax:
|
Cone { |
bottomRadius 1.0
height 2.0
side TRUE
bottom TRUE
|
} |
|
The center of the cone is at (0,0,0) of the local coordinate system.
|