- Messages
- 19
- Country

Hi all,
I've encountered what appears to be a complex gauge issue, or one that is at least technically involved, and seems Prepar3D 4.1 specific. I know it's a long shot posting here, but I also know there are some experienced and knowledgeable people around who may be able to help (or suggest alternative approaches). Posted this on the Prepar3D boards as well https://www.prepar3d.com/forum/viewtopic.php?f=6311&t=127130
After upgrading my Prepar3D installation to 4.1, from 4.0, I've encountered a problem that appears to stem from a change in the rendering process. My own installation, as ever, is entirely default, and the issue appears independent of any change in my graphics drivers.
In short, I have been doing some work on the default F-22 included with P3D, implementing a camera display texture in a simple XML gauge, with a text overlay, for use in the Virtual Cockpit. The texture itself is defined in the Aircraft.cfg and has a post-process effect applied.
In 4.0 and previous, the gauge displayed perfectly with the addition of "disable_alpha_write = 1", alongside "textures_below_panel = 1", in the appropriate VCockpit entry of the panel.cfg.
However, in 4.1, use of "disable_alpha_write" causes the gauge to not be visibly rendered at all (though it *is* still present and functional/mouse-able), whilst "textures_below_panel" allows the gauge itself to display but the view texture is not visible (i.e. it's black/transparent/behind the VC $texture?)
With both the above options set at '0', the view texture displays, but appears as a semi-transparent overlay on top of the gauge text and bitmaps, which is clearly not what I'm after - I want the text to lay on top of the view, opaque.
Use of "textures_use_additive_blend = 1", whether standalone or in combination with the above panel.cfg entries, has never had any impact on the display, or otherwise, of the gauge, either in Prepar3D v3.4, v4.0, or v4.1, *EXCEPT* whenever I display the view texture *without* the post-process effect applied. In this case, the text overlays the texture perfectly. When set at '0' the texture disappears, leaving only the gauge/text visible. Unfortunately, I really do need this post-process effect for the sensor display to be of any worth, unless there is a way of integrating it as a custom sensor mode.
I have exhaustively tested every combination of the above, so I'm fairly confident I've captured the key behaviours. At this point, however, I'm afraid to admit that the deep technical processes involved in rendering gauges in a 3D view are rather beyond my knowledge. All I know, is that what once worked does no longer, and the issue appears to hinge on how 4.1 treats these specialist panel.cfg entries vs. 4.0.
I have tried every other trick I can possibly think of to make the gauge display, with an opaque text overlay, and nothing seems to work, so any advice will be gratefully received.
I've encountered what appears to be a complex gauge issue, or one that is at least technically involved, and seems Prepar3D 4.1 specific. I know it's a long shot posting here, but I also know there are some experienced and knowledgeable people around who may be able to help (or suggest alternative approaches). Posted this on the Prepar3D boards as well https://www.prepar3d.com/forum/viewtopic.php?f=6311&t=127130
After upgrading my Prepar3D installation to 4.1, from 4.0, I've encountered a problem that appears to stem from a change in the rendering process. My own installation, as ever, is entirely default, and the issue appears independent of any change in my graphics drivers.
In short, I have been doing some work on the default F-22 included with P3D, implementing a camera display texture in a simple XML gauge, with a text overlay, for use in the Virtual Cockpit. The texture itself is defined in the Aircraft.cfg and has a post-process effect applied.
In 4.0 and previous, the gauge displayed perfectly with the addition of "disable_alpha_write = 1", alongside "textures_below_panel = 1", in the appropriate VCockpit entry of the panel.cfg.
However, in 4.1, use of "disable_alpha_write" causes the gauge to not be visibly rendered at all (though it *is* still present and functional/mouse-able), whilst "textures_below_panel" allows the gauge itself to display but the view texture is not visible (i.e. it's black/transparent/behind the VC $texture?)
With both the above options set at '0', the view texture displays, but appears as a semi-transparent overlay on top of the gauge text and bitmaps, which is clearly not what I'm after - I want the text to lay on top of the view, opaque.
Use of "textures_use_additive_blend = 1", whether standalone or in combination with the above panel.cfg entries, has never had any impact on the display, or otherwise, of the gauge, either in Prepar3D v3.4, v4.0, or v4.1, *EXCEPT* whenever I display the view texture *without* the post-process effect applied. In this case, the text overlays the texture perfectly. When set at '0' the texture disappears, leaving only the gauge/text visible. Unfortunately, I really do need this post-process effect for the sensor display to be of any worth, unless there is a way of integrating it as a custom sensor mode.
I have exhaustively tested every combination of the above, so I'm fairly confident I've captured the key behaviours. At this point, however, I'm afraid to admit that the deep technical processes involved in rendering gauges in a 3D view are rather beyond my knowledge. All I know, is that what once worked does no longer, and the issue appears to hinge on how 4.1 treats these specialist panel.cfg entries vs. 4.0.
I have tried every other trick I can possibly think of to make the gauge display, with an opaque text overlay, and nothing seems to work, so any advice will be gratefully received.
Last edited: