Celestia
/
demo.cel
150 строк · 5.5 Кб
1{
2timerate { rate 0 }
3labels { clear "planets|minorplanets|stars|constellations" }
4renderflags { set "stars|planets"
5clear "constellations|orbits|cloudmaps" }
6print { text "Beginning demo . . .\nPress ESC to end." origin "center" duration 2 }
7wait { duration 2.0 }
8
9print { text "Let's start near home . . ." row -3 }
10select { object "Sol/Earth" }
11cancel {}
12# goto { time 0 distance 3 upframe "ecliptical" }
13# gotolonglat { time 0 distance 3 longitude -122 latitude 47 }
14synchronous {}
15gotoloc { time 0.0 position [ 0 0 20000 ] }
16wait { duration 0.1 }
17center { time 0.1 }
18wait { duration 1.0 }
19follow {}
20
21print { text "We're now orbiting about 12,500km above the Earth" row -3 duration 5 }
22orbit { axis [ 0 1 0 ] rate 30 duration 10 }
23print { text "Earth looks much more familiar with clouds." row -3}
24wait { duration 0.1 }
25renderflags { set "cloudmaps" }
26orbit { axis [ 0 1 0 ] rate 30 duration 6 }
27
28print { text "Next stop: the Moon." row -3 }
29select { object "Moon" }
30goto { time 5 distance 4 upframe "equatorial" }
31wait { duration 5.5 }
32print { text "Watch for the Earth and Sun as we orbit the Moon" row -3}
33orbit { axis [ 0 1 0 ] rate 30 duration 10 }
34
35print { text "Off toward the Sun." row -3}
36select { object "Sol" }
37goto { time 8 distance 12 upframe "equatorial" up [ 0 1 0 ] }
38wait { duration 8.5 }
39print { text "At this distance, dark sunspots are visible on the Sun's surface." row -3}
40orbit { axis [ 0 1 0 ] rate 20 duration 10 }
41
42print { text "Let's zoom out for an overview of the inner solar system." row -3}
43orbit { axis [ 1 0 0 ] rate 45 duration 2 }
44renderflags { set "orbits" }
45changedistance { duration 4.0 rate 1.0 }
46
47print { text "Turning on planet labels . . ." row -3}
48labels { set "planets" }
49wait { duration 1.0 }
50print { text "We can speed up time to watch the planets orbit the sun." row -3}
51timerate { rate 2592000 }
52wait { duration 3.0 }
53print { text "For each second, a month of time elapses in the simulation." row -3}
54wait { duration 12.0 }
55timerate { rate 1 }
56print { text "Now, time has been stopped completely." row -3}
57
58wait { duration 1.0 }
59print { text "Our next destination is Saturn." row -3}
60select { object "Saturn" }
61center { time 2 }
62wait { duration 2 }
63goto { time 8 distance 6 up [ 0 1 0 ] upframe "equatorial" }
64wait { duration 6.5 }
65renderflags { clear "orbits" }
66labels { clear "planets" }
67print { text "Several of the moons of Saturn are visible as bright dots" row -3 duration 3}
68orbit { axis [ 0 1 0 ] rate 30 duration 12 }
69
70select { object "Mimas" }
71goto { time 5 distance 4 upframe "equatorial" }
72print { text "The most prominent feature on Saturn's moon Mimas is the huge impact crater Herschel." row -3 duration 9 }
73orbit { axis [ 0 1 0 ] rate 30 duration 12 }
74changedistance { duration 6.0 rate 0.5 }
75
76select { object "Sol" }
77center { time 2 }
78print { text "Note how faint the Sun appears at this distance." row -3 }
79wait { duration 2 }
80
81print { text "Let's look around at the stars in the sky." row -3 duration 2 }
82wait { duration 2 }
83select { object "Alpha UMa" }
84center { time 2 }
85print { text "Northern Hemisphere residents should recognize the Big Dipper in the constellation Ursa Major." row -3 duration 3 }
86wait { duration 4 }
87
88select { object "Polaris" }
89center { time 2 }
90wait { duration 2 }
91print { text "We're now centered on Polaris, the North Star." row -3}
92wait { duration 1 }
93labels { set "stars" }
94wait { duration 2 }
95print { text "Polaris is part of the asterism commonly called the Little Dipper." row -3}
96wait { duration 2 }
97print { text "To help us get oriented in the sky, Celestia can draw constellation diagrams for us . . ." row -3}
98renderflags { set "constellations" }
99wait { duration 2 }
100print { text ". . . and constellation names" row -3}
101labels { set "constellations" }
102wait { duration 2 }
103
104select { object "Alnilam" }
105center { time 4 }
106wait { duration 2 }
107print { text "Orion is the sky's most prominent constellation." row -3 duration 3 }
108wait { duration 4 }
109
110select { object "Beta Cru" }
111center { time 4 }
112wait { duration 2 }
113print { text "The Southern Cross is a familiar sight in Southern Hemisphere skies." row -3 duration 4 }
114wait { duration 4 }
115
116rotate { axis [ 0.707 0.707 0 ] rate 20 duration 7 }
117print { text "Let's enable galaxy rendering so that we can see the Milky Way" row -3 duration 4 }
118renderflags { set "galaxies" }
119rotate { axis [ 0.707 0.707 0 ] rate 20 duration 14 }
120rotate { axis [ 0.707 0.707 0 ] rate 20 duration 10 }
121
122select { object "Antares" }
123center { time 5 }
124wait { duration 3 }
125print { text "We'll now travel to Antares, a red giant star in Scorpius." row -3 duration 5 }
126wait { duration 2 }
127renderflags { clear "constellations" }
128labels { clear "constellations|stars" }
129wait { duration 1 }
130goto { time 8 distance 200 }
131wait { duration 8.5 }
132goto { time 5 distance 10 }
133wait { duration 5.0 }
134print { 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}
135wait { duration 4.0 }
136
137print { text "Let's zoom out and get the big picture . . ." row -3}
138changedistance { duration 10.0 rate 2.0 }
139
140select { object "Milky Way" }
141print { text "We're viewing the entire Milky Way galaxy." row -3 duration 6 }
142orbit { axis [ 1 0 0 ] rate 30 duration 16.0 }
143print { text "Time to go home . . ." row -3}
144
145select { object "Sol/Earth" }
146goto { time 20 distance 10 upframe "equatorial" }
147wait { duration 20.0 }
148print { text "Demo completed." row -3}
149wait { duration 3.0 }
150}
151