• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS Transparent HTML display that keeps correct opacity

Messages
36
Country
canada
Hi all,
I am working on a display in HTML that is supposed to act like a fake camera, with overlays applied over it. My goal is to have a transparent display allowing the user to look past it, while still having a gauge that keeps its correct alpha properties.
The display right now has some transparency loss, and its blacks are lost as well. I understand that using the HUD properties is supposed to treat the black as an alpha, which is an issue as it then removes any of my tickers/black areas that I would like to keep the colour with.
This is my current panel code.

[VCockpit10] size_mm=1520,1000 background_color=0,0,0 texture=$AROHUD hud=1, 0, 0, 0, 0 htmlgauge00=B767/AROHUD/template.html, 0, 0, 1520,1000
My hud code has an SVG viewbox to its dimensions, and a black rectangle underlying it all.
If anyone know other ways to implement or suggestions this please let me know.
Cheers
1711655530227.png


1711654599864.png
 
Messages
1,058
Country
australia
You don't use black then? Use a very very very very dark grey.

If I understand your post correctly then I sounds like the same problem back in the FSX days with XML gauges where any black was treated as transparent. You'd just make sure that you never used 0,0,0 black in your gauge but used 1,1,1 instead.
 
Messages
918
Country
indonesia
I'm using wasm, usually just not draw any background for transparent.
as side from transparent, your HUD seem need collimated, my suggest use HUD value #2: hud=2, 0, 0, 0, 0
 
Top