View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004615 | Slicer4 | Core: Rendering | public | 2018-09-20 01:28 | 2018-10-01 18:27 |
Reporter | lassoan | Assigned To | jcfr | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Slicer 4.9.0 | ||||
Target Version | Slicer 4.9.0 | Fixed in Version | Slicer 4.9.0 | ||
Summary | 0004615: VTK OpenGL2 Backend: Warnings about error in cache state for GL_SCISSOR_TEST | ||||
Description | When Slicer is built in debug mode then any render operation (even just rotating the empty box in 3D viewer) generates a long warning message. <pre> Generic Warning: In C:\D\S4D\VTKv9\Rendering\OpenGL2\vtkOpenGLState.cxx, line 229 | ||||
Tags | No tags attached. | ||||
related to | 0004600 | resolved | allison.vacanti | VTK OpenGL2 Backend: Toggling surface smoothing hide/show GPU volume rendering instead of effectively updating the smoothing |
It seems that VTK and Qt's states are temporarily get out of sync and this generates the warning. Calling ostate->vtkglDisable before f->glDisable in QVTKOpenGLNativeWidget::paintGL() (around Line 532) seems to fix the issue: Current (generates warning):
Updated (does not generate warning):
I was just playing around with this, so I'm not sure that this is a proper solution but it seems to work. |
|
I think this was fixed in VTK master. See https://github.com/Kitware/VTK/commit/60989d5e79bd25154e7c2416d47843ec1536de0d#diff-6e5f5332237272bf7cf332e80ffcfb36 |
|
Great, thanks, then we just have to update VTK in Slicer! |
|
Closing. Fix integrated in http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=27440 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-09-20 01:28 | lassoan | New Issue | |
2018-09-20 01:28 | lassoan | Status | new => assigned |
2018-09-20 01:28 | lassoan | Assigned To | => jcfr |
2018-09-20 01:28 | lassoan | Relationship added | related to 0004600 |
2018-09-20 09:16 | lassoan | Note Added: 0016039 | |
2018-10-01 13:00 | jcfr | Note Added: 0016058 | |
2018-10-01 13:19 | lassoan | Note Added: 0016059 | |
2018-10-01 18:27 | jcfr | Status | assigned => resolved |
2018-10-01 18:27 | jcfr | Resolution | open => fixed |
2018-10-01 18:27 | jcfr | Fixed in Version | => Slicer 4.9.0 |
2018-10-01 18:27 | jcfr | Note Added: 0016062 |