home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Windows 95.com 1996 September
/
WIN95_09962.iso
/
vrml
/
MWE105.ZIP
/
EExamples
/
Greek.vxr
< prev
next >
Wrap
Text File
|
1996-01-25
|
921b
|
45 lines
#VRML V1.0 ascii
Separator {
# Options: ON OFF AUTO
renderCulling AUTO
OUTPUT_TO Greek.wrl
DEF BackgroundColor Info {
string ".1 .1 .4"
}
# Define local parameters - used by Column.vxr
DEF parameters PARAMETERS {
fields [SFFloat columnRadius]
columnRadius .15
}
DEF xAxis LOOP {
fields [SFLong start, SFLong end, SFLong position, SFLong step]
start 0
end 5
DEF zAxis LOOP {
fields [SFLong start, SFLong end, SFLong position, SFLong step]
start 0
end 5
Separator {
Translation {
translation xAxis:position 0 zAxis:position
}
SELECT {
fields [ SFLong whichChild ]
whichChild if(xAxis:position==0&&zAxis:position==0)then(0)else(1)
INCLUDE Column.vxr # Include greekColumn definition only once
USE greekColumn # Use a reference the rest of the time
}
}
}
}
}