problem with the constellation Hydra

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
gironde M
Posts: 850
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

problem with the constellation Hydra

Post #1by gironde » 12.01.2022, 06:28

The name of the constellation Hydra appears outside its boundaries, within the borders of the constellation Crater. Is there a way to move it? In which file should you intervene? (Celestia 1.6.1 and 1.6.2.2)

In the picture, the marked pulsar is in Hydra but we can see that the name of the constellation is inside Crater



Sans titre 2.jpg

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 1 month

Post #2by SevenSpheres » 12.01.2022, 15:48

On my end Hydra's label is within its boundaries (although part of the constellation lines do cross over into Crater for some reason). Are you using the default asterisms.dat and boundaries.dat?
hydra.png

Also, try my pulsar catalog. It's up to date and doesn't use fake HIP numbers.
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Post #3by ajtribick » 12.01.2022, 19:56

SevenSpheres wrote:although part of the constellation lines do cross over into Crater for some reason

As far as I'm aware, the Celestia asterisms are based on the IAU/Sky&Telescope ones. Their diagram for Hydra draws the constellation line through Alpha and Beta Crateris.

Avatar
Topic author
gironde M
Posts: 850
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #4by gironde » 12.01.2022, 20:30

here is the header of my asterism.dat file :

Code: Select all

#  =================================================
#  asterisns.dat
#  Ханс Аугусто Рей. Звезды. Новые очертанния старых созвездий.
#  Очертания созвездий Алана МакРоберта (Alan MacRobert) на основе идей Рея. Астрономический журнал "Sky & Telescope
#  Перерисовка очертаний Лыгин Геннадий (aka Croc). Редакция от 12.06.2016

# Hans Augusto Rey. Stars. New outlines of the old constellations.
# Alan MacRobert constellation outlines based on Ray's ideas. Astronomical magazine "Sky & Telescope
# Redrawing the outlines of Lygin Gennady (aka Croc). Edition of 12.06.2016
#  =================================================


my boundaries.dat file has no header

I put the 2 files delivered with celestia 1.6.2.2, the result is the same

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 1 month

Post #5by SevenSpheres » 12.01.2022, 20:46

gironde wrote:here is the header of my asterism.dat file :

That's not the default asterisms.dat. Did you try the default file?

asterisms.zip
(3.33 KiB) Downloaded 260 times
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED

Avatar
Topic author
gironde M
Posts: 850
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #6by gironde » 12.01.2022, 22:20

With your asterisms.dat file

Sans titre 3.jpg


the Hydra label is still positioned outside the boundaries of the constellation. I don't think it's asterisms.dat that positions the label. He just draws the stylized constellations. The boundaries are drawn by boundaries.dat. Is the label also positioned by this file?

I have recovered atnf_pulsar 1.66, thanks

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 1 month

Post #7by SevenSpheres » 12.01.2022, 22:24

gironde wrote:the Hydra label is still positioned outside the boundaries of the constellation. I don't think it's asterisms.dat that positions the label. He just draws the stylized constellations. The boundaries are drawn by boundaries.dat. Is the label also positioned by this file?

Corvus still looks different in your screenshot than in mine; your Celestia may still be reading the custom asterisms.dat. I don't think anyone has modified boundaries.dat, but here's the default version anyway:

boundaries.zip
(131.58 KiB) Downloaded 222 times
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Post #8by ajtribick » 12.01.2022, 22:36

Looking at render.cpp, the constellation label is positioned at the average position of the first chain of the constellation diagram. For the default file in 1.6.x, this would be the chain consisting of "Gamma Hya", "Beta Hya" and "Xi Hya".

Maybe there's a problem with your asterisms.dat file (or starnames.dat, if the relevant names haven't been defined)

Avatar
Topic author
gironde M
Posts: 850
Joined: 16.12.2016
Age: 72
With us: 7 years 11 months
Location: Montigny-Les-Metz, France

Post #9by gironde » 12.01.2022, 23:40

since the beginning of the evening, I have been killing myself to make the modifications in the wrong celestia folder. (I have 2 installations). Now that I understand this, SevenSpheres files are working fine. :pray: :pray: :pray: :pray:

Sans titre 4.jpg


Thank you all for your help :smile: :smile: :smile:


Return to “Bugs”