Minkowski test code.
[voro++.git] / trunk / examples / no_release / cylinder_inv.pov
bloba9c33b5e81f827cb5cdbecd3e6ac57aa10bbfb1d
1 #version 3.6;
3 #include "colors.inc"
4 #include "metals.inc"
5 #include "textures.inc"
7 // Right-handed coordinate system in which the z axis points upwards
8 camera {
9 location <20,-50,20>
10 sky z
11 right -0.34*x*image_width/image_height
12 up 0.34*z
13 look_at <0,0,0>
16 // White background
17 background{rgb 1}
19 // Two lights with slightly different colors
20 light_source{<-8,-20,30> color rgb <0.77,0.75,0.75>}
21 light_source{<20,-15,5> color rgb <0.38,0.40,0.40>}
23 // Radius of the Voronoi cell network, and the particle radius
24 #declare r=0.06;
25 #declare s=0.48;
27 // Particles
28 union{
29 #include "cylinder_inv_p.pov"
30 pigment{rgb <0.5,0.8,0.7>} finish{reflection 0.12 specular 0.3 ambient 0.42}
33 // Voronoi cells
34 union{
35 #include "cylinder_inv_v.pov"
36 pigment{rgb <0.1,0.3,0.9>} finish{specular 0.3 ambient 0.42}