-
Notifications
You must be signed in to change notification settings - Fork 0
/
setFlagPlanets.ssc
41 lines (30 loc) · 891 Bytes
/
setFlagPlanets.ssc
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
// vim: ft=javascript
//
// ..\runScript.bat setFlagPlanets.ssc
//
//
// Go to Irchelturm
core.setObserverLocation(
8 + 36/60 + 25.85/60/60, // longitude
47 + 32/60 + 21.48/60/60, // latitude
0 // Altitude
);
core.setDeltaTAlgorithm("WithoutCorrection");
core.setDate( // Sept 14th 1186: Planets come very close.
'1186-09-14T18:41:00',
'local' , // or 'utc'
true // enable Delta T correction
);
StelMovementMgr.zoomTo(10, 0);
core.wait(0.01);
LandscapeMgr.setFlagLandscape(true);
LandscapeMgr.setFlagAtmosphere(false);
LandscapeMgr.setFlagFog(false);
core.selectObjectByName("Venus");
StelMovementMgr.setFlagTracking(true);
core.selectObjectByName("");
SolarSystem.setFlagPlanets(false);
core.pauseScript();
SolarSystem.setFlagPlanets(true);
core.pauseScript();
SolarSystem.setFlagPlanets(false);