Page 1 of 1

problem with the constellation Hydra

Posted: 12.01.2022, 06:28
by gironde
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

Posted: 12.01.2022, 15:48
by SevenSpheres
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.

Posted: 12.01.2022, 19:56
by ajtribick
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.

Posted: 12.01.2022, 20:30
by gironde
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

Posted: 12.01.2022, 20:46
by SevenSpheres
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

Posted: 12.01.2022, 22:20
by gironde
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

Posted: 12.01.2022, 22:24
by SevenSpheres
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 221 times

Posted: 12.01.2022, 22:36
by ajtribick
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)

Posted: 12.01.2022, 23:40
by gironde
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: