We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Embedded Software Video as texture in the back of the display design. Reply To: Video as texture in the back of the display design.

Romain Andrieux
Ansys 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:

libVideo.zip

Best Regards

 

Â