Its-Just-Luci / EVO

Extreme Visual Overhaul for Real Solar System
14 stars 4 forks source link

Cloud desyncing #11

Closed Its-Just-Luci closed 1 year ago

Its-Just-Luci commented 3 years ago

Clouds desync due to apparent differences in rotational speed, this will be on the "fix later" list for the time being

Baguette420 commented 3 years ago

KSP_x64_3JtjciPR5s

Is that what is causing the blurry/duplicated cloud textures I have here. Apart from that it looks amazing.

Sadaell commented 3 years ago

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

Bellabong commented 3 years ago

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

Baguette420 commented 3 years ago

What exactly do I need to edit and to what value?

ballisticfox commented 2 years ago

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

Noiredd commented 1 year ago

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?

Its-Just-Luci commented 1 year ago

ok, sorry to like... be an ass?

image

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.

Noiredd commented 1 year ago

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: archive