Skip to content

Camera from JSIHeadsUpDisplay.RenderHUD still inverted in Flight Display (B9 Aerospace) #684

@ncanceill

Description

@ncanceill

I understand that development of this has stopped and the focus is now on ASET, however I believe/hope this bug is an easy one, because I also understand that the bug causing inverted textures with DirectX in the Flight Display should be solved (see #659 and related issues)

However, I am still encountering the bug with the Flight Displays from B9 Aerospace, specifically:

Description
The camera views from these two pages (which use JSIHeadsUpDisplay.RenderHUD to overlay the HUD over the camera) are displayed inverted (upside down)

More info

  • This only happens for the camera: the text overlay and HUD overlay elements (heading bar, pitch bars, prograde icon) are not affected
  • This only happens for these two pages:
    • the other page using JSIHeadsUpDisplay.RenderHUD does not include a camera and is not affected
    • the other pages (like this one or these ones) displaying cameras use JSISteerableCamera.RenderCamera and are not affected
  • This only happens when Anti-Aliasing is enabled, which is why I strongly suspect it is related to the previous Flight Display inverted textures issues
  • This happens with DirectX3D 9-11-12 on KSP 1.7.0-1.7.1 with a nVIDIA GTX 960
  • I have raised this issue at B9 in #92 and @blowfishpro was able to reproduce it

Root cause and fix
I suspect either of two optimistic and one pessimistic cases:

  • The fixes for Inverted MFD textures #659 and related issues where not broad enough to cover the case of cameras in JSIHeadsUpDisplay.RenderHUD, but they could easily be extended
  • Including cameras in JSIHeadsUpDisplay.RenderHUD does not work this way, but a different RPM configuration for these pages could produce the desired result without inverting the camera
  • Including cameras in JSIHeadsUpDisplay.RenderHUD does not work this way and this is not easily fixable even though Inverted MFD textures #659 and related issues were fixed

Does anyone have a clue?


Hi @MOARdV! Thanks for the awesome mods you make

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions