Project

General

Profile

Bug #4067

Possible double rendering of Celestials.

Added by AlonzoTG over 9 years ago. Updated almost 8 years ago.

Status:
Closed
Severity:
Low
Assignee:
-
Category:
Camera
Target version:
-
Start date:
02/13/2015
% Done:

100%

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

Description

Hello, I was hacking on StarSystems. My approach was to take the requested stellar diameter, scale it by dividing it by 6540000 and setting up the transform.

That worked great except....

The stars seemed to be rendering twice, For example, with that blue dwarf, I would see a somewhat yellowish version of the (blue) star with a yellow halo at the stock sun's (Kerbol's) scale. Mosue-scrolling into that, I would penetrate the outer shell and there would be a perfect rendition of the star I thought I was creating with the intended blue halo and exactly the scaling I had specified. Maybe the recruiters are right and I have lost all of my programming skills from being unemployed for three years but there is nothing in this code that would seem to make it invoke the renderer twice!

If the stock game is rendering celestial bodies twice, this could have serious performance implications!

History

#1 Updated by Squelch almost 9 years ago

  • Status changed from New to Need More Info

AlonzoTG wrote:

If the stock game is rendering celestial bodies twice, this could have serious performance implications!

Can it be demonstrated that the stock game renders the skybox twice? Work has been done to refine the skybox rendering since this report was made, is it still an issue?

#2 Updated by TriggerAu almost 8 years ago

  • Status changed from Need More Info to Needs Clarification

#3 Updated by TriggerAu almost 8 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