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

Campbell Barton ideasman42 at gmail.com
Thu Jan 1 14:24:46 CET 2015


On Tue, Dec 30, 2014 at 7:02 PM, Sergey Sharybin <sergey.vfx at 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 what are you
> gonna to do with the textures?

Formats such as WRL, X3D, 3DS, PLY, OBJ etc... don't spesify a
colorspace, but we can assume sRGB.

As for their textures, they're typically JPG/PNG/BMP, and blender
loads these in and renders them fine.

If all users ever did was load in models and export them back out,
disabling color management would be reasonable, but if you have a
scene with linear color (which is default), then loading sRGB and
displaying as linear isnt so great.

It seems reasonable if an importer is loading some colors and the
color-space of the source-format is known,
that it could convert them into the current scenes color-space.

> Also, it is not always possible to prevent color changes on import: for
> example when the model was done in non-colormanaged pipeline where display
> space is not invertible.
>
> Antony.
> Images you see immediately after opening them and could easily change color
> space. Color on your models you might not be able to see for until render,
> when it might be simply too late to re-import with proper colorspace.
>
> Also, as other software was mentioned. How does that other software handle
> colorspaces for import/export?
>
>
> On Tue, Dec 30, 2014 at 3:10 AM, Antony Riakiotakis <kalast at gmail.com>
> wrote:
>
>> >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.
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>
>
> --
> With best regards, Sergey Sharybin
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



-- 
- Campbell


More information about the Bf-committers mailing list