#include "colors.inc" #include "textures.inc" #include "shapes.inc" #default{ finish{ ambient 0.2 diffuse 0.8 }} #declare DemoWood=texture { pigment { wood color_map { [0.0, 1.001 color rgb <0.90, 0.80, 0.30> color rgb <0.50, 0.30, 0.15>] } ramp_wave } scale <0.1, 0.1, 0.5> } camera { location <2, 8.0, -22.0> look_at <0.0, 7, 0.0> } //light_source { <-5, 20, -40> color <1,1,1>} light_source{<0,0,0> // position color rgb<1,1,1> // light's color area_light // kind of light source <12, 0, 0> <0, 0, 12> // lights spread out across this distance (x * z) 4, 4 // total number of lights in grid (4x*4z = 16 lights) <---Attention!!! adaptive 0 // 0,1,2,3... jitter // adds random softening of light translate<-5, 20, -40> // position of light }//---------------- end of area_light //Mur plane{<0,0,-1>,-5 pigment{color White} normal{bozo 3.00 scale 0.05}} //Sol plane{<0,1,0>,0 pigment{color White*0.8} normal{agate 1.0 agate_turb 2.0 scale 0.25}} //DoubleCone lathe { linear_spline //type de spline 3, // 3 points <0, 0>, <0.5, 0.5>, <0, 1> texture {Rosewood rotate <0,0,90> scale 0.2} scale <5.5,5.5,5.5> rotate <0,0,45> rotate <0,35,0> translate <0,0,-8> } //Isoperimetric lathe{cubic_spline 6, <0,-1> <0,-1> <0.7,-0.2> <0.7,0.2> <0,1> <0,1> texture{Silver1} scale <4,4,4> rotate <0,0,-55> rotate <0,-60,0> translate <-8,2.5,-3>} //IntersectionBody lathe{cubic_spline 8, <0,-1> <0,-1> <1,-1> <1.3,-0.6> <1.3,0.6> <1,1> <0,1> <0,1> texture{Copper_Metal} scale <2,2,2> translate <7,3,-4> } //Plinte object{ Round_Box(<0,0,0>,<1,3,50>, 0.2, 0) texture { DemoWood translate <-2,1.5,0> rotate <0,0,15> rotate <0, 0.5, 0>} rotate<0,90,0> translate<-25,-0.5,4.5>}