Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add camera color spaces #2251

Merged
merged 4 commits into from
Feb 2, 2024
Merged

Add camera color spaces #2251

merged 4 commits into from
Feb 2, 2024

Conversation

demoulinv
Copy link
Contributor

Description

This PR adds native support of the following camera color spaces through an updated "ocio.config" file:

ARRI:
Linear ARRI Wide Gamut_3
ARRI LogC3 (EI800)
Linear ARRI Wide Gamut_4
ARRI LogC4

Black Magic:
Linear BMD Wide Gamut Gen5
BMD Film Wide Gamut Gen5

Canon:
CanonLog2 Cinema Gamut D55
CanonLog3 Cinema Gamut D55
Linear Cinema Gamut D55

Panasonic:
Linear V Gamut
V Log V Gamut

RED:
Linear RED Wide Gamut RGB
Log3G10 RED Wide Gamut RGB

Sony:
Linear Venice S Gamut3 Cine
S Log3 Venice S Gamut3 Cine

Features list

Implementation remarks

@demoulinv demoulinv force-pushed the dev/addCameraColorSpaces branch from 5d51f1b to d50c674 Compare December 21, 2023 14:05
@fabiencastan fabiencastan marked this pull request as ready for review January 11, 2024 16:31
@cbentejac cbentejac added this to the Meshroom 2024.1.0 milestone Jan 29, 2024
@cbentejac cbentejac force-pushed the dev/addCameraColorSpaces branch 2 times, most recently from 23df8f0 to c0ab8f3 Compare January 30, 2024 17:09
@fcastan fcastan force-pushed the dev/addCameraColorSpaces branch 2 times, most recently from 2663fb8 to 78b5e11 Compare February 1, 2024 17:21
demoulinv and others added 2 commits February 1, 2024 18:28
…th spaces in strings

We have the problem of spaces in file paths, choices (like colorspace),
etc.
An empty list is not send to the command line.
An empty string is send to the command line as "".
Add new unit test to ensure it follows the expected rules.
@fcastan fcastan force-pushed the dev/addCameraColorSpaces branch from 78b5e11 to 092dcfe Compare February 1, 2024 17:29
If the joinChar is NOT space, we use global quotes.
If the joinChar is space, we use quotes per element.
…mple expressions

For instance, on the Meshing node "outputMesh" param expression is:
value="{cache}/{nodeType}/{uid0}/mesh.{outputMeshFileTypeValue}",

So the extension here should not contains quotes.
@fcastan fcastan force-pushed the dev/addCameraColorSpaces branch from 71b7c19 to c6d0933 Compare February 2, 2024 19:14
@fabiencastan fabiencastan merged commit 18c393d into develop Feb 2, 2024
4 checks passed
@fabiencastan fabiencastan deleted the dev/addCameraColorSpaces branch February 2, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants