Celestia

Форк
0
/
demo.cel 
150 строк · 5.5 Кб
1
{
2
	timerate { rate 0 }
3
	labels { clear "planets|minorplanets|stars|constellations" }
4
	renderflags { set "stars|planets"
5
                      clear "constellations|orbits|cloudmaps" }
6
	print { text "Beginning demo . . .\nPress ESC to end." origin "center" duration 2 }
7
	wait { duration 2.0 }
8

9
	print { text "Let's start near home . . ." row -3 }
10
	select { object "Sol/Earth" }
11
	cancel {}
12
	# goto { time 0 distance 3 upframe "ecliptical" }
13
	# gotolonglat { time 0 distance 3 longitude -122 latitude 47 }
14
	synchronous {}
15
	gotoloc { time 0.0 position [ 0 0 20000 ] }
16
	wait { duration 0.1 }
17
	center { time 0.1 }
18
	wait { duration 1.0 }
19
	follow {}
20

21
	print { text "We're now orbiting about 12,500km above the Earth" row -3 duration 5 }
22
	orbit { axis [ 0 1 0 ] rate 30 duration 10 }
23
	print { text "Earth looks much more familiar with clouds." row -3}
24
	wait { duration 0.1 }
25
	renderflags { set "cloudmaps" }
26
	orbit { axis [ 0 1 0 ] rate 30 duration 6 }
27

28
	print { text "Next stop: the Moon." row -3 }
29
	select { object "Moon" }
30
	goto { time 5 distance 4 upframe "equatorial" }
31
	wait { duration 5.5 }
32
	print { text "Watch for the Earth and Sun as we orbit the Moon" row -3}
33
	orbit { axis [ 0 1 0 ] rate 30 duration 10 }
34
	
35
	print { text "Off toward the Sun." row -3}
36
	select { object "Sol" }
37
	goto { time 8 distance 12 upframe "equatorial" up [ 0 1 0 ] }
38
	wait { duration 8.5 }
39
	print { text "At this distance, dark sunspots are visible on the Sun's surface." row -3}
40
	orbit { axis [ 0 1 0 ] rate 20 duration 10 }
41

42
	print { text "Let's zoom out for an overview of the inner solar system." row -3}
43
	orbit { axis [ 1 0 0 ] rate 45 duration 2 }
44
	renderflags { set "orbits" }
45
	changedistance { duration 4.0 rate 1.0 }
46
	
47
	print { text "Turning on planet labels . . ." row -3}
48
	labels { set "planets" }
49
	wait { duration 1.0 }
50
	print { text "We can speed up time to watch the planets orbit the sun." row -3}
51
	timerate { rate 2592000 }
52
	wait { duration 3.0 }
53
	print { text "For each second, a month of time elapses in the simulation." row -3}
54
	wait { duration 12.0 }
55
	timerate { rate 1 }
56
	print { text "Now, time has been stopped completely." row -3}
57

58
	wait { duration 1.0 }
59
	print { text "Our next destination is Saturn." row -3}
60
	select { object "Saturn" }
61
	center { time 2 }
62
	wait { duration 2 }
63
	goto { time 8 distance 6 up [ 0 1 0 ] upframe "equatorial" }
64
	wait { duration 6.5 }
65
	renderflags { clear "orbits" }
66
	labels { clear "planets" }
67
	print { text "Several of the moons of Saturn are visible as bright dots" row -3 duration 3}
68
	orbit { axis [ 0 1 0 ] rate 30 duration 12 }
69
	
70
	select { object "Mimas" }
71
	goto { time 5 distance 4 upframe "equatorial" }
72
	print { text "The most prominent feature on Saturn's moon Mimas is the huge impact crater Herschel." row -3 duration 9 }
73
	orbit { axis [ 0 1 0 ] rate 30 duration 12 }
74
	changedistance { duration 6.0 rate 0.5 }
75

76
	select { object "Sol" }
77
	center { time 2 }
78
	print { text "Note how faint the Sun appears at this distance." row -3 }
79
	wait { duration 2 }
80

81
	print { text "Let's look around at the stars in the sky." row -3 duration 2 }
82
	wait { duration 2 }
83
	select { object "Alpha UMa" }
84
	center { time 2 }
85
	print { text "Northern Hemisphere residents should recognize the Big Dipper in the constellation Ursa Major." row -3 duration 3 }
86
	wait { duration 4 }
87

88
	select { object "Polaris" }
89
	center { time 2 }
90
	wait { duration 2 }
91
	print { text "We're now centered on Polaris, the North Star." row -3}
92
	wait { duration 1 }
93
	labels { set "stars" }
94
	wait { duration 2 }
95
	print { text "Polaris is part of the asterism commonly called the Little Dipper." row -3}
96
	wait { duration 2 }
97
	print { text "To help us get oriented in the sky, Celestia can draw constellation diagrams for us . . ." row -3}
98
	renderflags { set "constellations" }
99
	wait { duration 2 }
100
	print { text ". . . and constellation names" row -3}
101
	labels { set "constellations" }
102
	wait { duration 2 }
103

104
	select { object "Alnilam" }
105
	center { time 4 }
106
	wait { duration 2 }
107
	print { text "Orion is the sky's most prominent constellation." row -3 duration 3 }
108
	wait { duration 4 }
109

110
	select { object "Beta Cru" }
111
	center { time 4 }
112
	wait { duration 2 }
113
	print { text "The Southern Cross is a familiar sight in Southern Hemisphere skies." row -3 duration 4 }
114
	wait { duration 4 }
115

116
	rotate { axis [ 0.707 0.707 0 ] rate 20 duration 7 }
117
	print { text "Let's enable galaxy rendering so that we can see the Milky Way" row -3 duration 4 }
118
	renderflags { set "galaxies" }
119
	rotate { axis [ 0.707 0.707 0 ] rate 20 duration 14 }
120
	rotate { axis [ 0.707 0.707 0 ] rate 20 duration 10 }
121

122
	select { object "Antares" }
123
	center { time 5 }
124
	wait { duration 3 }
125
	print { text "We'll now travel to Antares, a red giant star in Scorpius." row -3 duration 5 }
126
	wait { duration 2 }
127
	renderflags { clear "constellations" }
128
	labels { clear "constellations|stars" }
129
	wait { duration 1 }
130
	goto { time 8 distance 200 }
131
	wait { duration 8.5 }
132
	goto { time 5 distance 10 }
133
	wait { duration 5.0 }
134
	print { text "Even though we are now 10 times farther from Antares than\nEarth is from the Sun, the massive red giant star still looms huge in the sky." row -3}
135
	wait { duration 4.0 }
136

137
	print { text "Let's zoom out and get the big picture . . ." row -3}
138
	changedistance { duration 10.0 rate 2.0 }
139

140
	select { object "Milky Way" }
141
	print { text "We're viewing the entire Milky Way galaxy." row -3 duration 6 }
142
	orbit { axis [ 1 0 0 ] rate 30 duration 16.0 }
143
	print { text "Time to go home . . ." row -3}
144

145
	select { object "Sol/Earth" }
146
	goto { time 20 distance 10 upframe "equatorial" }
147
	wait { duration 20.0 }
148
	print { text "Demo completed." row -3}
149
	wait { duration 3.0 }
150
}
151

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.