{ vrc
    vrp ( 0 , 0 , 0 );
    prp ( 0 , 0 , -1 );
    vup ( 0 , 0 , 1 );
    vpn ( 1 , 0 , 0 );
    umax -0.9;
    umin 0.9;
    vmax -0.9;
    vmin 0.9;
	type 1;
	f 1;
	b 0;
	fon 0;
	bon 0;
}
{ param

  toll 0.01;
  mode 0;
  shade phong;
  anti_alias 0;
  anti_al_toll 0.05;
  dimx 512;
  dimy 512;
  ambientcolor (1,1,1);
  backcolor (0,0,0);
}

{ material
        name m1;
        model { phong

          Ks 0.3;
          Kt 0;
          ni 1;
          Ka 0.1;
          Kd 0.45;
          n 25;
          Od (0.714,0.9,0.63);
          Os (0.64,0.69,0.13);
        }
}


{lamp
name lamp1;
model { pointlamp
pos ( 5 , 0 , 7 );
	color (0.7,0.7,0.7);
}
}
{lamp
name lamp2;
model { pointlamp
pos ( 0 , 0 , 0 );
	color (0.95,0.95,0.95);
}
}

{lamp
name lamp3;
model { pointlamp
pos ( 5 , 3 , 0 );
	color (0.95,0.95,0.95);
}
}

{ object
    name tcsg1;
    material m1;
    model { union
first

{object
name sph1;
material m1;
model 	{ sphere
        center ( 5 , 0.5 , 0 );
		radius 0.95;
	}
};

second

{object
name sph1;
material m1;
model 	{ sphere
        center ( 5 , -0.5 , 0 );
		radius 0.95;
	}
};

}
}

{ object
    name tcsg2;
    material m1;
    model { intersect
first

{object
name sph1;
material m1;
model 	{ sphere
        center ( 5 , -3.5 , 0 );
		radius 0.95;
	}
};

second

{object
name sph1;
material m1;
model 	{ sphere
        center ( 5 , -4.5 , 0 );
		radius 0.95;
	}
};

}
}

{ object
    name tcsg3;
    material m1;
    model { subtract
first

{object
name sph1;
material m1;
model 	{ sphere
        center ( 5 , 4.5 , 0 );
		radius 0.95;
	}
};

second

{object
name sph1;
material m1;
model 	{ sphere
        center ( 5 , 3.5 , 0 );
		radius 0.95;
	}
};

}
}

.
