Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Use colorspace data when creating thumbnail. #5256

Closed

Conversation

tokejepsen
Copy link
Member

@tokejepsen tokejepsen commented Jul 6, 2023

Changelog Description

Thumbnail creation was not using the colorspace data to correct convert.

Testing notes:

  1. Create a render or review.
  2. Publish and verify thumbnail is correct color.

Hosts

  • Nuke
    • Render
    • Review
  • Maya
    • Render
    • Review
  • Houdini
    • Render
    • Review
  • Fusion
    • Render
    • Review
  • Blender
    • Render
    • Review
  • 3dsmax
    • Render
    • Review
  • Flame
    • Render
    • Review
  • Harmony
    • Render
    • Review
  • Tvpaint
    • Render
    • Review
  • Photoshop
    • Render
    • Review
  • AE
    • Render
    • Review
  • Celaction
    • Render
    • Review
  • Unreal
    • Render
    • Review
  • Hiero
    • Render
    • Review

This PR is now developed by @jakubjezek001

@tokejepsen tokejepsen requested a review from LiborBatek July 6, 2023 09:46
@ynbot ynbot added type: bug Something isn't working size/XS Denotes a PR changes 0-99 lines, ignoring general files labels Jul 6, 2023
@BigRoy
Copy link
Collaborator

BigRoy commented Jul 6, 2023

Testing notes should likely include testing all DCCs that produce thumbnails? And likely aside of deadline rendering also playblast reviews?

@ClementHector
Copy link
Contributor

I tested for review with render familly, and Thumbnail creation now use the right colorspace data to convert.

@tokejepsen
Copy link
Member Author

Testing notes should likely include testing all DCCs that produce thumbnails? And likely aside of deadline rendering also playblast reviews?

Have updated the description with hosts and families to test.

Copy link
Member

@LiborBatek LiborBatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did test Maya rendering and publish and it seems there is a slight color shift.

Been using OP OCIO config with ACEScg

image

image

image

@tokejepsen
Copy link
Member Author

@LiborBatek how are you viewing the render and thumbnail?

@LiborBatek
Copy link
Member

LiborBatek commented Jul 11, 2023

@LiborBatek how are you viewing the render and thumbnail?

ordinary moviePlayer like VLC and XnView for stills

But I guess it should work in any media player, right? It should be always baked into sRGB no matter what source color space.

I can imagine it could be just difference between sRGB and Rec709 view color space...

Here is the reviewable loaded into Nuke and its pretty obvious they differ by those...

RenderCompare.mp4

@LiborBatek
Copy link
Member

My conclusion is that thumbnail and movie are in Rec709 not sRGB.

If I look how the raw exr render looks with sRGB view in NUKE and our reviewables are washed out when also looking via sRGB view.

@tokejepsen
Copy link
Member Author

@LiborBatek what colorspace are you rendering to from Maya? Guessing ACEScg?
Are you interpreting the EXRs as ACEScg?
Looks like your Nuke setup is not using OCIO?

@LiborBatek
Copy link
Member

LiborBatek commented Jul 11, 2023

@LiborBatek what colorspace are you rendering to from Maya? Guessing ACEScg? Are you interpreting the EXRs as ACEScg? Looks like your Nuke setup is not using OCIO?

Yeah as you could see on scrn above ....it is ACEScg.

You are right! ...forgot switch Nuke to the custom OCIO config. Will do and check again...now being default linear/sRGB.

But still...those Reviewables looks washed out compared to native RenderView in Maya with OCIO set....so still an issue.

@moonyuet
Copy link
Member

moonyuet commented Jul 28, 2023

Just do simple test to see whether it breaks the code, so I tested with png. The colorspace seems to match the one which does in manual playblast.
3dsmax 2024 works as expected(they are with OCIO config in the latest version)
image

blender seems to not quite match the color(but the color is a bit off?), I use blender 3.3.6
image

I also tested in Houdini successfully it doesn't break the code yet. But as there is a PR to implement hou ocio colorspace, so I dont do further test for it.
I will do some tests with exr too.

@tokejepsen
Copy link
Member Author

@moonyuet does 3ds max review also work?

@LiborBatek LiborBatek self-requested a review July 31, 2023 11:16
Copy link
Member

@LiborBatek LiborBatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tokejepsen 3dsmax Review seems working. However I had to turn custom OCIO config file manually...
image

@jakubjezek001 seems like 3dsmax host doesnt take OP custom OCIO config file at the startup and need to be switched manually via max UI.

image

I had to switch from default Gamma Workflow to OCIO Custom ...also seems like beta feature in 3dsmax

@LiborBatek
Copy link
Member

Did create an Issue for starting max without OCIO config predefined...

#5473

@jakubjezek001 jakubjezek001 assigned jakubjezek001 and unassigned 64qam Sep 4, 2023
@ClementHector
Copy link
Contributor

Can you add Hiero in the software list?

@BigRoy
Copy link
Collaborator

BigRoy commented Oct 4, 2023

Can you add Hiero in the software list?

I assume you mean the checkboxes in the PR description. If so, done.

@jakubjezek001
Copy link
Member

Task linked: OP-6659 Maya: thumbnail color space

@jakubjezek001 jakubjezek001 added sponsored Client endorsed or requested and removed community contribution labels Oct 17, 2023
@jakubjezek001
Copy link
Member

jakubjezek001 commented Oct 17, 2023

I have updated this PR to latest changes from recent develop.

  • Converted colorspaceData key as optional for oiiotools processing. If representation is missing colorspaceData it will fall back to FFMPEG processing.
  • Some hosts are not included Display and View into colorspaceData so we have to add those only as optional. The question is if we should be adding target colorspace instead and find the way to pass it from either from settings or upstream from ExtractOIIOTranscode. At the moment the plugin settings is having only available FFMPEG related inputs and I am assuming we should have the same for OIIO
    image

@jakubjezek001 jakubjezek001 assigned antirotor and unassigned BigRoy Oct 18, 2023
@jakubjezek001
Copy link
Member

closing in favor of #5938

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: UE size/XS Denotes a PR changes 0-99 lines, ignoring general files sponsored Client endorsed or requested type: bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.