Page 1 of 1

Anyone seen a Voyager script ?

Posted: 17.07.2003, 04:35
by Dr Norman Bates
Does anyone know of a script which follows the Voyager trajectories (using the available models etc.).

Thanks

Re: Anyone seen a Voyager script ?

Posted: 17.07.2003, 19:25
by Volker
Some time ago I wrote a script showing the flight of Voyager 2. In principle it worked fine, but I had some problems which I described in a previous post ( http://www.shatters.net/forum/viewtopic.php?t=1683&highlight=voyager+script&sid=c04115a819b237809de8380426c33518 ).
The script is a bit lengthy, and I have not tested it with 1.3.0 because I have the idea to re-develop it using Lua. If you are interested I can send it via eMail.
Volker

Voyager Script

Posted: 18.07.2003, 00:42
by Dr N
Thanks Volker. If you can be bothered sending your script please do. Here's an email address:

luckas@hotmail.com

Thanks

Sorry ...

Posted: 18.07.2003, 00:43
by Dr N.
Try this one:

paul_luckas@hotmail.com

Thanks

Posted: 18.07.2003, 00:49
by Borg Collective
Send it to [REDACTED] also ;-).

Posted: 18.07.2003, 02:12
by don
Howdy Volker,

Please, I too would like to see your script. There aren't many out there for downloading and learning.

Thank you!

-Don (donlgoyette@yahoo.com)

PS. How do you guys code mailto: URLs here in the forums?

Posted: 18.07.2003, 02:25
by Borg Collective
Huh? :?
:-)
Simply, we just write them down
;-)
:-))

Posted: 18.07.2003, 02:51
by don
mailto:x@y.com

Posted: 18.07.2003, 02:52
by don
It was plain text in the preview and also gets posted as plain text.

I tried the URL button too, but it came out as plain text also.

Edited PS. HTML is disabled for me, if that's what you mean.

Posted: 18.07.2003, 07:24
by MB
Volker,
I am another guykind to send it to:, interested by your script. Please be kind to send me at:
barat@lcam.u-psud.fr
MB

Posted: 18.07.2003, 08:04
by jamarsa
I didn't expect to see a "sendmetoo" chain here...

Why don't send it to CrookedScepter, so it's available to everyone?

See here:

http://www.shatters.net/forum/viewtopic.php?t=2836


don, I simply write just the mail address, and I have HTML off also.

meme@myemailserver.com (trap here for spammers, hehehe)

Don't use brackets, parenthesis, nor mailto: headers. Just only the address (or at least spaces before and after it).

script

Posted: 18.07.2003, 09:20
by WeAllWantIt
Could you please copy-paste your script as a reply in this thread, so that everyone can enjoy it without giving away an email address (spam hits hard these days :evil: )

Thank you very much!
:wink:

Posted: 18.07.2003, 15:02
by don
jamarsa wrote:don, I simply write just the mail address, and I have HTML off also.

meme@myemailserver.com (trap here for spammers, hehehe)

Don't use brackets, parenthesis, nor mailto: headers. Just only the address (or at least spaces before and after it).


Thank you jamarsa. Figured there would need to be some code somewhere -- guess I was making it harder than it is (sigh).

I think "space before and after" was the clincher.

-Don

PS. I too think that copy-paste posting the script (using the Code button) would be a GREAT idea. No matter how long it is, we can all copy and paste it ourselves.

Posted: 19.07.2003, 00:24
by Guest
thats why text editors have a "select all" button

Re: script

Posted: 19.07.2003, 15:48
by Volker
[quote="WeAllWantIt"]Could you please copy-paste your script as a reply in this thread, so that everyone can enjoy it without giving away an email address (spam hits hard these days :evil: )
quote]

Ok, ok ...
Sorry, I was not aware of the spam :evil: problem. I was only afraid of boring with 200 loc showing repeatedly the same commands and working not perfectly anyway... :wink:
As I said in the previous post, the repeated sequence of timerate and wait commands only serves to vary the time lapse when approaching a planet, i.e. moving faster when far away, and (more or less smoothly) moving slower when in the near. However, the result is not totally reproducible, and I noticed that the script works better when run a second time (and all the textures are already loaded I guess).
Any better idea? My thoughts: It would be nice if the wait command could possibly be linked to the distance to a planet or to the Celestia clock ('wait until a specfic distance is reached' or 'wait until a specific julian date is reached').
Now here is my attempt of a Voyager script. I use the Voyager trajectories from http://www.shatters.net/~claurel/trajectories/ .
Volker

{
labels {clear "galaxies|moons|asteroids|constellations|stars|planets|spacecraft" }
time {jd 2443428.6}
timerate {rate 1000.0}

select {object "Sol/Earth"}
follow { }
gotolonglat {distance 2.2 longitude 100.0 latitude 50.0 up [0 1 0] upframe "ecliptical" time 20.0}
wait {duration 30}

select {object "Voyager 2"}
goto {distance 1000.0 time 1000.0}
wait {duration 2.0}
time {jd 2443429.0}
gotolonglat {distance 0.000001 longitude 100.0 latitude 0.0 up [0 1 0] time 5.0}
labels {set "planets" }
wait {duration 5.25}
labels {set "spacecraft" }
goto {distance 5.0 time 5.0}
wait {duration 5.25}

select {object "Sol/Jupiter"}
lock { }
timerate {rate 5000.0}
wait {duration 1.0}
timerate {rate 10000.0}
wait {duration 1.0}
timerate {rate 50000.0}
wait {duration 1.0}
timerate {rate 100000.0}
wait {duration 1.0}
timerate {rate 500000.0}
wait {duration 1.0}
timerate {rate 1000000.0}
wait {duration 1.0}
timerate {rate 2500000.0}
wait {duration 5.0}
labels {clear "planets" }
wait {duration 4.0}
timerate {rate 1000000.0}
wait {duration 27.5}
labels {clear "spacecraft" }
timerate {rate 500000.0}
wait {duration 4.0}
timerate {rate 250000.0}
wait {duration 3.0}
timerate {rate 100000.0}
wait {duration 2.0}
timerate {rate 50000.0}
wait {duration 1.0}
timerate {rate 25000.0}
wait {duration 2.0}
timerate {rate 12500.0}
wait {duration 3.0}
timerate {rate 7200.0}
wait {duration 4.0}
timerate {rate 3600.0}
wait {duration 32.0}
timerate {rate 5400.0}
wait {duration 18.0}
labels {set "planets|spacecraft" }
timerate {rate 7200.0}
wait {duration 5.0}

select {object "Voyager 2"}
gotolonglat {distance 5.0 longitude 0.0 time 25.0}
time {jd 2444067.0}
wait {duration 25.5}
select {object "Sol/Saturn"}
lock { }
timerate {rate 2000000.0}
wait {duration 5.0}
labels {clear "planets" }
wait {duration 22.0}
labels {clear "spacecraft" }
timerate {rate 1000000.0}
wait {duration 11.0}
timerate {rate 500000.0}
wait {duration 2.0}
timerate {rate 250000.0}
wait {duration 2.0}
timerate {rate 100000.0}
wait {duration 1.5}
timerate {rate 50000.0}
wait {duration 1.0}
timerate {rate 25000.0}
wait {duration 1.0}
timerate {rate 12500.0}
wait {duration 2.0}
timerate {rate 7200.0}
wait {duration 2.0}
timerate {rate 3600.0}
wait {duration 30.0}
timerate {rate 5400.0}
wait {duration 5.0}
labels {set "planets" }
timerate {rate 7200.0}
wait {duration 5.0}

select {object "Voyager 2"}
gotolonglat {distance 5.0 longitude 125.0 time 25.0}
time {jd 2444844.0}
wait {duration 25.25}
select {object "Sol/Uranus"}
lock { }
timerate {rate 5000000.0}
wait {duration 20.0}
labels {clear "planets" }
wait {duration 5.0}
timerate {rate 2500000.0}
wait {duration 3.5}
timerate {rate 1000000.0}
wait {duration 3.0}
timerate {rate 500000.0}
wait {duration 2.5}
timerate {rate 250000.0}
wait {duration 1.5}
timerate {rate 100000.0}
wait {duration 1.5}
timerate {rate 50000.0}
wait {duration 5.0}
timerate {rate 25000.0}
wait {duration 4.0}
timerate {rate 12500.0}
wait {duration 3.0}
timerate {rate 7200.0}
wait {duration 4.0}
timerate {rate 3600.0}
wait {duration 25.0}
timerate {rate 5400.0}
wait {duration 3.0}
labels {set "planets" }
timerate {rate 7200.0}
wait {duration 5.0}

select {object "Voyager 2"}
gotolonglat {distance 5.0 longitude 185.0 latitude -5.0 time 25.0}
time {jd 2446457.0}
wait {duration 25.25}
select {object "Sol/Neptune"}
lock { }
timerate {rate 5000000.0}
wait {duration 5.0}
labels {clear "planets" }
wait {duration 15.0}
timerate {rate 2500000.0}
wait {duration 3.0}
timerate {rate 1000000.0}
wait {duration 3.0}
timerate {rate 500000.0}
wait {duration 2.5}
timerate {rate 250000.0}
wait {duration 2.0}
timerate {rate 100000.0}
wait {duration 2.0}
timerate {rate 50000.0}
wait {duration 2.25}
timerate {rate 20000.0}
wait {duration 6.0}
timerate {rate 8000.0}
wait {duration 6.0}
timerate {rate 3000.0}
wait {duration 5.0}
timerate {rate 1000.0}
wait {duration 4.0}
timerate {rate 600.0}
wait {duration 30.0}

gotolonglat {distance 5.0 longitude 185.0 latitude -5.0 time 25.0}
changedistance {rate 2.83 duration 16.0}
}

Posted: 19.07.2003, 19:02
by don
Thanks Volker!

That's pretty cool.

I used the Voyager files from Darkmiss: http://www.bt.homepage.btinternet.co.uk/Celestia.htm.

Thank you both!

-Don