Closed Its-Just-Luci closed 1 year ago
Is that what is causing the blurry/duplicated cloud textures I have here. Apart from that it looks amazing.
I think I managed to fix it by small changes in the rotation speed around the y-axis. Every cloud layer rotates on a circle of radius = planet radius + layer altitude. In your config all layers have the same speed of 15m/s, so the upper layers begin to lag behind the lower layers with time
I think I managed to fix it by small changes in the rotation speed around the y-axis. Every cloud layer rotates on a circle of radius = planet radius + layer altitude. In your config all layers have the same speed of 15m/s, so the upper layers begin to lag behind the lower layers with time
This is correct.
All one has to do is calculate the distance (circumference of Earth/Kerbin radius + altitude) that each cloud layer has to travel and then adjust the speeds accordingly. Stays in sync even after 30 years
What exactly do I need to edit and to what value?
Okay so I did the math and the formula is r is the radius of the body h₁ is the height of the first layer h₂ is the height of the second layer s is known speed x is the unknown speed
(2pi(r+h₁))/x=(2pi(r+h₂))/s
You have to match velocities according to the formula above but also offsets. Here is my config:
OBJECT
{
name = EarthCloudsHigh
body = Earth
speed = 0,15,0
offset = 0,180,180
altitude = 25000
OBJECT
{
name = EarthCloudsMedium
body = Earth
speed = 0,14.98358348968110,0
altitude = 18000
offset = 0,180,180
OBJECT
{
name = EarthCloudsLow
body = Earth
speed = 0,14.9507504690432000,0
altitude = 4000
offset = 0,180,180
OBJECT
{
name = EarthCloudsShadow
body = Earth
altitude = 2100
speed = 0,14.9462945590994000,0
detailSpeed = 0,4.9820981863664800,0 // no idea what this does though
offset = 0,180,181
Clouds perfectly synced, looking beautiful.
I'd submit a PR with this but alas, somehow the config in the repo looks completely different than the one in the release... @Its-Just-Luci is this intended?
ok, sorry to like... be an ass?
I last touched this repo over two years ago. It is left here for archival purposes and nothing more. I'm retired, sorry
That said, feel free to fork and make another "active" version, just not in the issues on this repo.
FYI: GitHub has a dedicated archival feature for old and inactive repositories. Go to your repo settings, scroll all the way down to the "danger zone", and here it is:
Clouds desync due to apparent differences in rotational speed, this will be on the "fix later" list for the time being