planetinfo.plist "cloud_fraction" and "percent_cloud"

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

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
phkb
Commodore
Commodore
Posts: 2403
Joined: Tue Jan 21, 2014 10:37 pm
Location: [p]laying [h]ard and [k]icking [b]utt somewhere in G7...

planetinfo.plist "cloud_fraction" and "percent_cloud"

Post by phkb » Thu Jan 31, 2019 11:59 pm

I don't think this is a bug so much, and it may be completely OK, but I thought I'd ask anyway, for clarity...

What's the difference between the "cloud_fraction" and the "percent_cloud" properites? I'm not sure what the goal of each should be, because in my mind they kind of sound the same. At the moment, in the current planetinfo.plist, only Lave has both properties, in all other cases only "cloud_fraction" is set, and Lave only got the additional property recently (commit 65f9d70).

Edit: Actually, same dealio with "land_fraction" and "percent_land". Difference, anyone?

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5396
Joined: Wed Feb 28, 2007 7:54 am

Re: planetinfo.plist "cloud_fraction" and "percent_cloud"

Post by another_commander » Fri Feb 01, 2019 6:07 am

Not sure, to be honest. I just added percent_cloud to Lave because it just worked and did not think too much about it. When I get a chance, I'll try to see what exactly the code does with cloud_fraction and in what way it may be different to the percent_cloud property.

Post Reply