Leftover tile "marquees" in the Render View?


#1

Hi,

Our Maya renderer plugin sends pixels to the Render View using the MRenderView class.

Before rendering starts, we call MRenderView::startRender() with the following parameters:

MRenderView::startRender(width, height, true, true);

The first ‘true’ argument is for the ‘doNotClearBackground’ parameter (default is false). The second ‘true’ argument is for the ‘immediateFeedback’ parameter (default is false).

Unfortunately, there is always a bunch of tiles “marquees” left in the Render View, as you can see in the attached screenshot.

I’ve found that if I replace the first ‘true’ argument by ‘false’ (so the background is now cleared before the render starts), the problem disappears. However, I’d rather not clear the background…

Does this ring a bell to anyone?

Cheers,
Franz


#2

I guess the first question I should ask is this:

Are methods of the MRenderView class thread-safe? In particular, updatePixels() and refresh(). I couldn’t find anything in the documentation.