Page 1 of 1

Too many star labels in 1.5.1!

Posted: 27.05.2008, 02:41
by foravalon
Hey guys, I've been out of the scene for a little while, and I missed the premier of the new versions, I was still on 1.4.1 and have just downloaded 1.5.1, overall very pretty. But one thing that's totally jarring are all the Star Labels! I can't figure out how to configure it to display only the stars I want.

In 1.4.1 this was easy, the cfg file dictated what star labels were shown, this was great. Now it seems the new version just shows ALL the star labels, ugh sensory overload! The cfg file has no bearing on this now other than to dictate the label alias it seems.

Sure I can diminish the magnitude but that doesn't let me enable the star labels I want and disable the rest. Does anyone Have any clue how I could do this? I would be grateful beyond words.

Also, does anyone know how to change the color of the Star name labels?

Re: Too many star labels in 1.5.1!

Posted: 29.05.2008, 00:59
by Danial
I thought the exact same thing and would also like to know how to reduce the number of labels without reducing the magnitude.

Re: Too many star labels in 1.5.1!

Posted: 29.05.2008, 10:44
by selden
One way to provide the labels you want is to define them as DSC OpenCluster objects. They'll be visible whenever Celestia starts. The visibility of OpenCluster objects is selectable from the Render menu.

Another is to define them as Markers by writing a CelX script. They'll be visible whenever you run the script, which could toggle them if you write that functionality.

Hmmm. Maybe not. I thought there was a CelX function to draw a marker at a specified coordinate, but I don't see it listed among the new CelX functions listed at
viewtopic.php?f=9&t=10936
Apparently it's a v1.6.0 function. See http://en.wikibooks.org/wiki/Celestia/C ... erencemark

Re: Too many star labels in 1.5.1!

Posted: 29.05.2008, 13:15
by chris
selden wrote:One way to provide the labels you want is to define them as DSC OpenCluster objects. They'll be visible whenever Celestia starts. The visibility of OpenCluster objects is selectable from the Render menu.

Another is to define them as Markers by writing a CelX script. They'll be visible whenever you run the script, which could toggle them if you write that functionality.

Hmmm. Maybe not. I thought there was a CelX function to draw a marker at a specified coordinate, but I don't see it listed among the new CelX functions listed at
http://celestiaproject.net/forum/viewtopic.php?f=9&t=10936
Apparently it's a v1.6.0 function. See http://en.wikibooks.org/wiki/Celestia/C ... erencemark

That function adds reference marks like arrows and grids. The function that you want is object:mark(), which in 1.6.0 can add a labeled marker to an object:
http://en.wikibooks.org/wiki/Celestia/C ... bject#mark

Code: Select all

function labelstar(name)
      star = celestia:find(name)
      if star then star:mark("blue", "diamond", 0, 1, name) end
end

-- Now label all the stars you want
labelstar("Rigel")
labelstar("Sirius")
labelstar("Vega")
-- etc. --


Again, this will only work with 1.6.0 (i.e. you need to compile from SVN or use one of cartrite's previews) in order to be able to use labeled markers.

--Chris

Re: Too many star labels in 1.5.1!

Posted: 31.05.2008, 20:21
by foravalon
Thank you Chris and Selden, those new celx command functionalities are too cool for words, I can't wait to start playing around with them!