Yesterday, 21:52
The new parameter ColorModel has impact only on the following custom sections (the last 2 has been added recently) : Color Method, DeOldify->Model, Coloring->Model, Coloring->Method
Here a snippet of code with the logic to change the custom section (I hope it 's clear)
Personally I'm using the custom preset, but I introduced this change to the Presets to allow the users to use it to switch color model.
Thanks,
Dan
Here a snippet of code with the logic to change the custom section (I hope it 's clear)
ColorModel = ColorModel.lower()
if 'siggraph17' in ColorModel:
Coloring->Method=Alternative ; Coloring->Model='Siggraph 17'
elif 'eccv16' in ColorModel:
Coloring->Method=Alternative ; Coloring->Model='ECC v16'
elif 'modelscope' in ColorModel:
Coloring->Method=DDColor ; Coloring->Model='ModelScope'
else:
Coloring->Method=DDColor ; Coloring->Model='Artistic'
if 'deoldify' in ColorModel:
Color Method='DeOldify only' ; DeOldify->Model='Video'
elif 'ddcolor' in ColorModel:
Color Method='DDColor only'
elif 'zhang' in ColorModel:
Color Method='DDColor only'
else:
Color Method='Simple' ; DeOldify->Model='Video'
Personally I'm using the custom preset, but I introduced this change to the Presets to allow the users to use it to switch color model.
Thanks,
Dan