View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004251 | Slicer4 | Core: Rendering | public | 2016-09-09 09:20 | 2017-04-26 10:23 |
Reporter | lassoan | Assigned To | msmolens | ||
Priority | normal | Severity | major | Reproducibility | random |
Status | resolved | Resolution | fixed | ||
Product Version | Slicer 4.6.0 | ||||
Target Version | Fixed in Version | ||||
Summary | 0004251: Ordering of 2D actors is often wrong with OpenGL2 | ||||
Description | Z order of 2D actors are often wrong in slice viewers when OpenGL2 rendering backend is used.
| ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
From Ken: most every VTK test checks that z ordering is correct. Otherwise the resulting images would be incorrect. I suspect what you are seeing is tied to a specific mapper or widget or something that is not tested as thoroughly in VTK. |
|
I need to investigate further, but one thing to look at is a difference in vtkOpenGLImageMapper between the OpenGL and OpenGL2 backends. OpenGL2's mapper disables depth testing: |
|
I've quickly tested with the latest trunk version, with OpenGL2 backend and everything seemed to work well. Model rendering is much faster with OpenGL2 backend! (for more complex models, OpenGL backend lags very much; the same models are updated at max framerate of 60fps) |
|
Thanks for the feedback Andras. What do you think if we enable the OpenGL2 backend for few days and gather feedback ? |
|
Yes, I think it would be a good idea to enable OpenGL2 backend by default now. If users don't find any problems in the coming few weeks then it may be used for the upcoming stable release. |
|
It also works well for me, depth peeling included. |
|
For reference, this was fixed in https://github.com/Slicer/Slicer/pull/587 / http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=25395 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-09-09 09:20 | lassoan | New Issue | |
2016-09-09 09:20 | lassoan | Status | new => assigned |
2016-09-09 09:20 | lassoan | Assigned To | => msmolens |
2016-09-09 09:20 | lassoan | File Added: WrongActor2dOrderOpenGL2.png | |
2016-09-13 09:55 | jcfr | Note Added: 0014092 | |
2016-09-20 18:48 | msmolens | Note Added: 0014108 | |
2016-09-26 16:41 | lassoan | Note Added: 0014127 | |
2016-09-26 16:42 | jcfr | Note Added: 0014128 | |
2016-09-26 19:24 | lassoan | Note Added: 0014129 | |
2016-09-26 20:34 | pinter | Note Added: 0014130 | |
2016-09-27 09:44 | msmolens | Note Added: 0014131 | |
2016-09-27 09:44 | msmolens | Status | assigned => resolved |
2016-09-27 09:44 | msmolens | Resolution | open => fixed |