//***************************************************************************************************************************** // scene environment //***************************************************************************************************************************** #local pov=<1/3,2/3,-1>; #local dist=0.1; #local poi=<0,0,-0.75>; #local pov=vnormalize(pov)*dist+poi; #local rot=0;//25*-z; camera { location pov sky vrotate(y*1,rot) right vrotate(x*4/3,rot) look_at poi normal { bump_map { png "logomask.png" interpolate 2 } 1 translate -0.5 } } global_settings { max_trace_level 20 } #local tp3 = function { pigment { quilted scale 0.5 //sine_wave colour_map { [0 rgb 0] [1 rgb 1] } } } #local tc1 = texture { pigment { rgb 1 } finish { ambient 0 diffuse 0.2 reflection 0.9 } } #declare base=function {"Sphere",<1>} #macro iso1() isosurface { function { base(x,y,z)+tp3(x,y,z) } max_gradient 5 eval accuracy 0.001 sign -1 hollow bounded_by{sphere{0,1}} texture { tc1 } } #end light_source { vaxis_rotate(y*0.1,pov-poi,0) rgb <1,0,0> } light_source { vaxis_rotate(y*0.1,pov-poi,120) rgb <0,1,0> } light_source { vaxis_rotate(y*0.1,pov-poi,240) rgb <0,0,1> } iso1()