Permanent cloud layer over night side in trunk

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Permanent cloud layer over night side in trunk

Post by Lestradae »

Not sure if this is a bug or somehow intended behaviour or if an oxp does it ...

But now I have installed Povray Planets instead of System Redux - and observe the same phenomenon with trunk rev5520 - the night side of planets is always completely covered in clouds, only the side directly in full sunlight can be seen.

Is this a known issue of trunk or some oxp or oxp combination? Or can I reduce cloud cover somehow?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Permanent cloud layer over night side in trunk

Post by cim »

There was a bug in 1.76 where if the planet was textured, the atmosphere generator wasn't seeded properly, and all the clouds ended up in a single starfish-like blob. That was fixed relatively recently in trunk.

Where the planet textures already include clouds (or are entirely clouds - a gas giant, or a Venusian world), this gives some odd effects, and the new cloud_alpha property in planetinfo.plist can be used to fade out the atmosphere layer.

What shouldn't be happening is the clouds all clustering on the night side (well, it could happen on occasion just through random chance, but it shouldn't generally be happening). I'll take a closer look when I get a moment.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Permanent cloud layer over night side in trunk

Post by Diziet Sma »

Lestradae wrote:
But now I have installed Povray Planets instead of System Redux - and observe the same phenomenon with trunk rev5520 - the night side of planets is always completely covered in clouds, only the side directly in full sunlight can be seen.
Umm.. shouldn't you update to r5545 first, and check if it's still happening?
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Permanent cloud layer over night side in trunk

Post by cim »

Looking at this a bit more closely, it's not that the clouds aren't on the sunny side, but that they're much harder to see when they're on the sunny side.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Re: Permanent cloud layer over night side in trunk

Post by Lestradae »

cim wrote:
Looking at this a bit more closely, it's not that the clouds aren't on the sunny side, but that they're much harder to see when they're on the sunny side.
Does this mean the cloud bug still resides in the newest revision of trunk, and is just not very visible in bright sunlight?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Permanent cloud layer over night side in trunk

Post by cim »

Lestradae wrote:
cim wrote:
Looking at this a bit more closely, it's not that the clouds aren't on the sunny side, but that they're much harder to see when they're on the sunny side.
Does this mean the cloud bug still resides in the newest revision of trunk, and is just not very visible in bright sunlight?
No. The clouds are (on average - the planet rotates, after all!) just as dense on both sides, and correctly laid out.

Looking at the code, this is because lighting is disabled for the cloud layer - so they're effectively more brightly lit than the surface on the dark side, and less brightly lit than the surface on the light side.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Permanent cloud layer over night side in trunk

Post by Eric Walch »

Lestradae wrote:
Does this mean the cloud bug still resides in the newest revision of trunk, and is just not very visible in bright sunlight?
There was never a cloud bug in trunk. The only thing in trunk was that the cloud layer was never implemented for the new planets. Something is only a bug when it does unwanted things and not when it is just unfinished. :) The past few months the unfinished cloud layer was just disabled in trunk, so you did not see the problem, or any clouds.

And clouds still don't not work for the new planets. But, since a few weeks, trunk is compiled again with the old planets (the planets used in 1.76). In the shader planet branch, the clouds look perfect and can use shaders. This part is still far from finished though.
User avatar
ZygoUgo
---- E L I T E ----
---- E L I T E ----
Posts: 406
Joined: Mon Nov 17, 2008 4:15 pm
Location: Blighty

Re: Permanent cloud layer over night side in trunk

Post by ZygoUgo »

Any news on shady planets branch?
Post Reply