For test results, bug reports, announcements of new builds etc.
Moderators: winston , another_commander , Getafix
phkb
Impressively Grand Sub-Admiral
Posts: 4830 Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.
Post
by phkb » Sun Aug 20, 2023 2:53 pm
Oh, that's a relief! I thought it was just me, and my PC was starting a long, slow death spiral. I mean, it could still be doing that, but at least I'm not going mad.
I mean, I still might be going mad, but at least it's not as obvious now. Right?
Right?
Redspear
---- E L I T E ----
Posts: 2706 Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.
Post
by Redspear » Sun Aug 20, 2023 3:03 pm
phkb wrote: ↑ Sun Aug 20, 2023 2:53 pm
I mean, I still might be going mad, but at least it's not as obvious now. Right?
Don't worry, you can't go mad once you're already there
...pass the gravel would you?
another_commander
Quite Grand Sub-Admiral
Posts: 6705 Joined: Wed Feb 28, 2007 7:54 am
Post
by another_commander » Sun Aug 20, 2023 5:40 pm
I think I got something. Please test this:
Open your oolite-default-atmosphere.fragment and change this code at the end
Code: Select all
gl_FragColor = vec4(totalColor, newOpacity);
to
Code: Select all
gl_FragColor = vec4(totalColor, clamp(newOpacity, 0.0, 1.0));
Keep the gas giant radius to 20000 as it originally is, Does the above change solve your issue? It did for me and I even set gg eadius to 30000 and it still was fine.
Redspear
---- E L I T E ----
Posts: 2706 Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.
Post
by Redspear » Sun Aug 20, 2023 6:40 pm
I appreciate that last message likely wasn't for me but after applying the above change...
Radius in excess of 20,000km combined with rescaling planet multiplier of 3.5, therefore > 70,000km equivalent.
Previously this would have either resulted in a 'black hole' or a crash.
another_commander
Quite Grand Sub-Admiral
Posts: 6705 Joined: Wed Feb 28, 2007 7:54 am
Post
by another_commander » Sun Aug 20, 2023 7:08 pm
I already checked in the fix with commit 7d2efe0. The root cause was that, because of the extreme size of the planets, sometimes the atmosphere shader was generating NaN for the atmosphere opacity value. We now clamp the opacity between 0.0 and 1.0, so any NaN will automatically convert to 0.0 and the shader will be saved.
Cody
Sharp Shooter Spam Assassin
Posts: 16081 Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:
Post
by Cody » Sun Aug 20, 2023 7:41 pm
Given that it's fixed, could that black hole be recreated as a one-off? I'm thinking of an OXP that plonks a small but massive black hole in a system.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
another_commander
Quite Grand Sub-Admiral
Posts: 6705 Joined: Wed Feb 28, 2007 7:54 am
Post
by another_commander » Sun Aug 20, 2023 7:47 pm
Cody wrote: ↑ Sun Aug 20, 2023 7:41 pm
Given that it's fixed, could that black hole be recreated as a one-off? I'm thinking of an OXP that plonks a small but massive black hole in a system.
How about making a pllanet with a fully black texture?
cbr
---- E L I T E ----
Posts: 1430 Joined: Thu Aug 27, 2015 4:24 pm
Post
by cbr » Sun Aug 20, 2023 8:25 pm
So I darkened phkb's Charon V Giant3 and set out to find it again...
It needs a few extra settings to work
Redspear
---- E L I T E ----
Posts: 2706 Joined: Thu Jun 20, 2013 10:22 pm
Location: On the moon Thought, orbiting the planet Ignorance.
Post
by Redspear » Sun Aug 20, 2023 9:15 pm
another_commander wrote: ↑ Sun Aug 20, 2023 7:47 pm
Cody wrote: ↑ Sun Aug 20, 2023 7:41 pm
Given that it's fixed, could that black hole be recreated as a one-off? I'm thinking of an OXP that plonks a small but massive black hole in a system.
How about making a pllanet with a fully black texture?
Almost certainly unbalanced but very simple and potentially interesting...
P = pull towards 'black hole', like it or not
r = km radius of 'black hole'
d = km distance from/to 'black hole'
P = r / k
Cody
Sharp Shooter Spam Assassin
Posts: 16081 Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:
Post
by Cody » Sun Aug 20, 2023 9:30 pm
Very small, but massively massive, likely to mess with torus drives, wouldn't show on the compass or scanner (so very hard to not-see).
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
Cholmondely
Archivist
Posts: 5409 Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:
Post
by Cholmondely » Sun Aug 20, 2023 10:25 pm
Cody wrote: ↑ Sun Aug 20, 2023 7:41 pm
Given that it's fixed, could that black hole be recreated as a one-off? I'm thinking of an OXP that plonks a small but massive black hole in a system.
This is something which I would
love to see.
hiran
Theorethicist
Posts: 2415 Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...
Post
by hiran » Sun Aug 20, 2023 10:31 pm
Cody wrote: ↑ Sun Aug 20, 2023 9:30 pm
Very small, but massively massive, likely to mess with torus drives, wouldn't show on the compass or scanner (so very hard to not-see).
Whatever the core of a star system is (I guess it would be the star as it is the biggest mass), the black hole would take over, right?
You would not place a black hole into a star system but a galaxy around a black hole...
Sunshine - Moonlight - Good Times - Oolite
Cholmondely
Archivist
Posts: 5409 Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:
Post
by Cholmondely » Sun Aug 20, 2023 10:49 pm
hiran wrote: ↑ Sun Aug 20, 2023 10:31 pm
Cody wrote: ↑ Sun Aug 20, 2023 9:30 pm
Very small, but massively massive, likely to mess with torus drives, wouldn't show on the compass or scanner (so very hard to not-see).
Whatever the core of a star system is (I guess it would be the star as it is the biggest mass), the black hole would take over, right?
You would not place a black hole into a star system but a galaxy around a black hole...
From what I've read there seem to be several - the witchpoint beacon, the sun (source of all in-game light), and the planet.
Reference:
Distance units (Aegidian, 2006)
Edited to add :
Black Hole - new wiki page with prototype OXP link
Last edited by
Cholmondely on Tue Sep 03, 2024 8:38 am, edited 1 time in total.
Cody
Sharp Shooter Spam Assassin
Posts: 16081 Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:
Post
by Cody » Mon Aug 21, 2023 2:24 pm
I've a feeling that no texture would look more like a black hole than an all-black texture. Can't check that though.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
hiran
Theorethicist
Posts: 2415 Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...
Post
by hiran » Tue Sep 03, 2024 3:47 pm
Cody wrote: ↑ Mon Aug 21, 2023 2:24 pm
I've a feeling that no texture would look more like a black hole than an all-black texture. Can't check that though.
If you want to see a black hole in space you not only see a red 'sphere'. You also see the effect on the light. It is like a gravitational lens bending light that is passing too close. Through that effect you can partly see what is going on behind.
https://en.m.wikipedia.org/wiki/Gravitational_lens
Sunshine - Moonlight - Good Times - Oolite