-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWood14_with_turbulence_calm.inc
52 lines (44 loc) · 1.75 KB
/
Wood14_with_turbulence_calm.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
#declare ColorFactor = 0.3;
#declare ColorFactor2 = 0.8;
#declare M_Wood14A = colour_map {
[0.00 0.10 color rgb < 0.80, 0.232, 0.115 >*.4*ColorFactor2
color rgb < 0.80, 0.232, 0.115 >*.5*ColorFactor2]
[0.10 0.90 color rgb < 0.80, 0.232, 0.115 >*.5*ColorFactor2
color rgb < 0.45, 0.115, 0.060 >*.75*ColorFactor2]
[0.90 1.0 color rgb < 0.45, 0.115, 0.060 >*.7*ColorFactor2
color rgb < 0.45, 0.115, 0.060 >*.9*ColorFactor2]
}
#declare M_Wood14B = colour_map {
[0.00 0.10 color rgbt < 0.70*ColorFactor, 0.232*ColorFactor, 0.115*ColorFactor, 0.65 >
color rgbt < 0.70*ColorFactor, 0.232*ColorFactor, 0.115*ColorFactor, 0.75 >]
[0.10 0.15 color rgbt < 0.70*ColorFactor, 0.232*ColorFactor, 0.115*ColorFactor, 0.75 >
color rgbt < 0.35*ColorFactor, 0.115*ColorFactor, 0.060*ColorFactor, 0.85 >]
[0.15 0.20 color rgbt < 0.70*ColorFactor, 0.232*ColorFactor, 0.115*ColorFactor, 0.85 >
color rgbt < 0.35*ColorFactor, 0.115*ColorFactor, 0.060*ColorFactor, 0.85 >]
[0.20 1.0 color rgbt < 0.35*ColorFactor, 0.115*ColorFactor, 0.060*ColorFactor, 0.75 >
color rgbt < 0.35*ColorFactor, 0.115*ColorFactor, 0.060*ColorFactor, 0.75 >]
}
#declare P_WoodGrain14A =
pigment {
wood
colour_map { M_Wood14A }
turbulence 0.25
octaves 2
scale <0.15, .15, 1>
translate < -1 0 0 >
rotate <-3, -3, 0>
}
#declare P_WoodGrain14B=
pigment {
wood
colour_map { M_Wood14B }
turbulence 0.2
lambda 2.75
omega 1.15
octaves 4
scale <5, 0.075, 1>
rotate x*85
}
#declare Wood14_with_turbulence_calm =
texture { pigment{ P_WoodGrain14A color_map { M_Wood14A }}}
texture { pigment{ P_WoodGrain14B color_map { M_Wood14B }}}