Celestia 1.7.0 Development Thread

The place to discuss creating, porting and modifying Celestia's source code.
Janus
Posts: 537
Joined: 13.08.2016
With us: 8 years 1 month

Post #361by Janus » 09.05.2019, 20:42

Does it compile in straight windows yet?

I ask because I am only setup to deal with static linking via VS.
I do not currently have QT installed, though I could I guess.

Which QT version are you using, exactly which version, x.y.z.??, even tiny differences cause problems with QT.
And I cannot run cmake, it is incompatible with my system setup, so I would need a set of pro files to pull cmake recursiveness out of.

Janus.

EDIT: Clarity and spilling.

pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 8 months
Location: Wrocław
Contact:

Post #362by pirogronian » 10.05.2019, 05:44

@Janus

As appveyor didn't compile my branch due to conflicts, I don't know how about Windows compatibility.

My Qt version is 5.12.3.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Janus
Posts: 537
Joined: 13.08.2016
With us: 8 years 1 month

Post #363by Janus » 12.05.2019, 00:06

Okay, I got the QT version of the astrodb branch to compile and run for me.
Grabbed a fresh install to redo my efforts cleanly without all messes I made, and it works now.
All libraries static, except QT of course, so it needs the VS2015 redists.

I am having no problems with stars blinking at all.

Compiled VS2015 QT 5.10,1 to match the version in the bin releases.
I am also avoiding 5.12 because it only supports VS2017 in x86, VS2015 is x64 only, which is annoying.


Janus.

pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 8 months
Location: Wrocław
Contact:

Post #364by pirogronian » 12.05.2019, 08:42

@Janus
Yesterday I fixed with some trials and errors, the blinking problem. If You used last snapshot, it should contain my fix.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 1 month
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #365by Lafuente_Astronomy » 12.05.2019, 14:28

Janus

It somehow does not work on my Celestia 1.7.0 with the May 5 Update. This is the warning that comes out:
Problem 1.png


Added after 41 seconds:
pirogronian wrote:@Janus
Yesterday I fixed with some trials and errors, the blinking problem. If You used last snapshot, it should contain my fix.

Good Job! Well, what's the next thing that you're going to do? Just curious
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 8 months
Location: Wrocław
Contact:

Post #366by pirogronian » 12.05.2019, 14:50

Lafuente_Astronomy wrote:Well, what's the next thing that you're going to do? Just curious

Find out why database cannot find several stars with "HIP xxx" and "TYC xxx" names, what cause several exoplanets fails to load.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 1 month
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #367by Lafuente_Astronomy » 12.05.2019, 15:01

Ahhh. So there are still some problems regarding star identity? Got it. Happy bug hunting, man :smile:
As such, does this problem affect starnames.dat as a whole?
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 8 months
Location: Wrocław
Contact:

Post #368by pirogronian » 12.05.2019, 15:29

@Lafuente_Astronomy
I think it may be related with cross index.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Janus
Posts: 537
Joined: 13.08.2016
With us: 8 years 1 month

Post #369by Janus » 12.05.2019, 15:53

@Lafuente_Astronomy

Your issue is one of those reasons I personally dislike/{stronger words}, QT as a whole.
Error 7B is a generic mismatch designation, that provides no further details.
QT makes no naming distinctions between any files in the same series, all QT5 releases have identical names.
This holds true for all QT5.x.y releases, whether x86 or x64, all the names are the same.
QT5.10.2 may or may not work a program compiled for QT5.10.1, or any other QT5.10.y release.
There is also no way from the names or properties displayed, to tell x86 from x64.

So here is a quick recompile.
In it is QT5.10.1 in x86 & x64 both.
I also included a QT5.12.3 compile, but only in x64, since there is no x86 release for that version.

I will be working on the generic VS release, and will post it here when I get it done.
I need a break from writing what feels like a toddlers guide to grounding.

Anyway, I hope one of these works for you.


Janus.

pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 8 months
Location: Wrocław
Contact:

Post #370by pirogronian » 12.05.2019, 18:37

Lafuente_Astronomy wrote:So there are still some problems regarding star identity? Got it. Happy bug hunting, man :smile:

Thank You :smile: Already fixed. It's happy time for me :toothless:
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 1 month
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #371by Lafuente_Astronomy » 12.05.2019, 22:58

pirogronian wrote:Thank You Already fixed. It's happy time for me

That that's really a great day for you! With regards to astrodb, can starnames.dat allow identifiers other than HIP and TYC or is that still in development?

Added after 4 minutes 28 seconds:
Also, in the "New Celestia catalog data specification - request for opinion" post: viewtopic.php?f=4&t=19521&start=80, I made a suggestion for a more comprehensive and detailed Star Information list, which should only be present when one selects "Verbose" in the "Information Text" in the "View Options" part. I'll just quote it here for easier reference:

Lafuente_Astronomy wrote:Looks great. It's specific enough to include information from other catalogs. But I'm certain Celestia's catalog will be a larger and more ambitious version of that. That being said, the way the catalog orders the information is good. But because this is Celestia, it has some fields that already measure the stars themselves. However, in light of more specific updates and new catalogs providing newer, more accurate and more specific data than ever before, I suggest that for an upgrade to Celestia's Star information text field, it should go like this:

-Universal Object Identifier Designation (If the developers will put a universal database catalog in Celestia)
-Main proper name (If it has one)
-Secondary proper names (If the star has any secondary proper names)
-Bayer Designation (If it has one)
-Flamsteed Designation (If it has one)
-GCVS Designation (If it has one, and if it's a variable star)
-Astronomical Catalog Identifiers/Designations (If the star is a member of numerous catalogs)
-Constellation which contains it
-Distance from The User
-Distance from Earth
-Estimated Age of the Star
-Absolute(Apparent) Magnitude
-Star Type
-Star Class Spectrum Type
-Star Class Color Index
-Apparent Diameter
-Surface Temperature
-Solar Radius/Diameter
-Rotation Period
-Number of Planetary Bodies
-Number of Natural Satellites and Artificial Satellites (Natural Satellites/Artificial Satellites)
-Number of Minor Planets, Asteroids, Planetoids and Comets (Minor Planets/Asteroids/Planetoids/Comets)
-Number of Other SSO (Solar System Objects)
-Right Ascension (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Declination (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Star Coordinates (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Stellar Parallax (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Proper Motion By Axes (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Proper Motion Position Angle (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Proper Motion Speed (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Mean Sidereal Time (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Apparent Sidereal Time (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Time of Rise (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Time of Transit (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Time of Set (Equatorial, Ecliptic, Azimuthal/Based on The User's Location, Galactic, Supergalactic/Universal)
-Short Description on the Star (Optional, could only be activated if "Verbose" is clicked)


I based this on some of the fields in the Database found on the Astro Nexus HYG Catalog, as well as a few specific fields from Stellarium. To the developers, you are free to include this or not. In fact, I think you guys absolutely have better judgment than me on what fields to include in the star information text field, and information text fields in general of future Celestia updates. In short, I only suggested this. The action to include all these, some of these or not is entirely up to you.

You can add some or all of them, it entirely depends on you
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 8 months
Location: Wrocław
Contact:

Post #372by pirogronian » 12.05.2019, 23:58

Lafuente_Astronomy wrote:With regards to astrodb, can starnames.dat allow identifiers other than HIP and TYC or is that still in development?

Yes, astrodb allows for any numeric id for astronomical object. But for backward compat there are two rules:
1. Id less than 999999 is interpreted as HIP nr.
2. Id between 999999 and 0xf0000000 is interpreted as TYC nr.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 1 month
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #373by Lafuente_Astronomy » 13.05.2019, 03:22

pirogronian wrote:Yes, astrodb allows for any numeric id for astronomical object. But for backward compat there are two rules:
1. Id less than 999999 is interpreted as HIP nr.
2. Id between 999999 and 0xf0000000 is interpreted as TYC nr.

Alright. How about beyond 0xf0000000? Just curious
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 8 months
Location: Wrocław
Contact:

Post #374by pirogronian » 13.05.2019, 06:09

Lafuente_Astronomy wrote:How about beyond 0xf0000000?

Really nothing except pure abstract identification of object in external cross-indexes :wink:
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 1 month
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #375by Lafuente_Astronomy » 13.05.2019, 06:56

So beyond that, theoretically, I can just create any number I want? Like since 999999 is HIP limit, 1000000 would be the number beyond 0xf0000000, therefore allowing me to include Gaia Numbers? If yes, then it could be awesome! No limits to identifiers!

Added after 3 minutes 43 seconds:
So, with regards to the astrodb, will there be a new compile for download in Bintray?
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 8 months
Location: Wrocław
Contact:

Post #376by pirogronian » 13.05.2019, 07:03

@Lafuente_Astronomy
More precisely, ids beyond 0xf0000000 may be bound to Gaia numbers via cross index.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 1 month
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #377by Lafuente_Astronomy » 13.05.2019, 09:16

pirogronian wrote:@Lafuente_Astronomy
More precisely, ids beyond 0xf0000000 may be bound to Gaia numbers via cross index.

That's awesome! I've always wanted to do Gaia Identifiers but the Gaia Archives are just too hard for my little and simple brain to understand. Perhaps there are members here who can understand and compile the Gaia Archives for us to utilize. After all, they have to be included for Celestia to make it keep up with the others, or perhaps surpass them
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Topic author
onetwothree
Site Admin
Posts: 705
Joined: 22.09.2018
With us: 5 years 11 months

Post #378by onetwothree » 13.05.2019, 10:00

pirogronian wrote:2. Id between 999999 and 0xf0000000 is interpreted as TYC nr.
Isn't it too wide?

pirogronian
Developer
Posts: 234
Joined: 05.01.2018
Age: 38
With us: 6 years 8 months
Location: Wrocław
Contact:

Post #379by pirogronian » 13.05.2019, 13:47

onetwothree wrote:Isn't it too wide?

Maybe. I only adopted already existing code.
Still formally developer, but too tired to develop. I feel sad, but Celestia is going forward despite it.
Btw, the universe is ruled by electricity.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 1 month
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #380by Lafuente_Astronomy » 13.05.2019, 14:03

pirogronian wrote:Maybe. I only adopted already existing code.

In relation to the numbers beyond 0xf0000000, where does it start? Which number or value begins after 0xf0000000?
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.


Return to “Development”