Project

General

Profile

Bug #2042

Terrain rendering not properly switched off when loading craft in high orbit.

Added by a.g. over 10 years ago. Updated over 7 years ago.

Status:
Closed
Severity:
Low
Assignee:
-
Category:
Buildings
Target version:
-
Start date:
01/19/2014
% Done:

100%

Version:
Platform:
Linux
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

When you fly a rocket higher than 160km above Kerbin, terrain rendering switches off, improving framerate. However, if you switch to a craft that is already there, this doesn't happen.

Steps to reproduce:

  1. Use a comparatively slow video card, and KSP with an FPS indicator. I made my own: https://gist.github.com/angavrilov/8459884
  2. Make a trivial rocket with a pod, tank and engine.
  3. Enable infinite fuel and launch straight up. Monitor FPS while looking down at the planet.
  4. Once the rocket crosses the 160km altitude, FPS suddenly improves (for me 20->50) because terrain rendering switches off.
    So far, so good. However:
  5. Switch to the space center, and then back to the rocket via tracking station. FPS is suddenly back to how it was at low altitude.
  6. If you let the rocket fall down below 160 and then boost up, FPS improves again.

Logging the state of PQS objects in memory shows that when a craft is loaded, both Kerbin and KerbinOcean initially have isActive true, and then something switches Kerbin to false, while leaving ocean at true. Interestingly, this state is fixed by actually switching kerbin back on, at which point something sets both to false.

History

#1 Updated by TriggerAu almost 8 years ago

  • Status changed from New to Needs Clarification

#2 Updated by TriggerAu over 7 years ago

  • Status changed from Needs Clarification to Closed
  • % Done changed from 0 to 100

Closing this report out for now. If you find it is still occuring in the latest version of KSP please open a new report (and this one can be linked to it.) For best results, the wiki contains really useful info for when creating a report http://bugs.kerbalspaceprogram.com/projects/ksp/wiki.

You can also ask questions about the bug cleanup in the forum here: http://forum.kerbalspaceprogram.com/index.php?/topic/143980-time-to-clean-up-the-bug-tracker/ and tag @TriggerAu to get my attention

Also available in: Atom PDF