Skip to content
Snippets Groups Projects
Commit 686e638a authored by Rene Halver's avatar Rene Halver
Browse files

basic povray file to visualize Voronoi cells

parent eee793ab
No related branches found
No related tags found
1 merge request!3Voronoi
#version 3.7;
#include "rad_def.inc"
#include "textures.inc"
#include "colors.inc"
#include "glass.inc"
#include "stones.inc"
// Right-handed coordinate system in which the z-axis points upwards
camera {
location <120,700,120>
// Aneurysm
location <120,1200,120>
look_at <45,0,45>
// Wye
location <100,240,225>
look_at <25,20,45>
sky z
right -0.24*x*image_width/image_height
up 0.24*z
look_at <45,0,45>
}
global_settings
......@@ -18,6 +26,13 @@ global_settings
{
Rad_Settings(Radiosity_Normal,off,off)
}
photons
{
count 20000
media 200
autostop 0
jitter .4
}
}
// White background
......@@ -28,71 +43,76 @@ background{rgb 0.6}
//light_source{<350,-12,120> color rgb <0.38,0.40,0.40>}
light_source{<1000,1000,1000> color rgb <1.0,1.0,1.0>}
sphere
{
<1000, 1000, 1000> 10
texture
{
Glass
}
interior
{
ior 1.3
}
photons
{
target
reflection on
refraction on
}
}
// Radius of the Voronoi cell network
#declare r=0.80;
#declare r=0.50;
// Radius of the particles
#declare s=1.50;
#declare s=1.00;
plane
{
<0, 0, 1>, 0
texture
{
pigment
{
color rgb <1., 1., 1.>
Gray
}
finish
{
reflection 0.02
//specular 0.2
//ambient 0.4
phong 0.1
}
}
}
// Particles
union{
#include "voronoi/generator_points_0000000.pov"
texture{
pigment
#include "voronoi/generator_points_0000001.pov"
texture
{
rgb <1.0, 0.0, 0.0>
//rgb <0.678,0.741,0.890>
filter 0.6
Ruby_Glass
}
finish
interior
{
//reflection 0.05
//specular 0.3
ambient 0.42
ior 1.3
}
}
interior
photons
{
ior 1.7
target
reflection on
refraction on
}
}
// Voronoi cells
union{
#include "voronoi/voronoi_cells_0000000.pov"
#include "voronoi/voronoi_cells_0000001.pov"
texture
{
pigment
{
rgb <0.0078,0.2392,0.4196>
filter 0.6
T_Stone13
}
finish
{
//reflection 0.05
//specular 0.3
ambient 0.42
}
}
interior
photons
{
ior 1.7
target
reflection on
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment