Summary: | All settings in LUT Management disabled when using OpenColorIO (ocio) | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Ragnar Brynjúlsson <ragtag> |
Component: | Dockers | Assignee: | Halla Rempt <halla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla, ragtag |
Priority: | NOR | Keywords: | release_blocker |
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/5a064718fa80ff74c773882f7314b3417b724435 | Version Fixed In: | |
Sentry Crash Report: |
Description
Ragnar Brynjúlsson
2013-10-05 10:58:33 UTC
This may be a user error on my part, and not an actual bug. The OpenColorIO settings become available as soon as you set the image to 32-bit float, but become disabled if the image is set to 8 or 16-bit. Though I'm not sure if this is the correct behavior when it comes to OpenColorIO. As a side note. The OpenColorIO settings still affect 8 and 16-bit images, even though you cant adjust them, which surely is a bug. Either OpenColorIO should work for all color depths, or be completely disabled for 8 and 16-bit images. Well, yes -- ocio only really works on floating point RGB colorspaces, which is why we disable the gui for integer colorspaces. I think that other apps convert 8 bit integer to 32f internally, actually. I haven't been able to reproduce a situation where the ocio docker is enabled when starting with an 8 bit integer file, though. The steps to get OpenColorIO to affect 8-bit images, even though the settings are disabled would be something like: 1. Enable OpenGL and OpenColorIO, using spi-vfx config. 2. Create a 32f image, and set Input ColorSpace, Display Device and View to something that looks wrong (the default, lnf, DCIP3 and Film, makes white pinkish on my machine, which would work). 3. In Image>Properties, set the image to 8-bit OR open another 8-bit image. What happens is that the OpenColorIO settings become grayed out, but the LUT's are still affecting the image giving them a pinkish hue. It even seems to remember the settings after you restart Krita. It seemingly means you can work in 8 or 16 bit, with OpenColorIO. You just need to switch the image to 32-bit, change the settings to what you want, and switch it back. This can actually be quite handy, as 32-bit tends to be quite heavy to work with making big brushes slow. Git commit f30e59fda0202ebc39a93a9d78ed5dc2fbad2d63 by Boudewijn Rempt. Committed on 06/02/2014 at 14:27. Pushed by rempt into branch 'calligra/2.8'. OCIO: Support 8 and 16 bit integer images and the qpainter canvas M +27 -25 krita/plugins/extensions/dockers/lut/lutdocker_dock.cpp M +28 -11 krita/ui/canvas/kis_image_pyramid.cpp http://commits.kde.org/calligra/f30e59fda0202ebc39a93a9d78ed5dc2fbad2d63 Git commit 5a064718fa80ff74c773882f7314b3417b724435 by Boudewijn Rempt. Committed on 06/02/2014 at 14:27. Pushed by rempt into branch 'master'. OCIO: Support 8 and 16 bit integer images and the qpainter canvas M +27 -25 krita/plugins/extensions/dockers/lut/lutdocker_dock.cpp M +28 -11 krita/ui/canvas/kis_image_pyramid.cpp http://commits.kde.org/calligra/5a064718fa80ff74c773882f7314b3417b724435 |