AcademySoftwareFoundation / OpenColorIO

A color management framework for visual effects and animation.
https://opencolorio.org
BSD 3-Clause "New" or "Revised" License
1.79k stars 454 forks source link

OSL shading language option not exposed in Python #1820

Closed kwokcb closed 1 year ago

kwokcb commented 1 year ago

It seems that from Python the specifier OCIO.GpuLanguage.LANGUAGE_OSL_1 is not available as an option and thus it's not possible to set this as the output language for the GPUProcessor.

Appears to be an oversight in the Python wrappers here

If exposed is it possible to indicate which version of OSL is available as part of the naming as there is no minor version as with the other languages ?

doug-walker commented 1 year ago

Fixed via PR #1832.

The version of OSL that is generated is currently 1.11.