URL RFC
Posted: 22.07.2002, 22:42
I'm working on a KDE interface for Celestia (based on 1.2.4), I've got almost all the features of the GTK/Gnome version implemented (minus the Tour guide and the star borwser, and plus a few niceties like saved preferences, configurable keybindings and a configurable toolbar). I'm also thinking about implementing some browser like functions: history, bookmarks and links - wouldn't it be nice to exchange links on the forum?
For that we need to define a URL format able to hold celestia state information (simulation and maybe some of the renderer's too). Obviously a URL also needs to be human readable, to a certain extent at least, and it should allow for some of the information to be missing (we should provide sensible and consistant defaults).
That could be something like:
cel://primary-mode/body1/[body2/][secondary-mode/body/][select/body/]
[ISO8601 UTC Timestamp/]?parameters...
where parameters would be the observer position, orientation, angular velocity, velocity... time settings, renderer flags...
An example:
cel://Fallow/Moon/Track/Earth/2002-01-0 ... y=...&z=...
I haven't really looked into the simulation's internals yet, so I'm not even sure that's feasible.
What do you think? Is it a good idea?
Christophe
For that we need to define a URL format able to hold celestia state information (simulation and maybe some of the renderer's too). Obviously a URL also needs to be human readable, to a certain extent at least, and it should allow for some of the information to be missing (we should provide sensible and consistant defaults).
That could be something like:
cel://primary-mode/body1/[body2/][secondary-mode/body/][select/body/]
[ISO8601 UTC Timestamp/]?parameters...
where parameters would be the observer position, orientation, angular velocity, velocity... time settings, renderer flags...
An example:
cel://Fallow/Moon/Track/Earth/2002-01-0 ... y=...&z=...
I haven't really looked into the simulation's internals yet, so I'm not even sure that's feasible.
What do you think? Is it a good idea?
Christophe