#include "colors.inc" #include "glass.inc" #include "stars.inc" #include "shapes.inc" #include "BlueMech.inc" #include "metals.inc" #declare fogOn = true; #declare radOn = true; #declare highLight = true; #declare highRad = false; camera { location <10,-30,-50> look_at <0, 0, 0> } light_source { <-500, 800, -500> color White #if(highLight = true) area_light <20,0,0>,<0,0,20>,40,40 #else area_light <20,0,0>,<0,0,20>,3,3 #end jitter adaptive 1 } background { color <0.25,0.35,0.80> } #if(radOn) // radiosity (global illumination) settings global_settings { radiosity { pretrace_start 0.08 // start pretrace at this size pretrace_end 0.02 // end pretrace at this size #if(highRad = true) count 350 // higher -> higher quality (1..1600) [35] nearest_count 6 // higher -> higher quality (1..10) [5] error_bound .8 // higher -> smoother, less accurate [1.8] #else count 35 // higher -> higher quality (1..1600) [35] nearest_count 5 // higher -> higher quality (1..10) [5] error_bound 1.8 // higher -> smoother, less accurate [1.8] #end recursion_limit 3 // how much interreflections are calculated (1..5+) [3] low_error_factor .5 // reduce error_bound during last pretrace step gray_threshold 0.0 // increase for weakening colors (0..1) [0] minimum_reuse 0.015 // reuse of old radiosity samples [0.015] brightness .5 // brightness of radiosity effects (0..1) [1] adc_bailout 0.01/2 normal on // take surface normals into account [off] //media on // take media into account [off] //save_file "file_name" // save radiosity data //load_file "file_name" // load saved radiosity data //always_sample off // turn sampling in final trace off [on] //max_sample 1.0 // maximum brightness of samples } } #end #if(fogOn = true) fog { fog_type 2 distance 150 color Yellow *.4//rgb 0.6 // gray fog_offset 0.1 fog_alt 5 turbulence 0.1 } #end // blueMech parameters are... // // mainBodySwivel, // rightshoulderrotat, rightelbowrotat, rightweapontype,rightfiring, // leftshoulderrotat, leftelbowrotat, leftweapontype, leftfiring // righthiprotat,rightkneerotat,rightanklerotat, // lefthiprotat,leftkneerotat,leftanklerotat // object { blueMech(<0,0,0>, <0,0,0>,<0,0,0>, 1,false, <0,0,0>,<0,0,0>, 2,true, <-30,0,0>,<0,0,0>,<0,0,0>, <40,0,0>,<20,0,0>,<-30,0,0> ) }