[net.sources] basic ray tracing: part 7

fritzz@net1.UCSD.EDU (Friedrich Knauss) (07/26/86)

/* sample ball data file
this is what the values mean for each ball:
xcoordinate of center
       y coordinate
	      z coordinate
		     0.0  0.0
			       radius
				     index of refraction
					  amount of refraction
					       amount of reflection
						    amount of diffuse light
							 ambient
*/
60.0,  30.0,  250.0, 0.0, 0.0, 30.0, 0.0, 0.0, 0.0, 0.9, 0.1,
195.0, 150.0, 250.0, 0.0, 0.0, 30.0, 0.0, 0.0, 0.3, 0.6, 0.1,
150.0, 110.0, 250.0, 0.0, 0.0, 30.0, 0.0, 0.0, 0.6, 0.3, 0.1,
105.0, 70.0,  250.0, 0.0, 0.0, 30.0, 0.0, 0.0, 0.9, 0.0, 0.1,

210.0, 70.0,  100.0, 0.0, 0.0, 40.0, 1.6, 0.65, 0.25, 0.0, 0.1

/* notice there is no "," at the end of the last row
  the fourth and fifth columns don't matter
  the sum of the last four numbers should always be less than or equal
  to 1 */