//patterns #include "colors.inc" #include "textures.inc" // An area light (creates soft shadows) // WARNING: This special light can significantly slow down rendering times! light_source { 0*x // light's position (translated below) color rgb 1.0 // light's color // nLightsWide mLightsHigh area_light <8, 0, 0> <0, 0, 8> // lights spread out across this distance (x * z) 4, 4 // total number of lights in grid (4x*4z = 16 lights) adaptive 0 // 0,1,2,3... jitter // adds random softening of light translate <-40, 80, -40> // position of light } camera { location <0.0 , 2.0 ,-5.0> look_at <0.0 , 1.0 , 0.0> } plane { y, 0 pigment { quilted color_map { [0 color Green ] [.6 color Blue ] [.8 color Orange ] [1 color Yellow ] } // end color map scale 1 } // end pigment } // end plane cylinder { x * 5 , x * -5 , .01 pigment { color rgb <1, 1, 1> } } // end cylinder cylinder { y * 5 , y * -5 , .01 pigment { color rgb <1, 1, 1> } } // end cylinder cylinder { z * 5 , z * -5 , .01 pigment { color rgb <1, 1, 1> } } // end cylinder // Create an infinite sphere around scene and allow any texture on it sky_sphere { pigment { bozo color_map { [0.0 color rgb <0.7,0.7,1.0>] [1.0 color blue 0.5] } turbulence 2 } } // create a box that extends between the 2 specified points box { <-1, -1, -1> // one corner position < 1, 1, 1> // other corner position texture { pigment { color rgbf < .8, .8, 1, .0> } // end pigment //normal { // brick // scale .05 //} finish { reflection 1 } } // end texture //rotate y * 45 rotate z * 45 rotate x * 45 translate <0, 2, 0> }