<div dir="ltr"><span style="font-size:12.8px">I recommend using the new QVTKOpenGLWidget with Qt 5 instead of QVTKWidget (<a href="http://www.vtk.org/doc/nightly/html/classQVTKOpenGLWidget.html">http://www.vtk.org/doc/nightly/html/classQVTKOpenGLWidget.html</a>).</span><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 19, 2017 at 10:47 AM, BBerco <span dir="ltr"><<a href="mailto:bebe0705@colorado.edu" target="_blank">bebe0705@colorado.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
I have been working making an application cross platform between MacOS and<br>
Linux Ubuntu. This piece of software is built around Qt 5.9.1 and VTK 8 for<br>
the GUI side of things.<br>
<br>
After a lot of fiddling, I'm pleased to say I have no issue at all on MacOS.<br>
Here's a link to the Github Wiki of the project, with an illustration of<br>
what it looks like as of today when operating nominally<br>
(<a href="https://github.com/bbercovici/SBGAT/wiki" rel="noreferrer" target="_blank">https://github.com/<wbr>bbercovici/SBGAT/wiki</a>)<br>
<br>
Unfortunately, I am not quite there yet on Linux/Ubuntu. Specifically, the<br>
QVTKWidget at the center of the QMainWindow constituting the GUI acts weird.<br>
<br>
Here's what's happening when I am running SBGAT on Linux:<br>
<br>
- Upon launch, the QVTKWidget 'separates' from the QMainWindow, so that I am<br>
left with two windows instead of one<br>
- The QMainWindow window works fine. All the buttons are responsive.<br>
- The QVTKWidget is not responsive. No interaction appears to take place<br>
between the mouse cursor upong clicking and the camera orientation.<br>
- There is a strange "ghosting" effect with portions of the QVTKWidget that<br>
do not get redrawn properly, but show neighboring desktop elements or<br>
windows when moved around<br>
- When loading in an .obj file using the QMainWindow actions, it gets<br>
displayed on the QVTKWidget (so there is "some" rendering going on, although<br>
no interaction is possible).<br>
<br>
My desktop has a NVIDIA 980 GTX GPU, and I am using the latest NVidia<br>
drivers I could find on apt-get (nvidia 384 I believe).<br>
<br>
I believe a more detailed error message is sometimes spitted out by SBGAT<br>
upon leaving, I will copy/paste it here later today.<br>
<br>
Is there anyone who was able to make QVTKWidgets work on a similar platform?<br>
<br>
Thanks,<br>
Ben<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/QVTK-Widget-odd-behavior-on-Ubuntu-16-10-and-NVidia-GPU-tp5744016.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/QVTK-Widget-odd-behavior-<wbr>on-Ubuntu-16-10-and-NVidia-<wbr>GPU-tp5744016.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/<wbr>opensource/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_<wbr>FAQ</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/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>