/*** chrome1.pov

    Interesting reflective sphere Povray scene, created April 2009 by Michael Uchima
*/    

#include "colors.inc"
#include "shapes.inc"
#include "metals.inc"

camera {
    location <0.5, 0.5, 0.5>
    look_at <0, 0, 0>
    angle 30
}

light_source {
    <0.5, 0.5, 0.5>
    color White
}
  
#declare S = sphere { 0, .125 }

#declare Lattice = union {
    #declare X = -10;
    #while (X <= 10)
        #declare Y = -10;
        #while (Y <= 10)
            #declare Z = -10;
            #while (Z <= 10)
                object { S translate <X, Y, Z> }
                #local Z = Z + 1;
            #end
            #local Y = Y + 1;
        #end
        #local X = X + 1;
    #end
}

object { Lattice texture { T_Chrome_5E } }
