Strip extra spaces from code.
[voro++.git] / branches / 2d / examples / basic / doe_diagram.pov
blob6d8c2fc8230145bbaec537fa1aaeb94b0fcd89ca
1 #version 3.6;
3 // Right-handed coordinate system in which the z-axis points upwards
4 camera {
5 orthographic
6 location <8,11,-50>
7 right 25*x*image_width/image_height
8 up 25*y
9 look_at <8,11,0>
12 // White background
13 background{rgb 1}
15 // Two lights with slightly different colors
16 light_source{<-8,30,-20> color rgb <0.79,0.75,0.75>}
17 light_source{<25,12,-12> color rgb <0.36,0.40,0.40>}
19 // Radius of the Voronoi cell network
20 #declare r=0.2;
22 // Radius of the particles
23 #declare s=2.8;
25 union {
26 sphere{<0,0,0>,1.4}
27 pigment{rgbft <0.9,0.82,0.4>} finish{reflection 0.1 specular 0.3 ambient 0.42}
31 // Particles
32 /*#declare s=2.8;
33 union{
34 #include "doe_diagram_p.pov"
35 pigment{rgbft <0.9,0.82,0.4,0,0.5>} finish{reflection 0.1 specular 0.3 ambient 0.42}
39 #declare s=1.4;
40 union{
41 #include "doe_diagram_p.pov"
42 pigment{rgbft <0.4,0.6,0.3>} finish{reflection 0.1 specular 0.3 ambient 0.42}
43 }*/
45 // Voronoi cells
46 /*intersection{
47 union{
48 #include "doe_diagram_v.pov"
50 box{<-2,-1,-4>,<18,23,4>}
51 pigment{rgb <0.8,0.59,0.9>} finish{specular 0.5 ambient 0.42}
52 }*/