File: import.pov

package info (click to toggle)
voro%2B%2B 0.4.6%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,372 kB
  • sloc: cpp: 6,384; perl: 232; makefile: 164
file content (35 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#version 3.6;

// Right-handed coordinate system in which the z-axis points upwards
camera {
	location <30,-50,25>
	sky z
	right -0.24*x*image_width/image_height
	up 0.24*z
	look_at <0,0,4.5>
}

// White background
background{rgb 1}

// Two lights with slightly different colors
light_source{<-8,-20,30> color rgb <0.77,0.75,0.75>}
light_source{<25,-12,12> color rgb <0.38,0.40,0.40>}

// Radius of the Voronoi cell network
#declare r=0.08;

// Radius of the particles
#declare s=0.5;

// Particles
union{
#include "pack_ten_cube_p.pov"
	pigment{rgb 0.95} finish{reflection 0.1 specular 0.3 ambient 0.42}
}

// Voronoi cells
union{
#include "pack_ten_cube_v.pov"
	pigment{rgb <1,0.4,0.45>} finish{specular 0.5 ambient 0.42}
}