#include "functions.inc" #declare C_LOC = <-2, 1.75, 0.0>; // perspective (default) camera camera { location C_LOC look_at <0.0, 0.75, 0.0> } light_source { C_LOC, 1 } #declare T_White = texture { pigment { color rgb 1.0 } finish { diffuse 1.0 ambient 0.0 } } #declare O_Stem = difference { box { 0.4, -0.5 } torus { 0.8, 0.7 } translate <0, 0.5, 0> } merge { object { O_Stem scale <1.2, 1.5, 1.2> } #local i = 0; #while (i < 7) sphere { 0, 0.07 translate <0.17, 1.55*0.9, 0> rotate y*360/7*i } #local i = i + 1; #end texture { T_White } }