Skip to content
  • Utkarsh Ayachit's avatar
    BUG: Fixed BUG #8445. When using log scaled lookup tables, scalar mapping wasn't · f9de6b0f
    Utkarsh Ayachit authored
    correct when InterpolateScalarsBeforeMapping was ON. This was due to the fact
    that vtkScalarsToColorsPainter did not consider the log mapping at all when
    generating the texture coordinates. Fixed that.
    
    This patch also exposes some static API from vtkLookupTable to make it easy to
    compute log values from vtkScalarsToColorsPainter without code duplication
    between vtkScalarsToColorsPainter and vtkLookupTable.
    f9de6b0f