net-lisias-ksp/DistantObject

Rework the Settings.

Lisias opened this issue · 1 comments

The following items should be allowed to be patcheable by MM Patches:

  • DistantVessel
    • maxDistance max distance, in meters, in which the off rails craft's meshes will be drawn. Not sure if it's safe to extend it beyound 750000.0 due the float roundings that plagues KSP (and/or Unity) in the computations.
  • SkyboxBrightness
    • minimumSignificantBodySize is simple: if defines the smaller body (in visible pixels) that will be considered on the sky dimming. It helps to make things faster on Potatoes by ignoring bodies with an apparent size smaller than the threshold. In pixels.
    • minimumTargetRelativeAngle is the relative angle between Camera and the current body being calculated in which the dimming will happen. You can trim the point of the screen the current body will trigger dimming the sky. Given the other parameters, it ended not being that useful in the end because more than one body can trigger the sky dimming (and, when this happens, the "stronger" one will prevail, and not the one you may thinking of). In degrees from 1 to 180.
    • referenceBodySize the size of the reference body (usually the Sun). The size of all the bodies are floored and then normalised with this parameter before being fed into the formula. This one will be useful on custom Star Systems where the Sun (always the brightest body in the visible sky) is smaller than Kerbol. I don't have the slightest idea about the unit of this thing!!

See this post for details.

Implemented on commit a7e53d4