Oblate planets not rendered properly over poles

Report bugs, bug fixes and workarounds here.
Topic author
bdm
Posts: 461
Joined: 22.07.2005
With us: 19 years 4 months
Location: Australia

Oblate planets not rendered properly over poles

Post #1by bdm » 14.07.2006, 13:48

When a planet has an appreciable oblateness, hovering over a pole of the planet and zooming in will eventually cause the planet to render with segments missing.

Code: Select all

"Test 1" "Toliman A"
{
    Radius 4000

    EllipticalOrbit
    {
        Period            1
        SemiMajorAxis     1
        Eccentricity      0
        Inclination       0
        AscendingNode     0
        LongOfPericenter  0
        MeanLongitude     0
    }

    Obliquity            0
    EquatorAscendingNode 0
    RotationOffset       0
    RotationPeriod       5
    Oblateness           0.2

    Albedo               0.25
}

"Test 2" "Toliman A"
{
    Radius 4000

    EllipticalOrbit
    {
        Period            2.828
        SemiMajorAxis     2
        Eccentricity      0
        Inclination       0
        AscendingNode     0
        LongOfPericenter  0
        MeanLongitude     0
    }

    Obliquity            0
    EquatorAscendingNode 0
    RotationOffset       0
    RotationPeriod       25
    Oblateness           0.0

    Albedo               0.25
}

Hovering over the pole of "Test 1" (oblate planet) and approaching the surface eventually results in missing parts of the planet. It appears the missing segments begin when the distance to the centre is less than the radius of the planet.
Image

Return to “Bugs”