-
Notifications
You must be signed in to change notification settings - Fork 0
/
Diamonds.pov
111 lines (77 loc) · 2.51 KB
/
Diamonds.pov
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//================================================================================
// POV-Ray spectral rendering example
//
// command line (image dimension, OpenEXR)
// +w1024 +h640 +FE
//
// command line (AA if no focal blur is used):
// +A0.1 +AM2 +R4
//
// spectral calculation command line:
// +KI1 +KF36 +KFI38 +KFF73
//
//
// - Ive, November 2013
//
//================================================================================
#version 3.7;
//================================================================================
// control center
//================================================================================
#declare MaxTrace = 40;
#declare Radio = 1;
#declare Photons = 9000000;
#declare Sunlight = 0;
#declare SkyEmission = 5;
#declare RoomDesign = 1;
#declare Cam_Pos = < 50, 85.0, 165>;
#declare Cam_Look = < 50, 80.1, 175>;
#declare Cam_Angle = 21;
//================================================================================
#include "spectral.inc"
#include "world.inc"
//================================================================================
// sky, room ...
//================================================================================
object { Sky }
object { Room }
object { Table
scale <0.6, 1, 0.6>
rotate y*25
translate <60,0,175>
}
//================================================================================
// objects in scene
//================================================================================
#declare Lamp = union {
light_source {0, SpectralEmission(E_Blackbody(5000)) * 60
fade_power 2
fade_distance 5
#if (AreaLight)
area_light z*5, y*5, 9,9 adaptive 1 circular orient
#end
photons {reflection on refraction on }
}
sphere { 0, 5
pigment { SpectralEmission(E_Blackbody(5000)) }
finish {emission 3 ambient 0 diffuse 0}
no_shadow
no_radiosity
}
translate <50, 140, 160>
}
object {Lamp}
#include "brilliant.inc"
#declare MyGem = object { Brilliant rotate x*90 translate y*0.66 scale 0.5
M_Diamond_FancyYellow(0.75)
photons {target refraction on reflection on}
}
#declare PavlAng = 40.75;
union {
object { MyGem rotate -x*PavlAng translate -z * 0.6 }
object { MyGem rotate z*PavlAng translate -x * 1.0 }
object { MyGem rotate x*PavlAng translate x * 1.2 }
rotate -y*0
translate <50, 80, 175>
}
//================================================================================