Bugfix in search_for_outside_edge routine.
[voro++.git] / trunk / examples / custom / pack_six_cube.pov
blob84364abce4d4ca2fbfa037fe8cc11a985667e95c
1 #version 3.6;
3 // Right-handed coordinate system where the z-axis points upwards
4 camera {
5 location <30,-50,25>
6 sky z
7 right -0.15*x*image_width/image_height
8 up 0.15*z
9 look_at <0,0,2.8>
12 // White background
13 background{rgb 1}
15 // Two lights with slightly different colors
16 light_source{<-8,-20,30> color rgb <0.77,0.75,0.75>}
17 light_source{<25,-12,12> color rgb <0.43,0.45,0.45>}
19 // The radius of the cylinders to be used when drawing the Voronoi cells
20 #declare r=0.08;
22 // The radius of the particles
23 #declare s=0.5;
25 // The particle packing
26 union{
27 #include "pack_six_cube_p.pov"
28 pigment{rgb <0.92,0.65,1>} finish{reflection 0.17 specular 0.3 ambient 0.42}
31 // The computed Voronoi cells
32 union{
33 #include "pack_six_cube_v.pov"
34 pigment{rgb <0.7,0.95,1>} finish{specular 0.5 ambient 0.42}