#version 3.7; global_settings{ max_trace_level 3 assumed_gamma 1.0 adc_bailout 0.007 mm_per_unit 1000 //important for subsurface radiosity{ pretrace_start 64/image_width pretrace_end 4/image_width count 60 nearest_count 6 error_bound 0.64 recursion_limit 8 low_error_factor 0.5 gray_threshold 0.0 brightness 1 } subsurface{ samples 8, 8 radiosity off } } default{ texture{ pigment {rgb<0.2,0.2,0.2>} finish{ambient 0 diffuse 0} } } //---------------------background------------------------ background{rgb <0,0,0>} //-------------------settings-------------------------------- //--------------------light source----------------------------- light_source { <-1, -2.5, 4>*100 color rgb <1.0, 0.86, 0.66>*0.85 parallel point_at <0.0, 0.0, 0.0> rotate <0,0,16> } sky_sphere{ pigment {rgb <0.35,0.55,1>*0.6} } //------------------------------------------ //My render is z toward sky, xy horizon camera{ location <10, -5, 16> look_at <0, 0, 10> right <-4/3,0,0> sky <0,0,1> angle 24 } //---------------------------------------- //----------------ground------------------------ #declare t_soil1= texture{ pigment{rgb<0.2,0.164,0.1>*0.8} finish{ambient 0 diffuse 1} } plane{ <0,0,1>,0 texture{t_soil1} } //--------------------cloud---------------------- #include "functions.inc" #declare f_test = function(x,y,z) { //sqrt(x*x + y*y) - 0.4 +0.36*sum(i, 0, 4, pow(abs(f_noise3d(x*pow(2, i)/0.2, y*pow(2, i)/0.2, z*pow(2, i)/0.2)), 2.5)/pow(2.0, i) ) } isosurface { function {0.5 - f_test(x,y,z)*3*3*z*exp(-3*z) - 0.36*3*3*z*exp(-3*z)} contained_by { box { <-0.5, -0.5, 0.0>, <0.5, 0.5, 1.0> } } threshold 0.0 accuracy 0.001 max_gradient 2 //all_intersections //open material{ texture{ pigment{ rgb<1,1,1> } finish{ diffuse 1.0 subsurface{translucency rgb<1,1,1>*6} } } } scale <1.6, 1.6, 1.0> translate<0,0,10> }