<div dir="ltr">Dear all,<div style>Â Â Â Â Â Â Â I've been using the attached example for many years now to test Offscreen Rendering. It used to work like a charm in every platform. I had 3 different states on this program.</div>
<div style><br></div><div style>1)Â Some time ago, it started opening a blank window in mac. After that it also happened in Linux. In windows it still works properly.</div><div style><br></div><div style>2) I added the following code:</div>
<div style><div><br></div><div>Â Â // Graphics Factory</div><div>Â vtkGraphicsFactory * graphics_factory</div><div>Â Â Â = vtkGraphicsFactory::New();</div><div>Â graphics_factory->SetOffScreenOnlyMode( 1);</div><div>Â graphics_factory->SetUseMesaClasses( 1 );</div>
<div>Â </div><div>Â // Imaging Factory</div><div>Â vtkImagingFactory * imaging_factory</div><div>Â Â Â = vtkImagingFactory::New();</div><div>Â imaging_factory->SetUseMesaClasses( 1 );Â </div><div><br></div></div><div style>
Which made it work on linux but not on mac.</div><div style><br></div><div style>3) Now even with that code osx/linux still open the blank widonw, and in Windows works properly.</div><div style><br></div><div style>I tested it with many different vtk configurations, I don't know what I'm doing wrong. At the moment I'm testing it in VTK 6.0.0 under Linux.</div>
<div style><br></div><div style>Any hints would be appreciated.</div><div style>Thanks.</div></div>