OGRECave / ogre-next

aka ogre v2 - scene-oriented, flexible 3D C++ engine
https://ogrecave.github.io/ogre-next/api/latest
Other
1.08k stars 233 forks source link

Rendering different videos at different frame rates in multiple windows #434

Open ChenTianSky opened 8 months ago

ChenTianSky commented 8 months ago

I use V1::OverlaySystem to render 2D images. I created two windows, but the OverlaySystem is a singleton, causing my two windows to render the same image. My rendering process is to load two pictures into two temporary textures, and then render the temporary textures to RenderTexture, because text needs to be drawn on the temporary textures. After drawing the text, render the RenderTexture to the window. At this time, my two windows display the same picture. It seems that it is caused by the same OverlaySystem when it is presented?