It would be nice to be able to specify classes of objects to display in the auto-complete Target name selection field that comes up after hitting the [Enter] key from the main screen in Celestia. E.g. The filter could be set to "Asteroids", and only asteroid targets then show up when you call up the Auto-complete target selection field. Other categories could include "Galaxies" (or "Nebula" or "Deep Space Objects"), "Planets", "Stars" (+ filters for sub-classes such as spectral class? e.g. "Stars G2 V"), "Spacecraft", "Moons".
Such a facility would allow more educational exploring of the Universe.
Tim Mc
Feature Request: Object Filters for Target Auto-Completion
Howdy Tim,
Sounds like a good idea.
How about implementing it (somewhat) via a celx script, until a real implementation can be done?
The user selects from a list (such as you proposed) and then the script "marks" all of the requested items Celestia has in it's database. Then, the script ends and the user can select and travel to the marked objects.
Just an idea.
Cheers,
-Don G.
Sounds like a good idea.
How about implementing it (somewhat) via a celx script, until a real implementation can be done?
The user selects from a list (such as you proposed) and then the script "marks" all of the requested items Celestia has in it's database. Then, the script ends and the user can select and travel to the marked objects.
Just an idea.
Cheers,
-Don G.
-
Topic authorTimMc
- Posts: 48
- Joined: 09.03.2004
- With us: 20 years 8 months
- Location: Danbury, London, U.K.
Possible celx script to classify targets
Don
I'll put your suggestion on my TODO list. It might take a while to surface unless I give up my day job!
I still look forward to an embedded facility in Celestia.
Regards, Tim Mc
I'll put your suggestion on my TODO list. It might take a while to surface unless I give up my day job!
I still look forward to an embedded facility in Celestia.
Regards, Tim Mc
Hi Tim,
The idea came from an example celx script in the CVS repository, that marks stars with a specific spectral type (below). That might give you some ideas.
The idea came from an example celx script in the CVS repository, that marks stars with a specific spectral type (below). That might give you some ideas.
Code: Select all
function mark_spectraltype(x)
local obs = celestia:getobserver()
local nstars = celestia:getstarcount()
local i = 0
while i < nstars do
star = celestia:getstar(i)
first, last = string.find(star:spectraltype(), x, 1, true)
if first == 1 then
star:mark("#ff99ff", "triangle", 10)
end
i = i + 1
end
end
spectral = "O"
celestia:flash("Marking all " .. spectral .. " stars.")
mark_spectraltype(spectral)
-Don G.
My Celestia Scripting Resources page
Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.
My Celestia Scripting Resources page
Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.
Re: Possible celx script to classify targets
TimMc wrote:I still look forward to an embedded facility in Celestia.
Yes, by all means!
-Don G.
My Celestia Scripting Resources page
Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.
My Celestia Scripting Resources page
Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.