Skip to content

1D LUT "linear" interpolation method is breaking with large values. #420

@KelSolaar

Description

@KelSolaar

Hi,

I noticed some noise in HDR light sources and after further investigation it seems like the 1D LUT linear interpolation method is breaking when subjected to large values, roughly around 65535 / 2: https://sendvid.com/wwqwmxdk

Reproducible using the following Nuke copy / paste:

set cut_paste_input [stack 0]
version 9.0 v4
Read {
 inputs 0
 file /Users/kelsolaar/Documents/Development/colour-science/colour-ramblings/resources/images/LuxoDoubleChecker.exr
 format "3115 1752 0 0 3115 1752 1 "
 origset true
 version 1
 name Read1
 selected true
 xpos -160
 ypos -85
}
EXPTool {
 mode Stops
 red 7
 green 7
 blue 7
 name Exposure1
 selected true
 xpos -160
 ypos -5
}
OCIOFileTransform {
 file /Applications/Nuke10.0v4/Nuke10.0v4.app/Contents/MacOS/plugins/OCIOConfigs/configs/nuke-default/luts/srgb.spi1d
 working_space linear
 name OCIOFileTransform3
 selected true
 xpos -160
 ypos 19
}
Viewer {
 frame 1
 frame_range 1-100
 name Viewer1
 selected true
 xpos -160
 ypos 43
}

The Luxo Double Checker image is available from Mark’s website: http://rit-mcsl.org/fairchild/HDRPS/Scenes/LuxoDoubleChecker.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions