Page MenuHomePhabricator

Proper transparency in MITK
Closed, ResolvedPublic

Description

Add a new preference combobox with 3 settings:

  • Standard MITK rendering
  • Depth peeling enhanced rendering
  • Multisampled rendering

Depth peeling has to be enabled at very early stages on the VTK objects. Optimally behind the constructor.

Event Timeline

New remote branch pushed: bug-16746-depth-peeling

User fangerau has pushed new remote branch:

bug-16746-integration

User engelhsa has pushed new remote branch:

bug-16746-integration-depth-peeling

We introduced a "rendering mode" option in the preference menu in the Editor > StandardMultiWidget Tab. The user can switch between three different options for the Standard Multi Widget:

Standard Rendering (= Diabled Antialiased, no Depth Peeling ) -> same behaviour as before
Multisampling (= Enabled Antialiasing, no Depth Peeling)
Depth Peeling ( = Disabled Antialsiing, Depth Peeling)
On code level, the respective VTK commands such as SetMultiSample() and SetAlphaBitPlanes() are set in the constructor of the QmitkRenderWindow depending on the userdefined preference or on the prefered option defined by the programmer.

Then, the renderingMode is passed to the BaseRenderer, where more specific options for depth peeling are defined.

User engelhsa has pushed new remote branch:

bug-16746-Integration-Transparency

User engelhsa has pushed new remote branch:

bug-16746-Second-Integration-Transparency

[ba4dc5]: Merge branch 'bug-16746-Second-Integration-Transparency'

Merged commits:

2014-03-26 16:23:26 Sandy Engelhardt [6e4048]
Adjusted footnote on the preference page


2014-03-26 15:58:08 Sandy Engelhardt [40b8b6]
Merge branch 'bug-17610-polygon-depth-sorting' into bug-16746-Second-Integration-Transparency


2014-03-26 15:57:34 Sandy Engelhardt [3d3baa]
Merge branch 'bug-16746-Integration-Transparency' into bug-16746-Second-Integration-Transparency


2014-03-26 15:54:43 Sandy Engelhardt [bd7cb8]
Enable Polygon sorting for proper transparency rendering


2014-03-20 13:36:03 Sandy Engelhardt [0fcb6d]
Merge branch 'bug-16746-integration-depth-peeling' into bug-16746-Integration-Transparency

Conflicts:
CMakeExternals/MITKData.cmake
Core/Code/Rendering/mitkVtkPropRenderer.cpp


2014-03-12 18:00:04 Sandy Engelhardt [c2cd4a]
New test for depth peeling


2014-03-05 15:58:42 Sandy Engelhardt [f44e3d]
Merge branch 'bug-16746-depth-peeling' into bug-16746-integration-depth-peeling

Conflicts:
Modules/QtWidgets/QmitkRenderWindow.cpp


2014-03-05 14:57:05 Sandy Engelhardt [7e2dca]
restored former constructor and fix the initialize method


2014-02-04 17:34:38 Sandy Engelhardt [de051a]
Change in ContourMapper2DTest


2014-02-04 17:33:57 Sandy Engelhardt [285d54]
Standard Rendering, Depth Peeling and Multi Sampling


2014-01-08 17:03:21 Sandy Engelhardt [c7cc44]
introduce rendering mode in preference menu


2014-01-08 17:02:35 Sandy Engelhardt [ccd282]
Remove legacy depth peeling support

[7ffc0a]: Merge branch 'bug-16746-Second-Integration-Transparency'

Merged commits:

2014-03-26 16:51:09 Sandy Engelhardt [9e3cec]
disabled depthpeeling test on mac

[88b7de]: Merge branch 'bug-16746-Second-Integration-Transparency'

Merged commits:

2014-03-27 12:19:33 Sandy Engelhardt [af5c64]
COMP: Change revision tag for surface interpolation test commit

[378452]: Merge branch 'bug-16746-Second-Integration-Transparency'

Merged commits:

2014-03-27 14:01:25 Sandy Engelhardt [96cd47]
COMP: Fixing Surface3DTest and improve performance of depth sorting

[ca24a9]: Merge branch 'bug-16746-Second-Integration-Transparency'

Merged commits:

2014-03-27 15:11:30 Sandy Engelhardt [9d93bc]
COMP: Perform test only when an advanced OPENGL version is available

User engelhsa has pushed new remote branch:

bug-16746-New-Rendering-Test-Depth-Sorting

[c52d7f]: Merge branch 'bug-16746-New-Rendering-Test-Depth-Sorting'

Merged commits:

2014-04-30 16:50:21 Sandy Engelhardt [8fffc8]
New Rendering Test for depth sorting polygons in surfaces (transparency)

[9366e9]: Merge branch 'bug-16746-New-Rendering-Test-Depth-Sorting'

Merged commits:

2014-04-30 17:21:01 Sandy Engelhardt [fa5331]
COMP: Uncomment new rendering test

[ba2afb]: Merge branch 'bug-16746-New-Rendering-Test-Depth-Sorting'

Merged commits:

2014-06-11 15:20:47 Sandy Engelhardt [efca3d]
Change revision tag number


2014-05-07 14:17:47 Sandy Engelhardt [9d3374]
Enabling Depth Sorting Rendering test