camera { location <15.0 , 15.0 ,-10.0> look_at <5.0 , 5.0 , 5.0> } #declare x_count = 0; #declare y_count = 0; #declare z_count = 0; #declare x_amount = 10; #declare y_amount = 10; #declare z_amount = 10; #declare cubelength = 9/10; #while (z_count < z_amount) #while (y_count < y_amount) #while (x_count < x_amount) box { <0,0,0>,<1,1,1> hollow texture { pigment { color rgbt 1 } } interior { media { emission *.75 } } scale cubelength translate } #declare x_count = x_count + 1; #end #declare x_count = 0; #declare y_count = y_count + 1; #end #declare x_count = 0; #declare y_count = 0; #declare z_count = z_count + 1; #end