Flickering in HP UX
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I compiled vtk on HP UX with java wrappers on. when I ran my application, the 3d window used to flicker hevily. Then I dug through vtk mail archive and I was told to change the SetWindowId method call to SetParentId method call. hence I changed the following lines in vtkJavaAwt.h
temp0->SetDisplayId((void *)dsi_x11->display); temp0->SetWindowId((void *)dsi_x11->drawable); temp0->SetParentId((void *)dsi_x11->display);
changed to
//temp0->SetDisplayId((void *)dsi_x11->display); // temp0->SetWindowId((void *)dsi_x11->drawable); temp0->SetParentId((void *)dsi_x11->drawable);
and recompiled vtk.
Now there is no flickering, but it has introduced a repaint problem. when my window id resized or partially overlapped by other window, the repainting does not happes. also unless I click on vtkCanvas, the mouse events are not invoked.