#VRML V1.0 ascii
Separator {
# Options: ON OFF AUTO
renderCulling AUTO
OUTPUT_TO Switch.wrl
DEF BackgroundColor Info {
string ".1 .5 .2"
}
LOOP {
fields [SFLong start, SFLong end, SFLong position, SFLong step]
start -3
end 4
SELECT {
fields [ SFLong whichChild ]
whichChild abs(position%2)
Separator {
Translation {
translation 0 position 0
}
Cube {
width .5
height .5
depth .5
}
}
Separator {
Translation {
translation 0 position 0
}
Sphere {
radius .5
}
}
}
}
}