DJV icon indicating copy to clipboard operation
DJV copied to clipboard

Trying out OCIO v2

Open miabrahams opened this issue 1 year ago • 1 comments

Hello! I was curious to see whether DJV could be upgraded to OCIO v2. I was able to successfully get it to build on my machine and thought it would be a good time to share what I've got. OCIO 2 seems like it's more finicky about its dependencies and I was only able to get a shared library build working, and only with the most recent development version.

The code changes to get it to build were pretty minor but it did break the functionality. Still I think it it might not be too much work! I believe the most substantial changes are the removal of the GPU LUT functionality, which means the display has to use their new shader, and changes to the config system, to read OCIO v2 configurations correctly.

I'm an amateur dev but I think I could finish making the changes. If you have any tips for me that would help a lot!

miabrahams avatar Aug 05 '22 21:08 miabrahams

Hi @miabrahams, and sorry for the delay! Unfortunately DJV is in a bit of a weird state right now; it has a number of major bugs that seemed difficult to solve with the current code, so I've actually started a new project to address them called tlRender:

https://github.com/darbyjohnston/tlRender

tlRender fixes all the major issues that DJV has while also providing a number of new features like support for OCIO v2. My plan was to eventually rewrite DJV using tlRender as the new playback engine. If you are interested check out tlRender and there might be some areas there you are interested in helping out with?

Thanks, Darby

darbyjohnston avatar Aug 13 '22 00:08 darbyjohnston