Slowing down 'Goto target'?

General discussion about Celestia that doesn't fit into other forums.
Topic author
Evil Dr Ganymede
Posts: 1386
Joined: 06.06.2003
With us: 21 years 6 months

Slowing down 'Goto target'?

Post #1by Evil Dr Ganymede » 18.06.2003, 06:02

Is there a way to persuade Celestia to take longer than 4 or 5 seconds to go to a target if you type in its name and then press the 'G' key? I find one gets there a bit too quickly to appreciate the view on the way :).

Gordon nolog

Post #2by Gordon nolog » 18.06.2003, 09:19

Yes. Detailled how to in Fred Gregorio's user guide :

http://ennui.shatters.net/celestia/documentation.html

G.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 3 months
Location: NY, USA

Post #3by selden » 18.06.2003, 11:36

I didn't find anything obvious after doing a quick search of the manual.

The method of travelling slowly that I know about requires a script contaiing a single command. Unfortunately Frank left scripting for Part 3, which isn't available yet.

Create a file named GoSlowly.cel which contains just the one line

Code: Select all

{ goto { time 20 } }


Leave a window open showing the directory where you've put this script.
After selecting the destination object by whatever means is approprite, just double-click on the icon for this script.

The time parameter specifies the number of seconds to take. You can set to whatever value you deem appropriate.

Does this help?
Selden

Gordon nolog

Post #4by Gordon nolog » 18.06.2003, 12:38

:oops: oops sorry, too fast reading, too fast answering. The one I was thinking of was rotation accelaration which can be tuned in the celestia.cfg file.


G.

Topic author
Evil Dr Ganymede
Posts: 1386
Joined: 06.06.2003
With us: 21 years 6 months

Post #5by Evil Dr Ganymede » 18.06.2003, 15:52

Selden - thanks, that vaguely helps, but I'd rather there was a way to just change the default value of the time taken than having to keep clicking on the script all the time. Is there no way to do that?

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 3 months
Location: NY, USA

Post #6by selden » 18.06.2003, 18:52

Dr Ganymede,

I don't know. I'd have to dig through the source code on SourceForge. You'd probably do just as well as I could, if not better, at finding the relevant code, since I'm not fluent in C++. Hopefully one of the developers will chime in here.
Selden

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

Post #7by chris » 18.06.2003, 19:59

There's no way to do it in the UI right now, although it's a fairly simple code modification to the code. I'll see about exposing it somehow, either through the UI or a script command.

--Chris

Topic author
Evil Dr Ganymede
Posts: 1386
Joined: 06.06.2003
With us: 21 years 6 months

Post #8by Evil Dr Ganymede » 18.06.2003, 20:23

That would be very cool. Thanks! :)

Darkmiss
Posts: 1059
Joined: 20.08.2002
With us: 22 years 3 months
Location: London, England

Post #9by Darkmiss » 18.06.2003, 22:25

It would be much better through the UI.

Would there be a way to have a blank box setting in the options
where you just type any number in, and it would use that number for the amount of seconds to fly to an object ?

Or at least a drop down selection like you use for the screen size
ranging from 5 to ??? seconds
CPU- Intel Pentium Core 2 Quad ,2.40GHz
RAM- 2Gb 1066MHz DDR2
Motherboard- Gigabyte P35 DQ6
Video Card- Nvidia GeForce 8800 GTS + 640Mb
Hard Drives- 2 SATA Raptor 10000rpm 150GB
OS- Windows Vista Home Premium 32

Guest

Post #10by Guest » 19.06.2003, 06:13

perhaps a logarithmic scale would work better ..... ie something like earth to moon takes 3 seconds ..... earth to mars takes 6 seconds ... earth to pluto takes 20 seconds ..... just a thought

jamarsa
Posts: 326
Joined: 31.03.2003
With us: 21 years 8 months
Location: San Sebastian (Spain)

Post #11by jamarsa » 19.06.2003, 07:29

perhaps a logarithmic scale would work better ..... ie something like earth to moon takes 3 seconds ..... earth to mars takes 6 seconds ... earth to pluto takes 20 seconds ..... just a thought


Going out the galaxy... 20 years? :wink:

Darkmiss
Posts: 1059
Joined: 20.08.2002
With us: 22 years 3 months
Location: London, England

Post #12by Darkmiss » 19.06.2003, 16:45

LOL :lol: :lol: :lol: :lol: :lol: :lol:
CPU- Intel Pentium Core 2 Quad ,2.40GHz

RAM- 2Gb 1066MHz DDR2

Motherboard- Gigabyte P35 DQ6

Video Card- Nvidia GeForce 8800 GTS + 640Mb

Hard Drives- 2 SATA Raptor 10000rpm 150GB

OS- Windows Vista Home Premium 32

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 2 months
Location: Manassas, VA

Post #13by fsgregs » 20.06.2003, 16:27

I too would support a global option to slow down the "goto" time, perhaps via a line in the cfg file.

:D

Frank

Paolo
Posts: 502
Joined: 23.09.2002
With us: 22 years 2 months
Location: Pordenone/Italy

Post #14by Paolo » 20.06.2003, 17:08

I agree with Darkmiss.
A small UI implementation should be better.
I'll insert in my feature requests list.

Paolo
Remember: Time always flows, it is the most precious thing that we have.
My Celestia - Celui


Return to “Celestia Users”