[Bf-committers] Color to greyscale conversion - confusion
ideasman42 at gmail.com
Mon Jun 25 10:19:14 CEST 2012
On Sat, Jun 23, 2012 at 7:39 PM, Troy Sobotka <troy.sobotka at gmail.com> wrote:
> On Jun 23, 2012 5:01 AM, "Campbell Barton" <ideasman42 at gmail.com> wrote:
>> - Texture and shading pipeline use rgb_to_bw() which treat RGB more
>> evenly which might be better for shading when very un-even influences
>> for RGB channels could be problematic for shading with textures of
>> different colors (rgb_to_bw)
>> - Where as with compositing - perceptual rgb->bw is much more
>> important (rgb_to_grayscale)
> g list
> Technically this is in the domain of LUTs once OCIO lands.
> The problem with attempting a non color aware approach is that it takes us
> directly into the hard coded color domain again, as all values are assumed
> 1:1 linear sRGB.
> With respect,
Don't think lack of OCIO is an excuse for arbitrary/different hard
coded conversions in our code.
Will add comments to these functions to say we don't know why they are
different and someone who has a clue could clear up the confusion one
of these days :S
More information about the Bf-committers