Lighthouse3d.com

Send me bugs and suggestions, please
VRML Script Tutorial
Full list

VRML Interactive Tutorial

Introduction
VRML File Structure
Drawing: Shape node
Geometry Nodes:
Box
Sphere
Cone
Cylinder
PointSet
IndexedLineSet
IndexedFaceSet
Extrusion
ElevationGrid
Example: Chessboard
Text
FontStyle
Appearance
Material
Textures
Image Texture
Movie Texture
Pixel Texture
Texture Coordinate
Texture Transform
Let there be Light
Directional Light
Point Light
Spot Light
Materials with Colored Lights
Hierarchical Node Structures
Group
Transform
Collision
Anchor
Billboard
Switch
Inlining Files
Defining and Instancing Nodes
Defining Levels of Detail
Events in VRML
Creating Paths between events: ROUTE
Generating Events based on Timers or User Actions
Timers
Touch Sensor
Visibility Sensor
Dragging Sensors
Plane Sensor
Sphere Sensor
Cylinder Sensor
Proximity Sensors
Example: Proximity sensor
Interpolators
Color
Coordinate
Normal
Orientation
Position
Scalar
Example
Let the Music Play
Sound
AudioClip
Bindable Nodes
Who Am I: NavigationInfo
Where Am I: ViewPoint
Adding Realism to the world
Background
Fog
Information about your world
WorldInfo
Definition for Auxiliary Nodes
Coordinate
Color
Normal

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.