View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0016122 | VTK | (No Category) | public | 2016-05-12 15:15 | 2016-08-12 09:55 | ||||
Reporter | crupp | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.3.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0016122: Fix for freeze with Java JOGL interaction | ||||||||
Description | I seem to have found a solution to the problem with JOGL referenced in this conversation: http://www.vtk.org/pipermail/vtkusers/2014-May/084032.html [^] To recap, the following doesn't work and freezes on Windows: - Screen capture (Using VTK code) - Rubber band type of interaction where a rectangle get drawn on top of window. - Volume rendering Upon starting a rubber band interaction, vtk goes into an infinite loop in GetPixelData when clearing the OpenGL errors. This, I think, is a red herring. Basically, OpenGL gets into a bad state somehow. The fix seems to be to force the context to be current in the java code. In vtkAbstractJoglComponent.java, the fix is to not check if the context is current, but instead always make it current (i.e., the if statement is commented out, forcing the makeCurrent() statement): // Make sure the JOGL Context is current GLContext ctx = drawable.getContext(); //if (!ctx.isCurrent()) { ctx.makeCurrent(); //} I've only tested this on Windows using a vtkInteractorStyleRubberBandZoom with VTK 6.1 and 7.0. It likely fixes the other issues and platforms, but someone else will need to test those. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037472) Kitware Robot (administrator) 2016-08-12 09:55 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-05-12 15:15 | crupp | New Issue | |
2016-08-12 09:55 | Kitware Robot | Note Added: 0037472 | |
2016-08-12 09:55 | Kitware Robot | Status | backlog => closed |
2016-08-12 09:55 | Kitware Robot | Resolution | open => moved |
2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |