<div dir="ltr"><div>Yes, I supose it would remove overlapping problem as well. an option would be nice.<br><br></div>Well my initial fix is working great. I will wait a bit to see if anyone is disturbed by the vtkTesting::FrontFrame deprecation before merging.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Fri, Jul 3, 2015 at 3:10 PM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mathieu,<br>
<br>
> Also, another track could be investigated, the use of vtkRenderWindow::SetOffScreenRendering remove the need of any Front/Bak buffer fiddling, the image being always accessible. ...<br>
<span class="">> But we may encounter some problem with the offscreen rendering, (antialiasing? multisampling? i don't know much about it ).<br>
<br>
</span>I think you are correct in anticipating trouble. At least on some old platforms (and probably some newer ones, too) offscreen rendering is handled differently by the driver and often as software-only rendering. That would slow down many tests as well as make their results different from what users would see (making them not really test what we want).<br>
<br>
However, I know a lot of developers want to be able to run image tests in the background without windows popping up. So I am all for adding it as an option dependent on some environment variable or command-line argument being set. It should not be the default, though.<br>
<span class="HOEnZb"><font color="#888888"><br>
David</font></span></blockquote></div><br></div>