//#version 3.7; //global_settings { assumed_gamma 1.0 } // //#ifndef (Fast) // #declare Fast = no; //#end // //#ifndef (camerapos) // #declare camerapos = <5, 9, -10>*3 //#end // //#ifndef (lookatpos) // #declare lookatpos = <0,0,0> //#end camera { location camerapos look_at lookatpos angle 35 } light_source { <20, 30, -10>, 1 fade_distance 30 fade_power 2 #if(!Fast) area_light x*4, y*4, 16, 16 jitter adaptive 1 circular orient #end } light_source { <-20, 20, -15>, .5 fade_distance 30 fade_power 2 #if(!Fast) area_light x*4, y*4, 16, 16 jitter adaptive 1 circular orient #end } plane { y, -5.25 #if(Fast) pigment { rgb <1, .9, .7> } #else texture { average texture_map { #declare S = seed(0); #local ReflColor = .8*<1, .9, .7> + .2*<1,1,1>; #declare Ind = 0; #while(Ind < 20) [1 pigment { rgb <1, .9, .7> } normal { bumps .1 translate *100 scale .001 } finish { reflection { ReflColor*.1, ReflColor*.5 } } ] #declare Ind = Ind+1; #end } } #end } /* =================== splines ============================ */ #declare smooth_unit = spline { cubic_spline -1, 1*x 0, 0*x 1, 1*x 2, 0*x } #include "rm_rubiksmagic.inc" #declare RM_Decoration = RM_DecMatchbox;