#version 3.1; #include "colors.inc" #include "metals.inc" global_settings { assumed_gamma 1.0 max_trace_level 25 ambient_light 0 } // ---------------------------------------- /* light_source { <200, 400, -250> color rgb .5 } */ light_source { 0*x // light's position (translated below) color rgb 1.75 // light's color // nLightsWide mLightsHigh area_light <0, 20, 0> <0, 0, 20> // lights spread out across this distance (x * z) 40, 40 // total number of lights in grid (4x*4z = 16 lights) adaptive 1 // 0,1,2,3... //jitter // adds random softening of light rotate x*22.5 rotate -y*45 translate <500, 100, -300> // position of light } #declare N = 50; #include "world10.inc" #declare tWhiteBox = texture{ pigment { colour rgb 1 } finish { ambient 0.7 } } #declare tBlackBox = texture{ pigment { colour rgb 0 } finish { ambient 0.2 } } noise(0.000) change_lin(<0/2, 0, 20/20>, +1) change_lin(<2/2, 0, 20/20>, +1) change_lin(<1/2, 0, 20/20>, -1) change_log(<1/2, 0, 5/5>, +0.05 ) //change_log(<1/1, 0, 0/1>, +0.25 ) finalize() #declare toScale = <400,400,200>; camera { location <1/2, 0.2, -.6>*toScale direction 1.0*z right 4/3*x look_at <1/2, 0.4, 001>*toScale }/* camera { location <200,500,100> direction 1.0*z right 4/3*x look_at <200,0,100> } */ // torus {MAJOR, MINOR} torus { 0.06, 0.015 scale 600 rotate x*90 rotate y*-40 translate (0.08*y + point(<1/2,0,8/28>))*toScale pigment { hexagon colour rgb 0 colour rgb 1 colour rgbt 1 scale 10 } } object { OutBoxes(tBlackBox,tWhiteBox) scale toScale } ///////////////////////////////// sky_sphere { pigment { gradient y color_map { [0 color rgb <.65,.7,.8>] [1 color rgb <0.2, 0.2, 1>] } } pigment { wrinkles turbulence .5 octaves 6 lambda 5 //3 to 6 omega 0.3 //0.2 to 0.6 color_map { [0 color rgbt <1, 1, 1, 1>] [0.5 color rgbt <0.98, 0.99, 0.99, .8>] [1 color rgbt <1, 1, 1, 1>] } scale <.8, .1, .8> } } //cloud layer 1 plane { y, 900 texture { pigment { bozo turbulence .4 omega .7 color_map { [0 color rgbt <.4,.4,.4,1>] [.5 color rgbt <.4,.4,.4,.6>] [1 color rgbt <.4,.4,.4,.2>] } } finish { ambient .5 diffuse .5 } scale 2000 translate <-500,900,-10000> } hollow } //cloud layer 2 plane { -y,-1200 texture { pigment { bozo turbulence .4 omega .7 color_map { [0 color rgbt <.8,.8,.8,1>] [.5 color rgbt <.8,.8,.8,.6>] [1 color rgbt <.9,.9,.9,.2>] } } finish { ambient .5 diffuse .3 } scale 2000 translate <1500,900,-2000> } hollow }