Re: Remap ocio config colorspaces to match nuke's defaults
L P
Thanks a lot for the link. That really
helped.
toggle quoted message
Show quoted text
This is what I added to my init.py file: ------------ def OCIOColorspaceMapper(colorspaceRec709, dataTypeHint): if nuke.thisNode()['file'].value().endswith('.mov'): return 'Output - Rec.709' else: return colorspaceRec709 nuke.addDefaultColorspaceMapper( OCIOColorspaceMapper ) -------------- Seems to work fine while importing a rec709 .mov file. I know nothing about Python, so I appreciate any suggestions to improve this little code Thanks again, Deke Kincaid wrote on 1/5/2022 10:18 PM:
|
|