//--------------------------------------------- // Created with Truevision, version 0.5.4 // f_rounded_box 0.1 + f_ridged_mf(x, y, z, 1, 0.5,0.5, 1.2, 1, 2)/5 + granite //--------------------------------------------- background {rgb 0.5} // Global settings global_settings { adc_bailout 0.003900 ambient_light rgb<0.003922,0.003922,0.003922> noise_generator 2 assumed_gamma 1.000000 irid_wavelength rgb<0.250000,0.180000,0.140000> max_trace_level 4 max_intersections 64 number_of_waves 10 radiosity { brightness 1.000000 count 35 error_bound 0.680000 gray_threshold 0.000000 low_error_factor 0.970000 minimum_reuse 0.015000 nearest_count 10 recursion_limit 3 adc_bailout 0.010000 always_sample 1 max_sample 2.000000 media 0 normal 0 pretrace_start 0.080000 pretrace_end 0.040000 } photons { count 200000 jitter 1 max_trace_level 5 adc_bailout 0.003900 autostop 1.000000 expand_thresholds 0.200000,40 radius ,1.000000,,1.000000 } } //--------------------------------------------- // Textures //--------------------------------------------- #declare mat_Material_1 = material { texture { pigment { rgbft<1.000000,0.822766,0.155642,0.000000,0.000000> } finish { ambient rgb<0.100000,0.100000,0.100000> diffuse 0.600000 brilliance 1.000000 phong 0.800000 phong_size 40 specular 0.100000 roughness 0.050000 metallic 0.100000 reflection { rgb<0.000000,0.000000,0.000000>, rgb<0.000000,0.000000,0.000000> exponent 1.000000 falloff 0.000000 metallic 0.000000 } } } } //------------------------------------------------------------------------------------------- #declare mat_Material_2 = material { texture {checker texture { pigment { rgbft<0.000000,0.000000,0.000000,0.000000,0.000000> } finish { ambient rgb<0.100000,0.100000,0.100000> diffuse 0.800000 brilliance 1.000000 phong 0.500000 phong_size 40 specular 1.000000 roughness 0.050000 metallic 0.100000 reflection { rgb<0.2000000,0.2000000,0.2000000>, rgb<1.000000,1.000000,1.000000> exponent 1.000000 falloff 0.000000 metallic 0.000000 fresnel } conserve_energy } } , texture { pigment { rgbft<1.000000,1.000000,1.000000,0.000000,0.000000> } finish { ambient rgb<1.000000,1.000000,1.000000> diffuse 0.600000 brilliance 1.000000 phong 0.500000 phong_size 40 specular 0.300000 roughness 0.050000 metallic 0.100000 reflection { rgb<0.2000000,0.2000000,0.2000000>, rgb<1.000000,1.000000,1.000000> exponent 1.000000 falloff 0.000000 metallic 0.100000 fresnel } conserve_energy } } } translate <0.000000,0.000000,0.000000> scale <0.500000,0.500000,0.500000> rotate <0.000000,0.000000,0.000000>} //--------------------------------------------- // Objects declarations //--------------------------------------------- // Point light : #declare obj_Point_light = light_source { <-5.700001,15.00000,10.000000> color rgb<1.000000,1.000000,1.000000> photons { refraction on reflection on } } // Stone : #declare fn_Pigm=function { pigment { granite turbulence 0.15 color_map { [0 color rgb 0] [1 color rgb 1] } } } #include "functions.inc" #declare obj_Rounded_Box = isosurface { function { f_rounded_box (x, y, z, 0.1, 0.2, 1.2, 0.7 ) -f_ridged_mf(x, y, z, 1, 0.5,0.5, 1.2, 1, 2)/5 -fn_Pigm(x, y, z).gray*0.05} contained_by { box { -2, 2 } } } // Disc : #declare obj_Disc = disc { <0.0, 0.0, 0.0><0.0, 0.0, 1.0>0.500000, 0.000000 photons { target 1.000000 refraction on reflection on collect off } material { mat_Material_2 scale 0.5} scale <1.000000, 1.000000, 1.000000> rotate x*-0.000000 rotate y*0.000000 rotate x*90.000000 translate <0.000000,0.000000,-0.000000> } //--------------------------------------------- // Scene description //--------------------------------------------- //---------------------- // Layer Layer #1 //---------------------- // Camera : Camera camera { perspective location <0.000000,0.800000,2.000000> angle 40.000000 up <0,1,0> right <1.330000,0,0> sky < 0.000000, 0.911922, -0.410365 > look_at <0.000000,0.200000,-0.000000> } object {obj_Disc } obj_Point_light object {obj_Rounded_Box material { mat_Material_1 } scale <0.200000,0.200000,0.200000> rotate z*-0.000000 rotate y*60 rotate x*0.000000 translate <0.000000,0.30000,-0.000000>}