-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkstones1.inc
236 lines (210 loc) · 5.62 KB
/
mkstones1.inc
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
/* Persistence of Vision Ray Tracer version 3.7 Include File
File: mkstones1.inc
Author: Matt Kukla <[email protected]>
Last updated: May 2021
Description: Collection of additional stone textures for POV-Ray.
*/
#ifndef(MKStones1_Inc_Temp)
#declare MKStones1_Inc_Temp = version;
#version 3.7;
#include "colors.inc"
#include "textures.inc"
#include "stones.inc"
#ifdef(View_POV_Include_Stack)
#debug "including mkstones1.inc"
#end
/* Contains MK_Stone1 through MK_Stone12.
These textures were written and tested with POV-Ray 3.7, but should behave in
a nearly identical manner under previous versions.
Most of them do not define a finish -- I leave this for the user to adjust
within each scene they use the textures in.
*/
// Mossy turquoise
#declare MK_Stone1 =
texture {T_Grnt17 scale 4.0}
texture {T_Grnt23a scale 3.5
finish{ phong 1.0 phong_size 90 }
}
// Lapis lazuli
#declare MK_Stone2 =
texture { pigment { rgb <0,0,1>} }
texture {T_Crack2 scale 8}
texture {T_Crack4 scale 2}
texture {T_Grnt14a
finish { brilliance 1.825 }
}
// Dark gray with white streaks (fewer than T_Stone31)
#declare MK_Stone3 =
texture { pigment { rgb 0*0.05 } }
texture {
pigment {
agate
turbulence 0.9
lambda 4
color_map{
[0.1, 0.4 color White transmit 0.0 color DimGray transmit 0.5]
[0.5, 0.4 color DimGray transmit 0.5 color DimGray transmit 0.8]
[0.4, 1.0 color DimGray transmit 0.8 color DimGray transmit 0.9]
}
scale 5.0
}
}
// Bloodstone
#declare MK_Stone4 =
texture { pigment { rgb <.07, .19, .15> } }
texture { T_Crack2 scale 5 }
texture { pigment {
bozo
turbulence 0.6
octaves 6
omega 0.8
color_map {
[0.40 color rgb <0.65, 0.09, 0.09> ]
[0.3 color rgbt <0,0,0, 1>]
[1.0 color rgbt <0.65, 0.09 ,0.09, 1>]
}
scale 0.35
}
finish{ phong 1.0 phong_size 90 }
}
// Green jasper with white feathering
#declare MK_Stone5 =
texture {
pigment {
granite
turbulence 0.05
color_map {
[0.5, 0.7 color DarkGreen color rgb <0.03, 0.18, 0.08>]
}
}
}
texture {T_Grnt19a finish{ phong 1.0 phong_size 90 } }
// Moss on marble
#declare MK_Stone6 =
texture {
pigment {
agate
turbulence 0.75
color_map {
[0.0 rgb <0.9, 0.9, 0.9>]
[0.8 rgb <0.5, 0.5, 0.5>]
[1.0 rgb <0.2, 0.2, 0.2>]
}
}
}
texture {
pigment {
bozo
turbulence 0.75
octaves 8
omega 0.7
lambda 4
color_map {
[0.0 0.1 color rgb <0.07, 0.4, 0.15> color rgb <0.7,0.4, 0.15>]
[0.1 0.5 color rgb <0.07,0.4, 0.15> color rgbt <0.7, 0.4, 0.15, 1>]
[0.5 1.0 color rgbt<0.07,0.4, 0.15, 1> color rgbt <0.7,0.4, 0.15,1>]
}
}
scale 8
}
// Black/Grey veined granite interspersed with larger brown veins
#declare MK_Stone7 =
texture{
crackle turbulence 0.8
texture_map {
[0 T_Grnt15]
[0.07 T_Grnt7]
[0.085 T_Grnt15]
[1 T_Grnt15]
}
scale 0.5
}
// Brown and black speckles
#declare MK_Stone8 =
texture {
pigment {
agate
turbulence 0.9
lambda 4
color_map {
[0.2 rgb .05]
[0.5 rgb <0.9, 0.7, 0.6>]
[1.0 rgb <0.7, 0.4, 0.2>]
}
}
}
// White Granite
#declare MK_Stone9 =
texture {
pigment {
granite
turbulence 0.7
color_map {
[0.0 rgb <0.9, 0.9, 0.9>]
[0.8 rgb <0.5, 0.5, 0.5>]
[1.0 rgb <0.2, 0.2, 0.2>]
}
}
}
// Pink Granite
#declare MK_Stone10 =
texture {
pigment {
granite
turbulence 0.7
color_map {
[0.0 rgb <0.8, 0.8, 0.6>]
[0.8 rgb <0.8, 0.4, 0.4>]
[1.0 rgb <0.8, 0.2, 0.2>]
}
}
}
// White marble, gray veins
#declare MK_Stone11 =
texture {
pigment {
granite
turbulence 0.2
color_map {
[0.0, 0.3 color Gray05 color Gray90]
}
}
scale 2
}
// Dark gray marble, white veins
#declare MK_Stone12 =
texture {
pigment {
granite
turbulence 0.2
color_map {
[0.0, 0.3 color Gray90 color Gray05]
}
}
scale 2
}
// Blue-white marble
#declare MK_Stone13 =
texture {
pigment {
agate
turbulence 0.5
color_map {
[0.1, 0.9 color rgb <0.2, 0.576, 0.958> color Gray90] }
}
scale <3, 1, 1>
}
// Green agate
#declare MK_Stone14 =
texture {
pigment {
granite
turbulence 1
color_map {
[0.0 rgb <0.1, 0.6, 0.1>]
[0.8 rgb <0.0, 0.2, 0.0>]
}
scale 3
}
}
#end