Bugfix in search_for_outside_edge routine.
[voro++.git] / trunk / examples / custom / pack_six_cube_poly.pov
blob40c3b67391c6bccd25e9fe6699903879d17d9271
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> 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 polydisperse particle packing
23 union{
24 #include "pack_six_cube_poly_p.pov"
25 pigment{rgb <0.92,0.65,1>} finish{reflection 0.17 specular 0.3 ambient 0.42}
28 // The Voronoi cells for the packing, computed using the radical Voronoi
29 // tessellation
30 union{
31 #include "pack_six_cube_poly_v.pov"
32 pigment{rgb <0.7,0.95,1>} finish{specular 0.5 ambient 0.42}