<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-06-15 15:02 GMT+02:00 sebastien247 <span dir="ltr"><<a href="mailto:sebastien247@gmail.com" target="_blank">sebastien247@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I try to use QVTKOpenGlWidget with Qt Designer. But i obtain a black screen<br>
in my VTK view.<br>
<br>
I run tests and following tests FAILED:<br>
        525 - vtkGUISupportQtCxx-TestQtDebug<wbr>LeaksView (OTHER_FAULT)<br>
        526 - vtkGUISupportQtCxx-TestQtTable<wbr>ModelAdapter (OTHER_FAULT)<br>
        527 - vtkGUISupportQtCxx-TestQtTreeM<wbr>odelAdapter (OTHER_FAULT)<br>
        528 - vtkGUISupportQtCxx-TestQVTKOpe<wbr>nGLWidget (OTHER_FAULT)<br>
        529 - vtkGUISupportQtCxx-TestQVTKOpe<wbr>nGLWidgetWithMSAA (OTHER_FAULT)<br>
        530 - vtkGUISupportQtCxx-TestWin32QV<wbr>TKWidget (OTHER_FAULT)<br>
        531 - vtkGUISupportQtOpenGLCxx-TestQ<wbr>VTKWidget2 (OTHER_FAULT)<br></blockquote><div><br></div><div>Hi Sebastien,<br><br></div><div>Could you try disabling multi-sampling with:<br><br>    auto defaultFormat = QVTKOpenGLWidget::<wbr>defaultFormat();<br>    defaultFormat.setSamples(0);<br>    QSurfaceFormat::<wbr>setDefaultFormat(<wbr>defaultFormat);<br><br></div><div>before constructing your QApplication.<br><br></div><div>Or alternatively:<br><br>    vtkOpenGLRenderWindow::SetGlobalMaximumNumberOfMultiSamples(0);<br><br></div><div>If that doesn't help, perhaps you are running into <a href="https://gitlab.kitware.com/vtk/vtk/issues/17058">https://gitlab.kitware.com/vtk/vtk/issues/17058</a><br><br></div><div>On which platform/GPU is this?<br><br></div><div>Elvis<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks<br>
<br>
Sébastien<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/QVTKOpenGlWidget-black-screen-and-tests-FAILED-tp5743647.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.c<wbr>om/QVTKOpenGlWidget-black-scre<wbr>en-and-tests-FAILED-tp5743647.<wbr>html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div>