Page MenuHomePhabricator

Very slow Rendering of Poinsets
Closed, ResolvedPublic

Description

Rendering of pointsets is very slow in the 3D renderwindow. The performance problem seems to be in the vtkPointsetMapper2D. In the 3m3 release the same pointsets are rendered very smoothly. In the actual MITK the memory bar displays 37gb of used memory while 3m3 shows only 900 mb for the same pointset. Perhaps this problem is related to the slow rendering of pointsets.

Event Timeline

The Problem seems to be in the following method:
void mitk::PointSetVtkMapper3D::CreateVTKRenderObjects()

In every rendering step new spheres are generated. The spheres should only be generated once and reused in every rendering step. They should only be updated if the pointset was modified.

Also we should make sure that the poibnts are only rendered once in every rendering step. This could also be a Problem, need to evaluated.

Bug is only in the new release 2013.03.00. The Bug is not present in the previous releases.

This bug has been introduced during the architecture refactoring of the mappers (T8150) and has been solved in the scope of this refactoring project.

For further description see T14932.