Page MenuHomePhabricator

Volume renderer mapper requires too much time for initializing
Closed, ResolvedPublic

Description

Enabling volume-rendering can cost up to 30-40s initializaton time,
and the application seems frozen to the user, cause there is no visual feedback.

Event Timeline

[SVN revision 20971]
FIX (#3216): volume mapper speedup

In last commit, the speedup was achieved trough:

  • Rewritten gradient computation

it contains now specialized inner loops without bounds checking for the gradient filter (which needs that, cause he samples in neighborhood of the actual sample)

  • Parallelization with OMP
  • Disabled texture compression

It can now be enabled with a property and defaults to off,
because compression increases upload time and introduces artifacts.

by using this, the speedup was around factor 10, from 30s to 3s.