Page MenuHomePhabricator

Colored surfaces are not correctly visualized in 2d views
Closed, WontfixPublic

Description

If you have a surface with varied colors (which are defined by a scalar for every vertex and a lookup table), these colors are not visualized in the 2d views.

Also have a look at the attached screenshot, where the bug is shown.

colored_surface.jpg (1×1 px, 262 KB)

Event Timeline

Perhaps there's something wrong with the open gl context. This bug may be related to T8188.

Major loss of function. Alfred, can you please provide the necessary data for this bug (again) ? Best would be an attachment or a path written to a local file.

Unfortunately bigger test data files are not allowed as attachment. I stored a test data scene on E130-Daten/Navi/Temp/coloredSurface.mitk

It's about 2 MB and it shows exactly the problem. Simply load it to MITK.

Alfred the screenshot is based on the ExtApp and hence rather outdated. could you verify this bug on the current master?

Need to extend MitkSurfaceMapperGL2D to sample the scalar values and properly apply the lookuptable. This is not a bug, it's not implemented, thus I change importance to feature request.

Because I needed exactly this feature I have added it to mitkSurfaceGLMapper2D.cpp

A very simple fix can be found here:
https://github.com/MITK/MITK/pull/67

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.