-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlitebird-scanning-strategy.pov
176 lines (148 loc) · 3.13 KB
/
litebird-scanning-strategy.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
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
// -*- mode: pov -*-
//
// POV-Ray scene file (tested with POV-Ray 3.7)
//
// August 2019
//
// Representation of the scanning strategy of the LiteBIRD spacecraft
//
// Note: the "clock" variable is supposed to track time in *minutes*
#include "colors.inc"
#declare bore_spin_angle = 50.0;
#declare spin_sun_angle = 45.0;
#declare prec_period_min = 192.348;
#declare spin_period_min = 20.0;
#declare revolution_period_min = 525600;
background { color White }
camera {
// Put here the aspect ratio as it is in the file
// litebird-scanning-strategy.ini
right x * 4 / 3
up y
location <-150, -300, -75>
look_at <-150, 0, 0>
}
#declare LIGHT = <-150, 0, -10000>;
// Sun
light_source {
LIGHT
color rgb 1
}
// Anti-Sun (dimmer)
light_source {
LIGHT
color rgb 0.25
}
sphere {
<-150, 0, 0>, 15
texture {
pigment { color Yellow }
}
}
#declare LiteBIRD = object {
union {
// Body
prism {
linear_sweep
linear_spline
0, // sweep the following shape from here ...
10, // ... up through here
7, // the number of points making up the shape ...
<3,5>, <-3,5>, <-5,0>, <-3,-5>, <3, -5>, <5,0>, <3,5>
pigment { Yellow }
}
// V-grooves
difference {
cone {
<0, 8, 0>, 0
<0, 13, 0>, 10
}
cone {
<0, 8, 0>, 0
<0, 13, 0>, 8
}
pigment { Gray }
}
// Solar panels
union {
box {
<-3, -0.1, -3>, <-13, 0.1, 3>
rotate 30*y
}
box {
<-3, -0.1, -3>, <-13, 0.1, 3>
rotate 150*y
}
box {
<-3, -0.10, -3>, <-13, 0.1, 3>
rotate -90*y
}
pigment { DimGray }
}
// Spin axis
object {
cylinder {
<0, 0, 0>, <0, 1000, 0>,
0.2
}
translate 8*y
pigment { DimGray * 2 }
no_shadow
}
// Laser beam for LFT
object {
cylinder {
<0, 0, 0>, <0, 1000, 0>,
0.2
}
rotate bore_spin_angle*z
translate 8*y
pigment { Red * 2 }
no_shadow
}
// Laser beam for MHFT
object {
cylinder {
<0, 0, 0>, <0, 1000, 0>,
0.2
}
rotate -bore_spin_angle*z
translate 8*y
pigment { Green * 2 }
no_shadow
}
}
}
object {
LiteBIRD
rotate -360 * (clock / spin_period_min) * y
rotate (-90 + spin_sun_angle) * z
// The negative sign allows to see early in the animation the inner part of the V-grooves
rotate -360 * (clock / prec_period_min) * x
translate <150, 0, 0>
rotate -360 * (clock / revolution_period_min) * <0, 0, 1>
translate <-150, 0, 0>
}
// Sun-L2 direction
cylinder {
<-150, 0, 0>, <0, 0, 0>, 0.2
pigment { Blue * 10 }
no_shadow
translate <150, 0, 0>
rotate -360 * (clock / revolution_period_min) * <0, 0, 1>
translate <-150, 0, 0>
}
sphere {
<-50, 0, 0>, 5
texture {
pigment { color Green }
}
translate <150, 0, 0>
rotate -360 * (clock / revolution_period_min) * <0, 0, 1>
translate <-150, 0, 0>
}
torus{ 150, 0.1
pigment { Blue * 10 }
rotate <90, 0, 0>
translate <-150, 0, 0>
}