Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loadbalancing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SLMS
loadbalancing
Commits
686e638a
Commit
686e638a
authored
Jan 17, 2019
by
Rene Halver
Browse files
Options
Downloads
Patches
Plain Diff
basic povray file to visualize Voronoi cells
parent
eee793ab
No related branches found
No related tags found
1 merge request
!3
Voronoi
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
misc/import.pov
+62
-42
62 additions, 42 deletions
misc/import.pov
with
62 additions
and
42 deletions
misc/import.pov
+
62
−
42
View file @
686e638a
#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.
8
0;
#declare r=0.
5
0;
// Radius of the particles
#declare s=1.
5
0;
#declare s=1.
0
0;
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_000000
0
.pov"
#include "voronoi/voronoi_cells_000000
1
.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
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment