flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5.02k stars 1.06k forks source link

Display brightness for undocked displays #8078

Open joeherwig opened 1 year ago

joeherwig commented 1 year ago

Aircraft Version

Experimental

Description

As a user flying the A32nx in a home cockpit with undocked panels, I want to have the setup display brightness adjustable for the undocked panels as well as in the VC, So that I can run the cockpit preparation flow as reals as possible and get adjusted brightness as required.

References (optional)

No response

Additional info (optional)

At the moment it seems to be quite digital. Either off or full. Dimming seems not to work when the displays are run undocked on a separate monitor.

Probably adding a black layer in the foreground of the SVG or div in html where the opacity is set by the inverse of the brightness value could do the trick.

Discord Username (optional)

Joeherwig

tracernz commented 1 year ago

We instead control the brightness of the screens in the 3D cockpit as it tends to give better results with the sim lighting engine.

joeherwig commented 1 year ago

Well within the VC it's really great. It's just that the answer doesn't address the request which focuses on the issue with undocked displays in Homecockpits. 😊

tracernz commented 1 year ago

We actually can't do that in many cases at the moment because the rendered content is shared between two different displays that have different power sources e.g. MCDUs.

joeherwig commented 1 year ago

Ok. Wierd Didn't expect that two different displays with two different power sources are using the same variable for the brightness / rendering based on the same value. In the VC it doesn't appear like that.

tracernz commented 1 year ago

The two MCDUs currently use the same "texture" rendered from the HTML, so we can't apply a CSS brightness layer to them like we do for some other instruments. The brightness in the VC is instead controlled by the emmisive brightness of the 3D screen object. Hopefully that makes more sense. We should be able to improve this in future...

joeherwig commented 1 year ago

Hi Michael,

It does. Indeed. Thanks for the explanation.

Joe