View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000616 | VTK | (No Category) | public | 2004-02-20 12:17 | 2013-04-05 19:29 | ||||
Reporter | Shyam Prakash R K | ||||||||
Assigned To | Berk Geveci | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000616: Flickering in HP UX | ||||||||
Description | 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. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0000681) Mathieu Malaterre (developer) 2004-02-20 15:03 |
ramakrishna, did you had a look at VTK/Examples/GUI/Win32/vtkMFC/vtkMDI/vtkMDIView.cpp for example we overload OnSize: void CVtkMDIView::OnSize(UINT nType, int cx, int cy) { ... this->renWin->SetSize(rect.right-rect.left,rect.bottom-rect.top); } Also what happen if you do: //temp0->SetDisplayId((void *)dsi_x11->display); temp0->SetWindowId((void *)dsi_x11->drawable); temp0->SetParentId((void *)dsi_x11->drawable); Everything rely on the fact that WindowId is set to update size etc. |
(0000688) Shyam Prakash R K (reporter) 2004-02-20 17:02 |
Mathieu, I am runnung my application from Java end. vtkCanvas overrides the setSize method. may be we should call Render after setting the size. may be this could solve part of the problem. Problem 2: what if window is not resized. instead another window overlaps my window partially for a while. I tried implementing all sorts of window listeners and in each event I made a call to Render. but it didn't help. If I do : //temp0->SetDisplayId((void *)dsi_x11->display); temp0->SetWindowId((void *)dsi_x11->drawable); temp0->SetParentId((void *)dsi_x11->drawable); then flickering problem resurfaces. however I built vtk on linux and no problems there. Thanks Shyam |
(0000690) Mathieu Malaterre (developer) 2004-02-23 09:58 |
Ramakrishna in order for us to reproduce the bug could you send us a demo application ? Does the cone example reproduce the bug ? You can also have a look at bug 0000619 for help in writing a java example. |
(0000698) Shyam Prakash R K (reporter) 2004-02-23 14:28 |
Mathieu, The problem can be seen on Cone.java but to a very small extent. Also you can try any example program given in "Wrapping\Java". However, I compiled VTK on SUN Solaris, and no problems there. Please let me know what kind of sample programs you require for Bug Id 619. I will be more than happy to write one. --Shyam |
(0000747) Shyam Prakash R K (reporter) 2004-03-10 06:02 |
Mathieu, Sorry to bother you again. Do you have any new thought on this bug? In onew of the earlier mails, you had quoted "Do you have a .Xdefault on your HPUX ? On your SUN Solaris ? Does OpenGL works on your HP UX properly (try running some double buffer examples).What happen if you do do a ssh/telnet to your HP from your SUN, does the flicker happen ? (When acessing HP from SUN, you are using X11 from SUN which you know is working)." I am not what role .XDefault playes here. As I had mentioned earlier, my HP machine does not have this file. Thanks and Regards Shyam |
(0030532) Berk Geveci (administrator) 2013-04-05 19:29 |
Closed ancient bug. All HP UX machines are in museums now :-) |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-11-30 09:18 | Mathieu Malaterre | Assigned To | Mathieu Malaterre => David Cole |
2011-01-19 10:09 | David Cole | Assigned To | David Cole => |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2013-04-05 19:29 | Berk Geveci | Assigned To | => Berk Geveci |
2013-04-05 19:29 | Berk Geveci | Status | backlog => tabled |
2013-04-05 19:29 | Berk Geveci | Resolution | open => fixed |
2013-04-05 19:29 | Berk Geveci | Note Added: 0030532 | |
2013-04-05 19:29 | Berk Geveci | Status | tabled => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |