Metropoli BBS
VIEWER: spiralstairs.vxr MODE: TEXT (ASCII)
#VRML V1.0 ascii

Separator {
	# Options: ON OFF AUTO
	renderCulling AUTO
	
	OUTPUT_TO SpiralStairs.wrl
	
	DEF BackgroundColor Info {
		string  ".6 .3 .3"
	}

	Material {
		diffuseColor =Color("black")
	}
	
	Separator {
		# Options: ON OFF AUTO
		renderCulling AUTO

		Translation {
			translation 0 -floor:height/2 0
		}
		
		DEF floor Cube {
			width 5
			height .2
			depth 5
		}
	}

	Material {
		diffuseColor =Color("black")
	}

	Separator {
		# Options: ON OFF AUTO
		renderCulling AUTO
		
		Translation {
			translation 0 pole:height/2 0
		}
		
		DEF pole Cylinder {
			parts ALL
			radius 4'in
			height 12'ft
		}
	}
	
	Material {
		diffuseColor =Color("yellow")
	}

	Separator {
		# Options: ON OFF AUTO
		renderCulling AUTO
		
		Translation {
			translation step:width/2 step:height/2 0
		}
	
		DEF step Cube {
			width 3'ft
			height 3'in
			depth 12'in
		}
	}
	
	LOOP {
		fields [ SFLong start, SFLong end, SFLong step, SFLong position ]
		start 1
		end 16
		step 1
		
		
		Separator {
			# Options: ON OFF AUTO
			renderCulling AUTO
			
			Transform {
				translation step:width/2 step:height/2+position*8'in 0
				rotation 0 1 0 position*30'deg
				center -step:width/2 0 0
			}
			
			USE step
		}
	}
}
[ RETURN TO DIRECTORY ]