OpenColorIO icon indicating copy to clipboard operation
OpenColorIO copied to clipboard

`ociodisplay` inconsistency between tetrahedral interpolation and linear sampling

Open num3ric opened this issue 3 years ago • 0 comments

With tetrahedral interpolation, the gpu processor generates manual interpolation code in Lut3DOpGPU.cpp and specifies the use of GL_NEAREST.

However, the SetTextureParameters function used by ociodisplay still sets the texture to GL_LINEAR in this case. Shouldn't this if-statement also set the texture to GL_NEAREST if the incoming interpolation is tetrahedral as well?

num3ric avatar Aug 21 '22 14:08 num3ric