-
-
September 5, 2024 at 4:53 pmyair.orosSubscriber
Hi!
I am designing a HUD in SCADE Display to process information of a flight like, I use gyroscopes, GPS time and other things, but the HUD should have the real video to compare the information of the HUD with the airplane behavior.
I tried to put it as texture but it only allows images, but I don't know how can I use a video. Could you help me?Â
The image just have an image from internet and the last design of the HUD.Â
-
September 9, 2024 at 7:19 amRomain AndrieuxAnsys Employee
Â
Â
Hello,
There is no direct support to stream a video through a texture, however it is possible, with a small amount of manual code to copy video frame into the texture buffer during each cycle (using the function sglTexImage2Dubv).
You can find an example using openCV to stream either an image or webcam here:
Best Regards
Â
Â
-
- You must be logged in to reply to this topic.
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.