Celestia 1.7.0 Development Thread

The place to discuss creating, porting and modifying Celestia's source code.
Avatar
vpontin
Posts: 36
Joined: 20.04.2017
Age: 31
With us: 7 years 5 months
Contact:

Post #221by vpontin » 21.03.2019, 07:27

Interesting. I think for it happen a full transition to x64 will be obligatory. And other efficiency changes to data file consuming to load so much data.

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 #222by Lafuente_Astronomy » 21.03.2019, 07:29

vpontin wrote:Interesting. I think for it happen a full transition to x64 will be obligatory. And other efficiency changes to data file consuming to load so much data.

Agreed. If I remember, that's one of the aims of developing Celestia 1.7.0. I think in the very first post of this thread, onetwothree said something like that. I'll try to look

Added after 2 minutes 11 seconds:
Actually, he didn't say anything about transitioning the program to x64. But I do think that's an objective
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.

Avatar
cartrite
Posts: 1978
Joined: 15.09.2005
With us: 19 years
Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine

Post #223by cartrite » 21.03.2019, 23:05

john71 wrote:OK, these are the solar system bugs:

red earth.png

black moon.png


cel://Follow/Sol:Earth/2019-01-18T06:38:08.54844? ... 579132347&lm=2198&tsrc=0&ver=4


cel://Follow/Sol:Earth:Moon/2019-01-18T06:40:45.2 ... 579132347&lm=2198&tsrc=0&ver=4

Selden,

The Earth is red, the Moon is totally black from every angle.

I suspect it is not an ambient light problem, it is a texture problem.

There are no reflective surfaces.

Comparison: fictional planet with maximum ambient light in Alexell's version of Celestia

ambient.png

The same planet with the new build

white surface.jpg

I suppose I don't have to use any files from the Celestia 1.6.1 version...?

Because I use the provided 7z file as it is.
At least one image (white surface) from this post looks like what I was experiencing with normalmaps, should be fixed now. See viewtopic.php?p=142691#p142691
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 1 month

Post #224by john71 » 25.03.2019, 11:18

Would the developers be so kind to give us a new Celestia exe file to try? :smile:

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

Post #225by onetwothree » 25.03.2019, 13:38

You can easily compile it yourself :)

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 1 month

Post #226by john71 » 25.03.2019, 13:55

:fie: :help:

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

Post #227by pirogronian » 25.03.2019, 16:31

@onetwothree
@john71
I just red something about corss-compiling using cmake, but stucked in... Otherwise, maybe I'll could produce windows binaries from time to time.
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.

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

Post #228by onetwothree » 25.03.2019, 17:34

The problem with crosscompiling is that you should have windows qt binaries as you need to patch qt libs using winqtdeploy application. It's possible to crosscompile qt libs but not tools.

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

Post #229by Janus » 25.03.2019, 17:39

Here, have some non official slightly tweaked binaries.
The display limit is set for 1GigaLY, and the debug error for albedo is removed, all it does is litter {developer} debug logs anyway.
As usual for my stuff, VS2015, fully static linked, stand alone.

I have no intention of bothering with the QT version unless there is a specific reason to do so.

If you are also wanting the updated ssc data, try looking in My Downloads for commit 5436.
The 7z archive is ~52MB.


Janus.

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

Post #230by onetwothree » 25.03.2019, 18:28

A new win snapshot is published to our bintray repository

Changes are:
- bugfix for specular maps, john71 could you check the bugs you reported earlier?
- duplicated entries for dwarf planets were removed
- location type for ring labels was changed from Other to Ring.

Added after 1 minute 27 seconds:
Janus wrote:and the debug error for albedo is removed, all it does is litter {developer} debug logs anyway.
Could you share what have you changed?

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

Post #231by Janus » 25.03.2019, 19:08

@onetwothree

/src/celengine/solarsys.cpp:818

I simply commented it out.
Basically all older addons or extras use albedo directly.
Straight deprecation, even with a warning like that, breaks backwards compatibility.
Just let it "fail" in a compatible manner.
Even if you manage to force everyone to rewrite all the entries, you would also be forcing people to guess which is the proper path.
Their source may not have albedo, or whatever, broken down to the level you want, so they can't be as accurate or precise as you want.


Janus.

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 #232by Lafuente_Astronomy » 25.03.2019, 22:12

Janus

I noticed that your fork commits 5423 beyond prevents most of the Constellation diagrams from being shown. This could be problem as it is probable that your fork, in attempting to allow new stuff, has tampered with the system that allows the Constellation diagrams to appear in the first place:

As you see here:
A little piece of Monoceros.jpg

There's only one diagram line shown in the Constellation of Monoceros

Is there a way to solve this? Thanks in advance

Added after 1 minute 25 seconds:
Note: I used your latest commit, 5436
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.

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

Post #233by Janus » 25.03.2019, 23:18

Not me, this is a text handling regression.

During the greek stuff in name handling "upgrades" recently, changes were made to how labels were parsed.

Now neither 'Alpha Mon', nor 'alpha mon', nor any other purely text label matches, 'α Mon', whether from the keyboard, or in a name search.
This applies to any greek letter in a name, I have not tested for other languages, but it wouldn't surprise me.

Try hitting enter and selecting 'alpha centauri', good luck.
It wants to match, it shows a match, but fails to select.

Janus.

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 #234by Lafuente_Astronomy » 26.03.2019, 04:51

So, that means I'll have to revamp the entire asterisms.dat file just to make it work? Alright then
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.

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

Post #235by Janus » 26.03.2019, 05:20

It was the change in text handling that broke it.
Not enough regression testing was done.
Matching should be done at search, not at load, breaks backwards compatibility.
Take a look at the Feb 8th greek commits to see how it was changed.

It should display the greek replacements, not store them, transforming search to match as needed.
Always store the names in the database in as close to plain text as you can get.
Simply do the opposite of the the greek changes did, and replace inserted greek with its plain text eqiuivalent before search.
Showing 'α' as part of a name is fine, but it isn't going to consistently match across languages, and it also fails to match alpha, or Alpha.
Shouldn't the PO or PO2 files be able to handle exact replacements like that?

I am tempted to undo it just for testing purposes.
In fact, I think I will once I get caught up, current job is very frustrating, every time I think I have fixed a problem, it is just another symptom.
It feels like the real problem is saying, I'm sorry; but the princess is another castle, over and over.


Janus.

Edited for clarity.

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

Post #236by pirogronian » 26.03.2019, 06:15

@Janus
@Lafuente_Astronomy
Just tested: selecting, both from kayboard and from browser, works, both for greek and non-greek letter names. However, constelation diagrams are indeed invisible, except two lines with Epsilon Mon A.
Edit: I got it: It doesn't work for entering plain text "as is", just for prepared completions. Fix is on the way.
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.

john71
Posts: 1009
Joined: 10.08.2016
With us: 8 years 1 month

Post #237by john71 » 26.03.2019, 09:30

Thanx for everyone!!! :clap:

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 #238by Lafuente_Astronomy » 26.03.2019, 11:53

pirogronian wrote:@Janus
@Lafuente_Astronomy
Just tested: selecting, both from kayboard and from browser, works, both for greek and non-greek letter names. However, constelation diagrams are indeed invisible, except two lines with Epsilon Mon A.
Edit: I got it: It doesn't work for entering plain text "as is", just for prepared completions. Fix is on the way.

Alright, thanks guys!

Hopefully that would allow the capacity to make asterisms.dat files for other systems so that I can make asterisms as seen from other solar systems out of fun or just reference
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 #239by pirogronian » 26.03.2019, 12:40

Here is fix PR, if someone can't wait for merging into master... https://github.com/CelestiaProject/Celestia/pull/249
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 #240by Janus » 26.03.2019, 16:13

It may be just me, but this still doesn't work.

Whatever all was done, ALF ~= Alpha ~= 'α', and even text searches using enter fail to match, even though they appear to.
What you type is narrowed to a match, then the selection does not change when you hit enter again.

Try searching for alpha centauri.
alpha will get you a match on 'α', then cen narrows it to A:B:C, hit 'A' leaving you with 'α Cen A' showing as a match.
When you hit enter to select it, nothing happens.
Same problem as reading the asterisms.dat file, only with user input.


Janus.


Return to “Development”