No temporal bookmarks

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 11 months

No temporal bookmarks

Post #1by ElChristou » 05.02.2009, 18:10

Guys, could it be possible to save a bookmark without temporal data? (just location, to visit the same place at the present date without having to do goto date)
Image

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

Re: No temporal bookmarks

Post #2by chris » 05.02.2009, 18:24

ElChristou wrote:Guys, could it be possible to save a bookmark without temporal data? (just location, to visit the same place at the present date without having to do goto date)

This is supported in version 1.6.0, though it's not exposed in the UI yet (except in the Qt4 version.) However, bookmarks use cel URLs, and you can edit cel URLs by hand to do what you want. To change how time is set when the cel URL is clicked, change the value of tsrc (time source) in the URL string. Here's a typical URL:

Code: Select all

cel://Follow/Sol:Cassini/2009-02-05T18:27:11.54927?x=ytohaRA&y=aBGfof3//////////////w&z=arQwqxI&ow=0.911612&ox=0.0283231&oy=-0.354058&oz=0.206893&select=Sol:Cassini&fov=34.7467&ts=1&ltd=0&p=0&rf=2741523&lm=2&tsrc=0&ver=3


Note that tsrc=0, which means that when this URL is clicked, time will be set to whatever value is stored in the URL. The other possible values of tsrc are:

1: Time source is the current simulation time in Celestia, meaning that the time will be unchanged when the user clicks the URL. This is the setting that you want.
2: Time source is the current system time. When the URL is clicked, the simulation time will be set to the actual current time.

--Chris

Topic author
ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 11 months

Re: No temporal bookmarks

Post #3by ElChristou » 05.02.2009, 18:40

Hey tx for the tip!

How such detail will be handled within the future UI? some new menu items?
Image

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

Re: No temporal bookmarks

Post #4by chris » 05.02.2009, 18:44

ElChristou wrote:Hey tx for the tip!

How such detail will be handled within the future UI? some new menu items?

Either new menu items or with check boxes in the 'Add Bookmark' dialog. The Qt4 version currently does the latter.

--Chris


Return to “Development”