Bug found during ESS development, planets/moons disappear after player craft leaves their SOI if QuadsphereActivationDistaance is set to a value grater than the objects SOI radius.

From testing, it appears that the game automatically switches to "map view" normals when leaving the SOI.

Bug Submitted Found in 0.8.201.0
Sandbox View

3 Comments

  • Log in to leave a comment
  • Profile image

    /// <summary>
    /// Gets the distance from the center of the planet at which the quad sphere is enabled. If this is left at zero,
    /// then a default value will be used, which is the diameter of the planet.
    /// </summary>
    /// <value>
    /// The distance from the center of the planet that under which, the quad sphere is enabled.
    /// </value>
    double QuadSphereActivationDistance { get; }
    
    /// <summary>
    /// Gets the distance over which the rendering is transitioned between the quad sphere and the scaled space renderer. The quad sphere
    /// is 100% visible at QuadSphereActivationDistance and the scaled space renderer is 100% visible at QuadSphereActivationDistance +
    /// QuadSphereTransitionDistance. If this is left at zero, then a default value will be used, which is the diameter of the planet.
    /// </summary>
    /// <value>
    /// The quad sphere transition distance.
    /// </value>
    double QuadSphereTransitionDistance { get; }

    5.0 years ago
  • Profile image
    11.1k JastroOne1

    @NathanMikeska Thanks for confirming that, I suspected the issue was caused by something like that. The bug only occurred in specific situations, for example after taking off from the moon and leaving its soi. In the latest version of the small moons I've removed any quad sphere activation distance value and just set the transition distance to a very large value. The planet now switches from quad to the "map view" normals instantly on soi entry/exit.

    5.0 years ago
  • Profile image

    The game uses scaled space spheres when outside a planet's SOI. Only a single detailed quad sphere will be loaded at any given time. I'd expect an SOI transfer to switch to a scaled space textured sphere after leaving an SOI (if not already switched). It shouldn't disappear completely. Are you seeing something different? This sandbox appears to be working like I'd expect.

    +1 5.0 years ago

1 Upvote

Log in in to upvote this post.