OpenColorIO 2.0 Upgrade #84819
Closed
opened 2021-01-18 13:26:44 +01:00 by Brecht Van Lommel
·
37 comments
No Branch/Tag Specified
main
npr-prototype
blender-v4.4-release
blender-v4.2-release
remote-asset-library-monolithic
blender-v3.6-release
blender-v4.3-release
temp-sculpt-dyntopo
blender-v3.3-release
brush-assets-project
pr-extensions-tidy-space
blender-v4.0-release
universal-scene-description
blender-v4.1-release
blender-v3.6-temp_wmoss_animrig_public
gpencil-next
blender-projects-basics
sculpt-blender
asset-browser-frontend-split
asset-shelf
blender-v3.5-release
blender-v2.93-release
sculpt-dev
bevelv2
xr-dev
v4.4.0
v4.2.8
v4.2.7
v3.6.21
v4.2.6
v3.6.20
v4.2.5
v3.6.19
v4.3.2
v4.3.1
v4.3.0
v4.2.4
v3.6.18
v4.2.3
v3.6.17
v4.2.2
v3.6.16
v4.2.1
v3.6.15
v4.2.0
v3.6.14
v3.3.21
v3.6.13
v3.3.20
v3.6.12
v3.3.19
v4.1.1
v3.6.11
v3.3.18
v4.1.0
v3.3.17
v3.6.10
v3.6.9
v3.3.16
v3.6.8
v3.6.7
v3.3.14
v4.0.2
v4.0.1
v4.0.0
v3.6.5
v3.3.12
v3.6.4
v3.6.3
v3.3.11
v3.6.2
v3.3.10
v3.6.1
v3.3.9
v3.6.0
v3.3.8
v3.3.7
v2.93.18
v3.5.1
v3.3.6
v2.93.17
v3.5.0
v2.93.16
v3.3.5
v3.3.4
v2.93.15
v2.93.14
v3.3.3
v2.93.13
v2.93.12
v3.4.1
v3.3.2
v3.4.0
v3.3.1
v2.93.11
v3.3.0
v3.2.2
v2.93.10
v3.2.1
v3.2.0
v2.83.20
v2.93.9
v3.1.2
v3.1.1
v3.1.0
v2.83.19
v2.93.8
v3.0.1
v2.93.7
v3.0.0
v2.93.6
v2.93.5
v2.83.18
v2.93.4
v2.93.3
v2.83.17
v2.93.2
v2.93.1
v2.83.16
v2.93.0
v2.83.15
v2.83.14
v2.83.13
v2.92.0
v2.83.12
v2.91.2
v2.83.10
v2.91.0
v2.83.9
v2.83.8
v2.83.7
v2.90.1
v2.83.6.1
v2.83.6
v2.90.0
v2.83.5
v2.83.4
v2.83.3
v2.83.2
v2.83.1
v2.83
v2.82a
v2.82
v2.81a
v2.81
v2.80
v2.80-rc3
v2.80-rc2
v2.80-rc1
v2.79b
v2.79a
v2.79
v2.79-rc2
v2.79-rc1
v2.78c
v2.78b
v2.78a
v2.78
v2.78-rc2
v2.78-rc1
v2.77a
v2.77
v2.77-rc2
v2.77-rc1
v2.76b
v2.76a
v2.76
v2.76-rc3
v2.76-rc2
v2.76-rc1
v2.75a
v2.75
v2.75-rc2
v2.75-rc1
v2.74
v2.74-rc4
v2.74-rc3
v2.74-rc2
v2.74-rc1
v2.73a
v2.73
v2.73-rc1
v2.72b
2.72b
v2.72a
v2.72
v2.72-rc1
v2.71
v2.71-rc2
v2.71-rc1
v2.70a
v2.70
v2.70-rc2
v2.70-rc
v2.69
v2.68a
v2.68
v2.67b
v2.67a
v2.67
v2.66a
v2.66
v2.65a
v2.65
v2.64a
v2.64
v2.63a
v2.63
v2.61
v2.60a
v2.60
v2.59
v2.58a
v2.58
v2.57b
v2.57a
v2.57
v2.56a
v2.56
v2.55
v2.54
v2.53
v2.52
v2.51
v2.50
v2.49b
v2.49a
v2.49
v2.48a
v2.48
v2.47
v2.46
v2.45
v2.44
v2.43
v2.42a
v2.42
v2.41
v2.40
v2.37a
v2.37
v2.36
v2.35a
v2.35
v2.34
v2.33a
v2.33
v2.32
v2.31a
v2.31
v2.30
v2.28c
v2.28a
v2.28
v2.27
v2.26
v2.25
Labels
Clear labels
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Asset datablocks, libraries, browser and shelf
Interest
Audio
Interest
Automated Testing
Interest
BlendFile
Interest
Blender Asset Bundle
Interest
Code Documentation
Code comments, Python/RNA API descriptions
Interest
Collada
Interest
Compatibility
Backward and forward compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
FBX I/O related topics
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
USD
Interest
UV Editing
Interest
Undo
Interest
User Interface
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Wayland windowing on Unix
Interest
Workbench
Interest
glTF
glTF format I/O topics
Interest: X11
Xorg/X11 windowing
Legacy
Asset Browser Project
Archived
Legacy
Blender 2.8 Project
Archived
Legacy
Milestone 1: Basic, Local Asset Browser
Archived
Legacy
OpenGL Error
Archived
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Related to security, see policy: https://developer.blender.org/docs/handbook/bug_reports/vulnerability_reports/
Module
Animation & Rigging
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
Windows
Platform
macOS
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Archived
Type
Report
Archived
Type
To Do
Projects
Clear projects
No project
Assignees
Hoshinova
James-McCarthy-4
Sebastian-Herholz
casey-bianco-davis
gandalf3
Blendify Aaron Carlisle
quantimoney Aditya Y Jeppu
Alaska Alaska
angavrilov Alexander Gavrilov
frogstomp Aleš Jelovčan
amelief Amélie Fondevilla
elubie Andrea Weikert
Andy_Goralczyk Andy Goralczyk
ankitm Ankit Meel
Anthony-Roberts Anthony Roberts
antoniov Antonio Vazquez
aras_p Aras Pranckevicius
Arnd Arnd Marijnissen
bartvdbraak Bart van der Braak
mont29 Bastien Montagne
blender-bot Blender Bot
bnagirniak Bogdan Nagirniak
BClark Brad Clark
brecht Brecht Van Lommel
BrianSavery Brian Savery (AMD)
ideasman42 Campbell Barton
CharlesWardlaw Charles Wardlaw
CharlieJolly Charlie Jolly
Chris_Blackbourn Chris Blackbourn
lateasusual Chris Clyne (Lateasusual)
ChrisLend Christoph Lendenfeld
HobbesOS Cian Jinks
fclem Clément Foucault
cmbasnett Colin Basnett
Kdaf Colin Marmond
dfelinto Dalai Felinto
pioverfour Damien Picard
DanielBystedt Daniel Bystedt
pepe-school-land Daniel Martinez Lara
zanqdo Daniel Salazar
Mets Demeter Dzadik
erik85 Erik Abrahamsson
EAW Evan Wilson
filedescriptor Falk David
fsiddi Francesco Siddi
GaiaClary Gaia Clary
DagerD Georgiy Markelov
mano-wii Germano Cavalcante
zazizizou Habib Gahbiche
HooglyBoogly Hans Goudey
Harley Harley Acheson
weasel Henrik D.
Hjalti Hjalti Hjálmarsson
howardt Howard Trickey
nirved-1 Hristo Gueorguiev
mod_moder Iliya Katushenock
brita Inês Almeida
JacquesLucke Jacques Lucke
Jason-Fielder Jason Fielder
JasonSchleifer Jason schleifer
Jebbly Jeffrey Liu
Jeroen-Bakker Jeroen Bakker
deadpin Jesse Yurkovich
neXyon Joerg Mueller
eliphaz John Kiril Swenson
guitargeek Johnny Matthews
Brainzman Jonas Holzman
JoniMercado Jonatan Mercado
JorgeBernalMartinez Jorge Bernal
JosephEagar Joseph Eagar
JoshuaLeung Joshua Leung
Bone-Studio Juan Gea
jpbouza-4 Juan Pablo Bouza
JulianEisel Julian Eisel
JulienDuroure Julien Duroure
JulienKaspar Julien Kaspar
kevindietrich Kévin Dietrich
lone_noel Leon Schittek
LucianoMunoz Luciano Muñoz Sessarego
LukasStockner Lukas Stockner
LukasTonne Lukas Tönne
LunaRood Luna Rood
MaiLavelle Mai Lavelle
EosFoxx Marion Stalke
Baardaap Martijn Versteegh
scorpion81 Martin Felke
mendio Matias Mendiola
Matt-McLin Matt McLin
MetinSeven Metin Seven
wave Michael B Johnson
Michael-Jones Michael Jones (Apple)
makowalski Michael Kowalski
pragma37 Miguel Pozo
nrupsis Nate Rupsis
jesterking Nathan Letwory
nathanvegdahl Nathan Vegdahl
PrototypeNM1 Nicholas Rishel
nickberckley Nika Kutsniashvili
Sirgienko Nikita Sirgienko
OmarEmaraDev Omar Emara
pablovazquez Pablo Vazquez
PaoloAcampora Paolo Acampora
PascalSchon Pascal Schön
pmoursnv Patrick Mours
muxed-reality Peter Kim
lichtwerk Philipp Oeser
P2design Pierrick PICAUT
PratikPB2123 Pratik Borhade
Limarest Ramil Roosileht
farsthary Raul Fernandez Hernandez
LazyDodo Ray molenkamp
iss Richard Antalik
rjg Robert Guetzkow
salipour Sahar A. Kashi
Sayak-Biswas Sayak Biswas
Sean-Kim Sean Kim
sherholz Sebastian Herholz
sebastian_k Sebastian Koenig
ZedDB Sebastian Parborg
sebbas Sebastián Barschkis
Sergey Sergey Sharybin
IRIEShinsuke Shinsuke Irie
sidd017 Siddhartha Jejurkar
SietseB Sietse Brouwer
SimonThommes Simon Thommes
SonnyCampbell_Unity Sonny Campbell
Stefan_Werner Stefan Werner
Lockal Sv. Lockal
dr.sybren Sybren A. Stüvel
ThomasDinges Thomas Dinges
Ton Ton Roosendaal
BassamKurdali Ursula kurdali
Vasyl-Pidhirskyi Vasyl Pidhirskyi
WannesMalfait Wannes Malfait
wbmoss_dev Wayde Moss
weizhen Weizhen Huang
leesonw William Leeson
xavierh Xavier Hallade
jenkm Yevgeny Makarov
ChengduLittleA YimingWu
gfxcoder jon denning
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#84819
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @Jeroen-Bakker, @brecht
Just to give a status of the branch.
The smaller changes have been done.
ocio wrapper in intern should be updated to use the ocio pipeline. I didn't see a way around this API change. In the tmp-ocio-v2 I was planning for these changes but haven't done any code changes.
OpenColor 2.0 Upgradeto OpenColorIO 2.0 UpgradeAdded subscriber: @Blendify
Added subscriber: @baoyu
Since blender integrated OCIO, there's no way to set RRT and ODT seperately. RRT and ODT are tied together and can't be changed to any useful transforms other than srgb.
Could we have full ACES support or at least fulfill: 1 ability to seperately set IDT, RRT and ODT; 2 more useful transforms like Display P.3, Rec 2020 etc. and a correct preview, output, compositor tools that respects the color management.
Added subscriber: @svenstaro
Hey guys, in Arch Linux we're currently in the middle of the opencolorio 2.0 rebuild and Blender is currently blocking these efforts. Could you perhaps give me an update on this?
Added subscriber: @Memento
This issue was referenced by
1b4961b318
This issue was referenced by
6b40ee608c
I have a set of patches now for the upgrade, they still need to go through review.
There is no specific timeline for when this lands, I would guess somewhere in the next two weeks.
Cool, thanks for the fast action. :)
For the time being, we've added an opencolorio1 package that Blender builds against but I'd like to drop that package again ASAP.
Added subscriber: @SteffenD
Added subscriber: @troy_s
@troy_s, is there a plan to update Filmic for OpenColorIO 2.0?
OpenColorIO has builtin transform for ACES and various displays now, and they work based on the new display reference space concept, using
CIE-XYZ [D65](https://archive.blender.org/developer/D65)
.https://opencolorio.readthedocs.io/en/latest/configurations/ocio_v2_demo.html
I'd like to add more displays and the ACES RRT to our config, and later figure out how we can also ship a config with ACES refererence space.
However lookup tables like
filmic_to_0-70_1-03.spi1d
I guess contain both part of the view transform and display transform, and it's not clear to me how they were constructed and how they might be split.Yes. I was letting the dust settle on v2.0 first.
Indeed. They came around to that idea finally, but sadly left out the display colourimetry aspect that would permit DCCs to query the chosen display colourimetry. It’s relevant to Blender due to the need to manage colour wheels, gradients, and composite in display linear. Might help to formulate a plan and have your voice there in the nearer future.
Should be rather trivial, but perhaps waiting for v2 might make more sense here. ACES brings so many broken facets to the table that people without an in-house colour scientist or colorist would likely be left helpless to repair things. ACES use is more or less as simple as a download, so not certain as to how much “better” it can get than the canonized sources.
The most prominent gains Blender can make is to get the UI up to a managed state. Integration with wider gamut spaces prior to that will be problematic.
Consider the output display encoded for BT.709 based displays. It is trivial to pull the inverse EOTF out of the lookups, and keep them display linear “clean”. It might be worth discussing how this can fit in nicely with Clem’s more recent display linear manipulations for overlays etc.
Available on Rocket if need be.
As far as I know we have enough information from the config for handling color wheels, gradients, and compositing of UI elements. We really just need to do some operations in an approximately perceptually linear space, independent of the chosen display. And for that we can use
cie_xyz_d65_interchange
+ some transform of our choice to a perceptually linear space.I will probably at the ACES RRT for the sRGB display since it fits in fine, and similar functionality is available in other apps.
The displays are indeed less useful without more changes in Blender, though for file output it's still helpful. Probably will leave them out for now as long as they are not working with Filmic.
Simple case would be a changing of transfer function, or flipping a wheel to reveal greyscale; the assumption of invertibility doesn’t work across a full colour transform necessarily.
In the case of differing display colourimetry for UI, it is required to have the transfer function characteristic available.
Seems problematic given the working spaces are different?
Maybe we're talking about different things, but as far as I know we only need our chosen perceptually linear space to be invertible. Converting to the actual display space would always be in one direction only, at the very end.
Not sure how, going from a smaller to a wider gamut working space doesn't lose any information. It just means you're not taking advantage of the wider gamut.
@brecht Here’s a posting from the OCIO listing. Might be useful to add on the proper additional DCC functionality to Blender?
https://docs.google.com/document/d/1sa68Cjq0TzSYFg2xhf2w2FFAQ1In7G391iINWKXfDo8/edit
All of the assumptions for the ACES chain is from AP1 / ACEScg. Going from BT.709 based default primaries to AP1 and then out the door via the RRT etc. doesn’t make any sense here?
Imagine a colour wheel where the image maker wants to select a colour based on greyscale. Here the displayed buffer is not invertible, so the UI buffer would be uni-directional. The mouse pick would peek into the UI buffer pre-rendering transform in this instance.
Same sort of idea would apply for show LUTs etc, where the image maker may want to choose the colour based on how it appears from the show LUT rendering, and those too may not be invertible.
Finally, consider the case of data where the UI would be able to use one of the V2 transforms for data for representation.
Added subscriber: @STEP-ANI-MOTION
Added subscriber: @Aeraglyx
Added subscriber: @AlexeyAdamitsky
Added subscriber: @EAW
The OCIO 2.1 has been released now. Would that be mature enough?
Though, ACES v2's gamut compression is still in a slow progress... and it's planned to be ready in early 2022 according to the official open plan video conf.
Changed status from 'Confirmed' to: 'Archived'
Follding into #68926 (Color Management Improvements).
Added subscriber: @Eary
A question. Is OCIO v2's aliases feature supported yet? This is an important feature to keep different configs (potentially new official config to ship with Blender) compatible with older *.blend files!

They are.
I've implemented them in the testing trial configuration here...
https://github.com/sobotka/AgX
Seems that "Filmic" as an alias still shits the sheets with:
Color management: scene view "Filmic" not found, setting default "Display Native".
Which I suspect is because it's probably hard coded somewhere? I've included all the aliases.
You can define aliases of color spaces, there are no aliases for views as far as I know.
Good point.
In AgX, in order to make it more compatible with other DCCs, I've related all of the transforms into
ColorSpaceTransform
s. Perhaps it makes sense to point the Blender code at role?I saw it
https://blenderartists.org/t/feedback-development-filmic-baby-step-to-a-v2/1361663/10
For some reason it doesn't seem to work on my end? Or am I mistaken?
Would this also be the reason for Non-Color/Generic Data etc. not working on my end?

Added subscriber: @Rockbard
Added subscriber: @Emi_Martinez