Jump to content

Manoeuvre node adjustment GUI visually intersects bodies


purpleivan

Recommended Posts

Version: 0.1.0.0.20892

System description:

OS: Windows 10  (10.0.19045) 64bit

CPU: AMD Ryzen 5 2600X Six-Core Processor  (12)

RAM: 16334

GPU: NVIDIA GeForce GTX 1070 (8081MB)

SM: 50 (Direct3D 11.0 [level 11.1])

Expected Behaviour:

The node adjustment GUI should be drawn on top of the contents of the scene, so that all parts of it are visible at all times. so that they are displayed in front of the render of the scene and not intersecting it, hiding parts of it from view.

Observed Behaviour:

The node adjustment GUI appears to be rendered into the depth buffer as if part of the scene contents, so that parts of the GUI visually intersects bodies (typically Radial In), if close enough to them, hiding some of it from the player.

Here are two examples of this.

GCBCTaK.jpg

KCVuLvM.jpg

Steps to reproduce:

  1. Launch a vehicle and place it in a 75km orbit or Kerbin.
  2. Add a manoeuvre node on the orbital path of the vehicle and click on it to display the adjustment GUI.
  3. Zoom out to a difference that gives a similar view of Kerbin as in the image of it above.

Notice that the arrow for Radial In is visually intersecting Kerbin (although it is still interactable).

Notes:

The behaviour of much of the "in scene" GUI is like this, I've used the manoeuvre nodes as an example. Things like the icons used for objects on the surface of planets (e.g. for the KSC, as seen in the image below) are drawn camera aligned, so when the camera is rotated, their angle to the planet changes, causing them to cut into the surface of it. These also should be drawn on top of the scene contents.

However, this behaviour is not consistent, as the PE and AP markers on trajectories are always drawn in front of bodies, something that can be seen in the image below).

F1AiRzG.jpg

Notice how on the KSC icon at the right side of the equator is partially obscured by the planet, hiding the part of it with the rocket launch part of the icon image.

Link to comment
Share on other sites

×
×
  • Create New...