MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0007226 | VTK | (No Category) | public | 2008-06-22 04:13 | 2016-08-12 09:54 |
Reporter | Peter Wainwright | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | |||||
Type | |||||
Summary | 0007226: vtkRenderWindowInteractor does not work with Mesa | ||||
Description | I am trying to create and attach an interactor to a window using the VTK TCL shell. vtkRenderWindowInteractor iren iren SetRenderWindow renWin iren Initialize Specifically, I'm using the attached example from a tutorial I am working on a VNC display, and I have therefore had to put Mesa GL libraries in my LD_LIBRARY_PATH to emulate the GLX stuff. Unfortunately the interactor does not work; setting MESA_DEBUG=1 shows that there are errors in glXSwapBuffers: Mesa warning: glXSwapBuffers: invalid drawable 0x1600002 and the window does not redraw when the mouse is moved. This occurs with version 5.0.3-1ubuntu1 and with the CVS head. | ||||
Steps To Reproduce | |||||
Additional Information | What seems to be happening is this: Each buffer in Mesa's software GL is associated with a particular (display, drawable) pair. However, vtkXRenderWindowTclInteractor::Initialize() modifies the Display of the rendering window (so that it points to the first Display created by the Tcl shell). But the Mesa buffers were created in association with a different Display object. Although the 2 Display objects should be equivalent (they point to the same actual display device), Mesa does not like changing the Display here. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | vtktut6.tcl (1,400) 2008-06-22 04:13 https://www.vtk.org/Bug/file/6550/vtktut6.tcl | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-06-22 04:13 | Peter Wainwright | New Issue | |||
2008-06-22 04:13 | Peter Wainwright | File Added: vtktut6.tcl | |||
2008-08-08 10:02 | Peter Wainwright | Note Added: 0012971 | |||
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
2016-08-12 09:54 | Kitware Robot | Note Added: 0036992 | |||
2016-08-12 09:54 | Kitware Robot | Status | expired => closed | ||
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved | ||
2016-08-12 09:54 | Kitware Robot | Assigned To | => Kitware Robot |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|