home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Windows 95.com 1996 September
/
WIN95_09962.iso
/
vrml
/
MWE105.ZIP
/
EExamples
/
Table.vxr
< prev
next >
Wrap
Text File
|
1996-04-14
|
1KB
|
68 lines
#VRML V1.0 ascii
#This file defines a round table
Separator {
# Options: ON OFF AUTO
renderCulling AUTO
OUTPUT_TO Table.wrl
DEF BackgroundColor Info {
string ".8 .8 .8"
}
Material {
diffuseColor .8 0 0
}
PARAMETERS {
fields [SFFloat topDiameter, SFFloat tableHeight, SFFloat baseHeight,
SFFloat pedistalRadius, SFFloat pedistalHeight, SFFloat topHeight]
topDiameter 48'in
tableHeight 28'in
baseHeight 2'in
pedistalRadius 2'in
pedistalHeight tableHeight-topHeight-baseHeight
topHeight 1.5'in
DEF roundTable Separator {
Separator {
Translation {
translation 0 (baseHeight)/2 0
}
DEF tableBase Cylinder {
parts ALL
radius topDiameter*.25
height baseHeight
}
}
Separator {
Translation {
translation 0 baseHeight+(pedistalHeight/2) 0
}
DEF tablePedistal Cylinder {
parts ALL
radius pedistalRadius
height pedistalHeight
}
}
Separator {
Translation {
translation 0 baseHeight+pedistalHeight+(topHeight/2) 0
}
DEF tableTop Cylinder {
parts ALL
radius topDiameter/2
height topHeight
}
}
}
}
}