Re: [Bf-committers] Color space issues in importers/exporters

2015-01-01 Thread Campbell Barton
On Tue, Dec 30, 2014 at 7:02 PM, Sergey Sharybin sergey@gmail.com wrote: Campbell, That ad-hoc example is totally extreme. Issues: - Formats does not specify color space, so you don't know what's the nature of colors in them. - Even if you'll figure out colorspace of the model file

Re: [Bf-committers] Color space issues in importers/exporters

2014-12-30 Thread Sergey Sharybin
Campbell, That ad-hoc example is totally extreme. Issues: - Formats does not specify color space, so you don't know what's the nature of colors in them. - Even if you'll figure out colorspace of the model file what are you gonna to do with the textures? Also, it is not always possible to

Re: [Bf-committers] Color space issues in importers/exporters

2014-12-30 Thread Fazekas László
I think it is possible to convert the linear space to other color spaces and vice versa. So perhaps the dialog should work in any color space you want, but in the background it could still be linear. I imagine the dialog remembers the last used color space for each color separately (it needs

[Bf-committers] Color space issues in importers/exporters

2014-12-29 Thread Antony Riakiotakis
Hello, we have a bug report that claims our importers do not do any sort of color space correction for external assets, see https://developer.blender.org/T43025 The issue should be that most exporters presume srgb color space while our material definition is in linear space. I am not sure if the

Re: [Bf-committers] Color space issues in importers/exporters

2014-12-29 Thread Campbell Barton
As far as I can see the only good solution here is for import/export to handle the conversion themselves, We can have some convenience functions in `mathutils.Color` so py devs can switch between spaces. On Tue, Dec 30, 2014 at 1:40 AM, Antony Riakiotakis kal...@gmail.com wrote: Hello, we have a

Re: [Bf-committers] Color space issues in importers/exporters

2014-12-29 Thread Sergey Sharybin
Hi, First of all, I want to be really sure it is a blender issue, not an issue of some particular weird working pipeline. Hence my question here is: how often do you mix software with different color pipelines (in regards of 3d model interchange, NOT gading/comping sw)? It sounds a bit weird to

Re: [Bf-committers] Color space issues in importers/exporters

2014-12-29 Thread Campbell Barton
Would be good to hear more on the use case from the bug reporter. But I think this issue is you may import models ad-hoc into an existing scene, without that being a key-part of your pipeline. In that case its not great if you want to load in some model and the colors look different. However

Re: [Bf-committers] Color space issues in importers/exporters

2014-12-29 Thread Antony Riakiotakis
From the comments on that report (thanks Brecht) it seems that not all software exports to srgb after all. The way I would solve this for such formats is to just have an option so the user can select the color space their color data is in, same as we do for images.