Too many star labels in 1.5.1!

General discussion about Celestia that doesn't fit into other forums.
Topic author
foravalon
Posts: 50
Joined: 07.05.2005
With us: 19 years 6 months
Location: Santa Rosa, CA

Too many star labels in 1.5.1!

Post #1by foravalon » 27.05.2008, 02:41

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?
Foravalon's most common phrase: "So, yeah, um, how do you do this... ?"

Danial
Posts: 33
Joined: 31.03.2008
Age: 45
With us: 16 years 7 months
Location: Gold Coast, Australia

Re: Too many star labels in 1.5.1!

Post #2by Danial » 29.05.2008, 00:59

I thought the exact same thing and would also like to know how to reduce the number of labels without reducing the magnitude.

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

Re: Too many star labels in 1.5.1!

Post #3by selden » 29.05.2008, 10:44

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
Selden

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

Re: Too many star labels in 1.5.1!

Post #4by chris » 29.05.2008, 13:15

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

Topic author
foravalon
Posts: 50
Joined: 07.05.2005
With us: 19 years 6 months
Location: Santa Rosa, CA

Re: Too many star labels in 1.5.1!

Post #5by foravalon » 31.05.2008, 20:21

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!
Foravalon's most common phrase: "So, yeah, um, how do you do this... ?"


Return to “Celestia Users”