#mass spring system


#camera
obj_start
obj_type    camera
pos         0 4 -4
rotation    0 0 0
look        0 0 0
up_vector   0 1 0
width       401
height      401
units       5
sub_var		10
sub_dis		16
sub_level	1
max_recurs	1
parse set_object 0 shader gradiant
sim_type		balls
obj_end

obj_start
obj_type    rectangle
pos         5 0 0
trans       0
normal      -1 0 0 
up_vector   0 1 0
radius      5
ambient     250 050 050 
diffuse     250 050 050 
specular    200 200 200
obj_end

obj_start
obj_type    rectangle
pos         -5 0 0
trans       0
normal      1 0 0 
up_vector   0 1 0
radius      5
ambient     050 250 050 
diffuse     050 250 050 
specular    200 200 200
trans 0
obj_end

obj_start
obj_type    rectangle
pos         0 0 5
trans       0
normal      0 0 -1
up_vector   0 1 0
radius      5
ambient     050 050 250 
diffuse     050 050 250 
specular    200 200 200
trans 0
obj_end

obj_start
obj_type    rectangle
pos         0 0 -5
trans       0
normal      0 0 1
up_vector   0 1 0
radius      5
ambient     250 250 050 
diffuse     250 250 050 
specular    200 200 200
obj_end

obj_start
obj_type    rectangle
pos         0 5 0
trans       0
normal      0 -1 0 
up_vector   1 0 0
radius      5
ambient     050 250 250 
diffuse     050 250 250 
specular    200 200 200
trans 0
obj_end

obj_start
obj_type    rectangle
pos         0 -5 0
trans       0
normal      0 1 0
up_vector   1 0 0
radius      5
ambient     250 050 250 
diffuse     250 050 250 
specular    200 200 200
trans 0
obj_end

#light white above
obj_start
obj_type    light
pos         2 4 2
ambient     100 100 100
diffuse     300 300 300
specular    200 200 200
spec_alpha  1
obj_end



