Maniphest T62375

Grease pencil viewport render does not use color management view transform
Closed, Duplicate

Assigned To
None
Authored By
Ilari Männistö (Lattapotta)
Mar 9 2019, 12:11 AM
Tags
  • BF Blender
  • Grease Pencil
Subscribers
Brecht Van Lommel (brecht)
Ilari Männistö (Lattapotta)
Stephen Swaney (stiv)

Description

System Information
Operating system: Win 10 Home
Graphics card: nVidia GTX 1080

Blender Version
Broken:
Date: 2019-02-10 23:55
Hash: '69b2f5268114
Branch: blender2.7

Short description of error
Grease pencil colors appear different to the ones shown in viewport when rendering with any render engine.

Exact steps for others to reproduce the error
Draw and use Freestyle or Grease Pencil. Use colors in fills and outlines. Render with Eevee and Cycles and Workbench. Different result as shown here:
Eevee:

Cycles:

Workbench:


(edit: wrong screenshot originally)

Event Timeline

Ilari Männistö (Lattapotta) created this task.Mar 9 2019, 12:11 AM
Ilari Männistö (Lattapotta) updated the task description.
Stephen Swaney (stiv) lowered the priority of this task from 90 to 30.Mar 10 2019, 12:02 AM
Stephen Swaney (stiv) added a subscriber: Stephen Swaney (stiv).

Do you have a .blend file for us showing the problem?

Ilari Männistö (Lattapotta) added a comment.Mar 11 2019, 11:14 PM

I hope this has all the necessary things. :P Sorry for the terrible drawings.

Brecht Van Lommel (brecht) claimed this task.Mar 14 2019, 2:27 PM
Brecht Van Lommel (brecht) raised the priority of this task from 30 to 50.
Brecht Van Lommel (brecht) renamed this task from Eevee, Workbench and Cycles grease pencil colors don't match viewport. to Grease pencil viewport render does not use color management view transform.Jun 6 2019, 4:50 PM
Brecht Van Lommel (brecht) added a comment.Jun 6 2019, 5:00 PM

There were some fixes in this area. The remaining issue is that grease pencil rendering in the viewport seems to ignore the view transform. Only in the final render does it have an effect. By default the 2D Animation template uses the Standard view transform and so that works fine.

Since grease pencil works in sRGB space, there would need to be an sRGB -> scene_linear -> display space transform applied. In specific cases where that display space happens to be sRGB, it could skip that transform for performance.

Ilari Männistö (Lattapotta) added a comment.Jun 8 2019, 9:38 PM

Nice to hear!
Sounds like moving grease pencil from being just an sRGB thing into a Linear workflow with HDR capabilities would resolve some of these issues but it's probably a lot of work. And until HDR monitors become more common-place, it's probably not needed anyway.

Sam Van Hulle (sam_vh) mentioned this in T68926: Color Management Improvements.Sep 5 2019, 12:48 PM
Philipp Oeser (lichtwerk) added a project: Grease Pencil.Nov 1 2019, 11:11 AM
Dalai Felinto (dfelinto) removed Brecht Van Lommel (brecht) as the assignee of this task.Dec 23 2019, 4:34 PM
Dalai Felinto (dfelinto) added a project: Tracker Curfew.
Dalai Felinto (dfelinto) added a subscriber: Brecht Van Lommel (brecht).
Antonio Vazquez (antoniov) closed this task as a duplicate of T66293: GPencil: Redesign Blend modes and cleanup Drawing Engine.Dec 28 2019, 9:52 AM
Antonio Vazquez (antoniov) removed a project: Tracker Curfew.