I have successfully generated a 2D Texture using the PDK, when I try to use that as the background of a Window via the "Texture=" it does not appear transparent and the Window cannot be moved.
Essentially I'm trying to draw a DirectX HUD to a transparent window that I can drag over a 2D view to simulate looking through a HUD.
Thanks!
-Matty
"Set 1010!"
Transparent Window (HUD)
- Rob McCarthy
- Lockheed Martin
- Posts: 3703
- Joined: Wed Aug 24, 2011 1:37 pm
Re: Transparent Window (HUD)
Hi Matty,
Have you tried using a panel for the HUD? The texture00 entry can be used to place textures on the panel.
Regards,
Rob McCarthy
Have you tried using a panel for the HUD? The texture00 entry can be used to place textures on the panel.
Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
Prepar3D® Core Lead
-
- Posts: 5
- Joined: Sat Sep 29, 2018 10:10 pm
Re: Transparent Window (HUD)
Mr. McCarthy,
Thanks for your quick response! I will give the Panel approach a try and see how it goes!
Thanks for your quick response! I will give the Panel approach a try and see how it goes!
-
- Posts: 1
- Joined: Fri May 24, 2019 8:40 am
Re: Transparent Window (HUD)
Is this working fine??Rob McCarthy wrote: ↑Tue May 14, 2019 12:50 pm Hi Matty,
Have you tried using a panel for the HUD? The texture00 entry can be used to place textures on the panel.
Regards,
Rob McCarthy