Add HDR painting mode to Krita
ClosedPublic

Authored by dkazakov on Feb 19 2019, 1:44 PM.

Details

Reviewers
rempt
Group Reviewers
Krita
Summary

This revision is an essence of this branch: https://phabricator.kde.org/source/krita/history/kazakov%252Fhdr-support/

It enables HDR painting workflow in Krita:

  1. Window surface format can be selected in Preferences->Display
  2. Rec 2020 PQ color space is added to LCMS engine
  3. Small Color Selector support selection of HDR color. You image should be in a floating point format to enable "Brightness" slider.
  4. Allows saving HDR PNG images according to the standard
Test Plan
  1. Build Krita with the patched Qt (in ext_qt)
  2. Enable HDR mode in your display (if applicable)
  3. Go to Preferences->Display and select p2020-pq surface format
  4. Restart Krita
  5. Create a 16-bit float image
  6. Open Small Color Selector
  7. Try to play with "Brightness" slider and see how the selector changes.
  8. Download a special OCIO config: https://github.com/dimula73/krita-hdr-ocio
  9. Enable output via OCIO and play with Exposure slider

Diff Detail

Repository
R37 Krita
Lint
Lint Skipped
Unit
Unit Tests Skipped
dkazakov requested review of this revision.Feb 19 2019, 1:44 PM
dkazakov created this revision.
dkazakov updated this revision to Diff 52067.Feb 19 2019, 2:00 PM

The original patch was reversed. This is the correct one.

dkazakov updated this revision to Diff 52082.Feb 19 2019, 3:47 PM

bb2a943350 Fix crash when the small color selector has zero size
4f47eca44e Cleanup some forgotten lines
05d5915a5a Remove pure virtual from KisColorSelectorComponent::setColor()
98f0a51d62 Add GPL2+ license to new files
4181901f1c PNG converter doesn't need half.h anymore
0347350087 Enable HDR mode in the autobuild script

rempt accepted this revision.Feb 21 2019, 11:56 AM
This revision is now accepted and ready to land.Feb 21 2019, 11:56 AM
woltherav closed this revision.Mar 1 2019, 2:50 PM
woltherav added a subscriber: woltherav.

Lets close this :)