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

Page not found » Lighthouse3d.com
Help end child hunger

Error 404 - Not Found

Sorry, the page that you are looking for does not exist.

Cylinder Node


The Cylinder node lets you specify not only the height and radius but also which parts you want to draw.

This node contains five fields: radius, height, side, bottom, and top.

The radius and height fields define the geometrical properties of the cylinder. The values for these fields must be greater than 0.0.

The side, bottom, and top specify which parts of the cylinder are to be drawn. These three fields take boolean values. For instance if side is FALSE then only the bottom and top of the cylinder are drawn. When drawing only parts 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 not specified.



Syntax:
Cylinder {
radius 1.0
height 2.0
side TRUE
bottom TRUE
top TRUE
}


The center of the cylinder is at (0,0,0) of the local coordinate system.