Jump to content
You must now use your email address to sign in [click for more info] ×

OCIO display transform might be bugged while exporting


Recommended Posts

Hello,

I have a Blender render which I exported as an 32bit EXR for postprocessing in Affinity Photo.

I'm using OCIO Display transform noen in combianation with an OCIO Adjustment layer, which gives me accactly the Filmic look from Blender

 

image.png.1138c4e6a39c5b4d35892cc67f765cd2.png

 

image.png.38f4ded5767fef72c71a3e1681f766b7.png

 

 

This is how the image looks in Affinity after my post edit:

 

image.thumb.png.76e6b7ae6311eff7d6c1facbdefc7169.png

 

But as soon I want to export it, it's becomming much too bright:

image.png.ba358cea252a74a3573901cb9fa41977.png

 

I already figured out what is causing this. It behaves like the Display transform would be set to ICC Display transform:

image.png.e5e1b5d3f1afefd8e038a1bf8be5910b.png

I get the same look in Affinity if I change the value to this.

But if I import the aphoto file to Publisher an export it via Publisher the export looks correctly.

 

image.thumb.png.f1d9d39cf7d65803d7fbd6f69b76f0d4.png

 

Is there something which I'm doing wrong? Or is this a bug?

Link to comment
Share on other sites

  • 2 months later...
  • Staff

Hi @stger, to expand on this: OCIO display transform is primarily meant to be used for a VFX pipeline where Photo is used to ingest an EXR document, perform some edits in linear space, then export back to EXR using colour space conversion if applicable.

Using File>Export for any gamma-encoded format (JPEG, 8-bit or 16-bit TIFF etc) will use the ICC Display Transform result, since this mimics the gamma encoded view you would see in those formats.

OCIO display transform employs a non-destructive device and view transform on top of the linear data you're working with, effectively allowing you to preview it in various colour space and device configurations. You can of course move between colour spaces using the OCIO adjustment layer—this is primarily for compositing material together with different source colour spaces. For example, you might bring in a composite layer that's actually in Rec.709 whereas you might be working in ACES. So you would use an OCIO adjustment layer to go from ACES to Rec.709, place that layer above this, then use another OCIO adjustment to go back from Rec.709 to ACES.

Finally, the export process would involve going back to EXR so that all the colour values remain linear.

To add another layer of complexity, you can control the input and output colour space for EXR by appending the colour space to the file name. For example, if you have an EXR document whose primaries are in linear ACES, you could name it "filename aces.exr", and Photo would convert from ACES to scene linear when importing it.

When exporting, you can also convert to an output colour space—so if your export filename was "filename acescg.exr", it would convert the primaries to ACES CG.

Of course, none of this is helpful when you simply want to export a colour managed bitmap from Photo 😅

As you've discovered, this approach needs to use ICC Display Transform: the issue here is that you're also battling a non-linear gamma transform that gets applied at presentation stage (and then encoded into the document profile upon export).

I do have some free macros here which might be helpful: https://jamesritson.co.uk/resources.html#hdr

The Blender Filmic macros allow you to apply the filmic transforms to linear EXR/HDR data without any OCIO dependencies, so you can open your EXR files, apply whichever contrast look you want, then go about your editing and finally use File>Export safe in the knowledge that everything will look consistent.

The one thing you may have to be mindful of is that if you have OCIO configured, any EXR you open will switch to OCIO display transform by default, so you'll have to manually switch it to ICC Display Transform.

Hope that helps!

 

Product Expert (Affinity Photo) & Product Expert Team Leader

@JamesR_Affinity for tutorial sneak peeks and more
Official Affinity Photo tutorials

Link to comment
Share on other sites

Hello,

Thank you for the answer. Most if it I already figured out myself.

Originally I just wanted to do Blender EXR post edit in Affinity, and yes I already found

https://jamesritson.gumroad.com/l/jr_blender_filmic_macros?layout=profile

Which is an excellent solution. ❤️

However, it would be awesome if we could get the Blender Filmatic transformation built-in as a filter, to make the life of the Blender users easier ;)

It was really a long journey for me until I found that macro.

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.