#version 3.7;

global_settings {
   assumed_gamma 1.0
}

camera {
   location -20 * z
   look_at 0
}

light_source {
   -30 * z
   colour rgb 1
}

background {
   colour rgb 1
}

#local R = seed(0);
#for (i, -10, 10)
#for (j, -10, 10)
#local k = rand(R);
superellipsoid {
   <0.01, 0.1>
   scale 1/2
   translate <i, j, k>
#if (k < 0.1 | k > 0.9)
   pigment { rgb <0.1, 0.1, 1> }
#else
   pigment { rgb 0.01 }
#end
   finish { phong 0.1 }
}
#end
#end
Back to index