Bugfix in search_for_outside_edge routine.
[voro++.git] / trunk / examples / custom / custom_output.pov
blobdac853cc5f7e9357c1529f097a2ff6d40bd75fd3
1 #version 3.6;
2 #include "colors.inc"
3 #include "metals.inc"
4 #include "textures.inc"
6 // Increase tracing level for more accurate reflections
7 global_settings {
8 max_trace_level 64
11 // Right-handed coordinate system where the z-axis points upwards
12 camera {
13 location <30,-50,25>
14 sky z
15 right -0.15*x*image_width/image_height
16 up 0.15*z
17 look_at <0,0,2.8>
20 // White background
21 background{rgb 1}
23 // Two lights with slightly different colors
24 light_source{<-8,-20,30> color rgb <0.77,0.75,0.75>}
25 light_source{<25,-12,12> color rgb <0.43,0.45,0.45>}
27 // The radius of the cylinders to be used when drawing the Voronoi cells
28 #declare r=0.06;
30 // The radius of the particles
31 #declare s=0.5;
33 // Different colors for the particles
34 #declare f1=finish{reflection 0.17 specular 0.3 ambient 0.42}
35 #declare t8=texture{pigment{rgb <0.6,0.6,0.6>} finish{f1}}
36 #declare t9=texture{pigment{rgb <0.7,0.3,1>} finish{f1}}
37 #declare t10=texture{pigment{rgb <0.3,0.7,1>} finish{f1}}
38 #declare t11=texture{pigment{rgb <0.2,0.9,0.9>} finish{f1}}
39 #declare t12=texture{pigment{rgb <0.3,1,0.7>} finish{f1}}
40 #declare t13=texture{pigment{rgb <0.7,1,0.3>} finish{f1}}
41 #declare t14=texture{pigment{rgb <0.9,0.9,0.2>} finish{f1}}
42 #declare t15=texture{pigment{rgb <1,0.7,0.3>} finish{f1}}
43 #declare t16=texture{pigment{rgb <1,0.3,0.7>} finish{f1}}
44 #declare t17=texture{pigment{rgb <0.9,0.2,0.9>} finish{f1}}
45 #declare t18=texture{pigment{rgb <1,1,1>} finish{f1}}
47 // The particle packing
48 union{
49 #include "custom_output_p.pov"
52 // The computed Voronoi cells
53 union{
54 #include "pack_six_cube_v.pov"
55 texture{T_Silver_4B}