synchronzing external render targets with Noesis
Posted: 07 Apr 2017, 15:13
I am using an image brush to render parts of a large monogame render target
This works fine when the render target and brush view box coordinates are not changing, but as soons as the render target or the view box coordinates are updated, Noesis seems to pick the wrong parts of the monogame texture, I think its one frame off.
It seems I can fix this by updating the render target and brush view box coordinates after Noesis has rendered, but that causes an initial flash because the first time the target is empty.
In other applications, ie video processing, one typically uses a semaphore of buffers, buffers being produced and consumed. But that would introduce latency.
I would like to know how to tackle this robustly.
This works fine when the render target and brush view box coordinates are not changing, but as soons as the render target or the view box coordinates are updated, Noesis seems to pick the wrong parts of the monogame texture, I think its one frame off.
It seems I can fix this by updating the render target and brush view box coordinates after Noesis has rendered, but that causes an initial flash because the first time the target is empty.
In other applications, ie video processing, one typically uses a semaphore of buffers, buffers being produced and consumed. But that would introduce latency.
I would like to know how to tackle this robustly.