-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path03-shapes.pov
73 lines (53 loc) · 1.15 KB
/
03-shapes.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
// Teste fontes de luz.pov
//
#include "colors.inc"
#include "textures.inc"
background { color rgb <255,255,255> }
camera{
location <-2,3,-10>
look_at<0,0,0>
}
// Pontual
/*light_source {
<0,10,-3>, color Orange
} */
// Direcional (simula luz do sol)
light_source {
<-5,10,-3>
color Orange
parallel
point_at <0, 0, 0>
}
// Spots
light_source {
<0,10,-3>
color Orange
spotlight // luz do tipo spot (luz em formato de cone)
radius 10 // raio de ação da luz
falloff 20 // ângulo do cone de luz (deve ser maior que o raio)
tightness 10 // atenuação da luz
point_at <0,0,0> // direção para onde a fonte de luz está apontada
}
torus {
1, .5 // major and minor radius
rotate -60*x // so we can see it from the top
translate 2*x
pigment { White}
}
sphere {
<-1, 0, 0>, 1
pigment { White}
}
cone {
<6, -1, 0> 1,
<6, 2, 0> 0
rotate 10*x
pigment { White}
}
plane{ <0,1,0>,-2
pigment{
checker
color Green
color Blue
}
}