#include "colors.inc" #include "textures.inc" #include "shapes.inc" #include "stones.inc" #include "golds.inc" camera { right < -1.33, 0, 0 > up < 0, 1, 0 > direction < 0, 0, 1 > location < 0, 0, 15 > look_at < 0, 0, 0 > } // LIGHT _light0 light_source { < -20, 35, 34 > color White } #declare tex1=texture {pigment { rgbf <0,1,0.1,0.8>} finish {ambient 0.8}} #macro gra(rt,tr) union { cylinder { <-3.2,0,0>,<-3.22,0,0>,0.15 texture{tex1}} cylinder { <-3.4,0,0>,<-3.42,0,0>,0.15 texture{tex1}} cylinder { <-3.6,0,0>,<-3.62,0,0>,0.15 texture{tex1}} cylinder { <-3.8,0,0>,<-3.82,0,0>,0.15 texture{tex1}} rotate rt translate tr} #end #macro gra2(rt,tr) union {gra(rt,tr) gra(rt,tr+x) } #end cylinder { <0,0,0>,<0,0,0.1>,0.1 texture{tex1}} cylinder { <1,0,0>,<3,0,0>,0.1 texture{tex1}} cylinder { <-1,0,0>,<-3,0,0>,0.1 texture{tex1}} cylinder { <0,1,0>,<0,3,0>,0.1 texture{tex1}} cylinder { <0,-1,0>,<0,-3,0>,0.1 texture{tex1}} cylinder { <-1.5,1,0>,<1.5,1,0>,0.1 texture{tex1}} cylinder { <-0.5,2,0>,<0.5,2,0>,0.1 texture{tex1}} cylinder { <-0.2,3,0>,<0.2,3,0>,0.1 texture{tex1}} cylinder { <-0.2,-1,0>,<0.2,-1,0>,0.1 texture{tex1}} cylinder { <-0.2,-3,0>,<0.2,-3,0>,0.1 texture{tex1}} cylinder { <-5.2,2,0>,<-4.8,2,0>,0.1 texture{tex1}} cylinder { <-5.2,-2,0>,<-4.8,-2,0>,0.1 texture{tex1}} cylinder { <5.2,2,0>,<4.8,2,0>,0.1 texture{tex1}} cylinder { <5.2,-2,0>,<4.8,-2,0>,0.1 texture{tex1}} cylinder { <-3,0.2,0>,<-3,-0.2,0>,0.1 texture{tex1}} cylinder { <-1,0.2,0>,<-1,-0.2,0>,0.1 texture{tex1}} cylinder { <3,0.2,0>,<3,-0.2,0>,0.1 texture{tex1}} cylinder { <1,0.2,0>,<1,-0.2,0>,0.1 texture{tex1}} cylinder { <2,-5.2,0>,<2,-4.8,0>,0.1 texture{tex1}} cylinder { <-2,-5.2,0>,<-2,-4.8,0>,0.1 texture{tex1}} cylinder { <2,5.2,0>,<2,4.8,0>,0.1 texture{tex1}} cylinder { <-2,5.2,0>,<-2,4.8,0>,0.1 texture{tex1}} cylinder { <-2,-5,0>,<-5,-5,0>,0.1 texture{tex1}} cylinder { <-2,5,0>,<-5,5,0>,0.1 texture{tex1}} cylinder { <2,5,0>,<5,5,0>,0.1 texture{tex1}} cylinder { <2,-5,0>,<5,-5,0>,0.1 texture{tex1}} gra2(0,x) gra2(0,x*5) cylinder { <-5,-2,0>,<-5,-5,0>,0.1 texture{tex1}} cylinder { <-5,2,0>,<-5,5,0>,0.1 texture{tex1}} cylinder { <5,2,0>,<5,5,0>,0.1 texture{tex1}} cylinder { <5,-2,0>,<5,-5,0>,0.1 texture{tex1}}