Script to show the Saturn rings from above

General discussion about Celestia that doesn't fit into other forums.
Topic author
ANDREA

Script to show the Saturn rings from above

Post #1by ANDREA » 30.05.2002, 17:28

Friends, I'm working on a show of the Solar System for schools, and I would like to show closely the Saturn rings, as seen from above.
I tried a lot of different commands, but without results.
In practice I should put my eyes looking down on the Saturn Pole, then move sideway of the distance of the rings from the planet.
Somone can help me?
Thank you a lot.

ANDREA
157 Frasso Sabino

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Script to show the Saturn rings from above

Post #2by chris » 30.05.2002, 17:55

ANDREA wrote:Friends, I'm working on a show of the Solar System for schools, and I would like to show closely the Saturn rings, as seen from above.
I tried a lot of different commands, but without results.
In practice I should put my eyes looking down on the Saturn Pole, then move sideway of the distance of the rings from the planet.
Somone can help me?
Thank you a lot.

ANDREA
157 Frasso Sabino


You may want to try gotolonglat . . . Something like this:

Code: Select all

select { object="Sol/Saturn" }
gotolonglat { time=5 distance=2 longitude=0 latitude=90 }
center { }


--Chris

Axel

Saturn's rings

Post #3by Axel » 31.05.2002, 09:24

Hmm,

I don't know about the script code you could use for it, but I would simply put a space probe or a tiny moon on an non-aequatorial orbit just outside the rings.

Then look from your object towards Saturn, if you want it animated - let it orbit, if you want it static - hold it (t=0) above the pole and look down, zoom and fov a bit.

CU,
Axel

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Saturn's rings

Post #4by t00fri » 31.05.2002, 10:05

Axel wrote:Hmm,

I don't know about the script code you could use for it, but I would simply put a space probe or a tiny moon on an non-aequatorial orbit just outside the rings.

Then look from your object towards Saturn, if you want it animated - let it orbit, if you want it static - hold it (t=0) above the pole and look down, zoom and fov a bit.

CU,
Axel


An extra "object" is completely superfluous...

Just set the observer coordinates in the script, exactly as Chris did. If you want to look on the ring from above: set latitude =90, if you want a more gracing look at it, e.g. set latitude = 10, if you want to look from below set latitude = -10.


Got it?

Bye Fridger

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Post #5by t00fri » 31.05.2002, 10:08

Axel:
------

I forgot in the previous mail:
Instead of the script, you may use just the dialog in Navigate->Goto Object and set object=Saturn, enter your desired latitude (and longitude) and some good distance, e.g. 300 000 KM.

Bye Fridger

Guest

Post #6by Guest » 31.05.2002, 10:33

Why not just right click and drag and rotate until you have the view you want ?

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Post #7by t00fri » 31.05.2002, 11:35

Anonymous wrote:Why not just right click and drag and rotate until you have the view you want ?


The original question was how to setup some sort of show for schools. Obviously, then it's good for the Operator (teacher?) to lean back and watch things together with the kids without hiding the screen;-))

The script commands are ideal for this purpose...

As to my second response to Axel's mail, I just referred to the menue dialog for him to try out what I said. As he admitted and it was also apparent from his response, he does not know about the meaning of the scripting commands too well.

Bye Fridger

Guest

Post #8by Guest » 31.05.2002, 16:23

Thank you very much for the many suggestions, that I have translated in the following script:
**********************************************************
wait { duration 0.5 }
time { jd 2452452.20 }
select { object "Pan" }
center { time 2 }
gotolonglat { time 55 distance 30000 up [ 0 1 0 ] longitude -13.3 latitude -58 }
wait { duration 1 }
print { text " Pan is one of the so called -Shepard Saturn satellites-,
circling the planet within the Encke Division in Saturn's A ring, allowing it
not to fragment. It is very small, about 12 miles" }
orbit { axis [ 0 1 0 ] rate 0 duration 2.5 }
wait { duration 2 }
gotolonglat { time 1 distance 7000 up [ 0 1 0 ] longitude -13.3 latitude -58 }
orbit { axis [ 1 0 0 ] rate 20 duration 14.5 }
print { text "" }
wait { duration 4 }
changedistance { rate -0.3 duration 5 }
orbit { axis [ 1 0 0 ] rate 20 duration 16.85 }
wait { duration 1 }
********************************************************

I have chosen the satellite Pan as target (it is one of the shepard satellites, within the A ring), at the given JD date, because Pan is in a good position on the sunlit side of Saturn.
If you want, copy it in the START.cel file, and give a look.
Thank you again everybody.
ANDREA
157 Frasso Sabino


Return to “Celestia Users”