#include "colors.inc"
#include "rand.inc"

background {rgb <0.95,0.95,0.9>}

global_settings { ambient_light rgb <0.0, 0.0, 0.0> }

light_source {
	vaxis_rotate(vaxis_rotate(<0, 0, 1>, x, -45), y, 90-45) * 10000, color White * 1000
	parallel
	point_at <0, 0, 0>
}

#declare LENGTH = 2050;
#declare WIDTH = 2050;

camera { orthographic location <WIDTH/2-1, 1000, LENGTH/2-1>
         right <-WIDTH, 0, 0> up <0, 0, -LENGTH>
         look_at <WIDTH/2-1, 0, LENGTH/2-1> }

#declare rangle = seed(0);

#include "sassafras_7.inc"
#macro sassafras_7()
union { 
	object {
		sassafras_7_stems
	}
	object {
		sassafras_7_leaves
	}
	scale 3.2808399*0.66
	rotate rand(rangle)*360*y
}
#end

#if (0)
#include "sassafras_42.inc"
#declare sassafras_42 = union { 
	object {
		sassafras_42_stems
	}
	object {
		sassafras_42_leaves
	}
	scale 3.2808399*0.66
	rotate rand(rangle)*360*y
}
#else
#macro sassafras_42()
	sassafras_7()
#end
#end

#include "jtamarack_7.inc"
#macro jtamarack_7()
union { 
	object {
		jtamarack_7_stems
	}
	object {
		jtamarack_7_leaves
	}
	scale 3.2808399*0.66
	rotate rand(rangle)*360*y
}
#end

#if (0)
#include "jtamarack_42.inc"
#declare jtamarack_42 = union { 
	object {
		jtamarack_42_stems
	}
	object {
		jtamarack_42_leaves
	}
	scale 3.2808399*0.66
	rotate rand(rangle)*360*y
}
#else
#macro jtamarack_42()
	jtamarack_7()
#end
#end

#include "ca_black_oak_7.inc"
#macro ca_black_oak_7()
union { 
	object {
		ca_black_oak_7_stems
	}
	object {
		ca_black_oak_7_leaves
	}
	scale 3.2808399*0.66
	rotate rand(rangle)*360*y
}
#end

#include "weeping_willow_7.inc"
#macro weeping_willow_7()
union { 
	object {
		weeping_willow_7_stems
	}
	object {
		weeping_willow_7_leaves
	}
	scale 3.2808399*0.66
	rotate rand(rangle)*360*y
}
#end

#macro forestedge1()
	sassafras_42()
#end

#macro person()
cylinder {
	<0.0, 0.0, 0.0>, <0.0, 5.0, 0.0>, 0.75
}
#end

#macro hidden()
cylinder {
	<0.0, 0.0, 0.0>, <0.0, 5.0, 0.0>, 0.75
	no_shadow
}
#end

#macro _30sec_30()
	hidden()
#end

#macro _30sec_turn()
	hidden()
#end

#macro _30sec_5()
	hidden()
#end

#macro _30sec_run()
	hidden()
#end

#macro _30sec_done()
	hidden()
#end

#macro roost()
	hidden()
#end

#macro finish_green()
	person()
#end

#macro finish_crossed()
	person()
#end

#macro finish_white()
	person()
#end

#macro checkerwave()
	person()
#end

#macro flagger_resting()
	person()
#end

#macro flagger_waving()
	person()
#end

#macro guy01()
	person()
#end

#macro guy02()
	person()
#end

#macro guy03()
	person()
#end

#macro guy04()
	person()
#end

#macro guy05()
	person()
#end

#macro guy06()
	person()
#end

#macro girl01()
	person()
#end


#include "track.pov"

object {
	statues
	texture {
		pigment { color rgb <0.0, 0.0, 1.0> }
		finish { diffuse 1.0 }
	}
	no_image
}
object {
	billboards
	texture {
		pigment { color rgb <0.0, 0.0, 1.0> }
		finish { diffuse 1.0 }
	}
	no_image
}
object {
	ground
	texture {
		pigment { color rgb <1.0, 1.0, 1.0> }
		finish { diffuse 1.0 }
	}
}
