- "%s - %s for %s data" % (odtPrefix, odtName, inputspace)]
- args += ["--shaperspace", shaperName, "--shapersize",
- str(lutResolutionShaper)]
- args += ["--cubesize", str(lutResolution3d)]
- args += ["--format", "icc", "%s/photoshop/%s for %s.icc" % (
- bakedDir, odtName, inputspace)]
-
- bakeLUT = Process(description="bake a LUT", cmd="ociobakelut",
- args=args)
- bakeLUT.execute()
-
- # For Flame, Lustre
- for inputspace in ["ACEScc", "ACESproxy"]:
- args = ["--iconfig", configPath, "-v", "--inputspace", inputspace]
- args += ["--outputspace", "%s" % odtName]
+ "%s - %s for %s data" % (odt_prefix,
+ odt_name,
+ input_space)]
+ args += ["--shaperspace", shaper_name,
+ "--shapersize", str(lut_resolution_shaper)]
+ args += ["--cubesize", str(lut_resolution_3d)]
+ args += ["--format",
+ "icc",
+ "%s/photoshop/%s for %s.icc" % (baked_directory,
+ odt_name,
+ input_space)]
+
+ bake_LUT = Process(description="bake a LUT",
+ cmd="ociobakelut",
+ args=args)
+ bake_LUT.execute()
+
+ # For Flame, Lustre
+ for input_space in ["ACEScc", "ACESproxy"]:
+ args = ["--iconfig", config_path,
+ "-v",
+ "--inputspace", input_space]
+ args += ["--outputspace", "%s" % odt_name]