New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customizable column color filters #4756
Customizable column color filters #4756
Conversation
@shun-iwasawa This may appear to be a small change but in my estimation it's huge. A quick test suggests everything is working as advertised. Thanks also for the mention of the breaking change as users will definitely want to know that. |
@shun-iwasawa A question... While we can set matte/alpha transparency in the custom color, from what I can tell this has no effect on the column filter. |
@RodneyBaker Thank you for reviewing the feature!
That was correct, but there may be an advantage to including the alpha channel of the color filter in the column opacity calculation. I'll try to modify it a bit. Thanks for the idea! |
Thanks @shun-iwasawa I could have answered my own question in looking at the code but am always more interested in your answers! :) I did see that the alpha value is being stored in the scene file and that got me a little excited about the possibilities.
The customizable column filter colors are a great addition as is and others have already responded with positive feedback regarding this PR. That it might be plussed up a little more is just icing on the cake. :) |
The opacity of the displayed column is now the alpha channel of the column's color filter multiplied by the value of the column's opacity slider. |
That's got it. Nice! Thanks @shun-iwasawa The only thing I'm having difficulty with currently is setting colors to either fully white or fully black. In the case of white it seems that no matter then change to opacity or slider the resulting output is... completely white. With black I'm finding that I cannot set complete black (0,0,0) which would make sense I suppose as well. If someone could test full white and full black and observe the results that will be appreciated. |
Will press on with this PR and get it into the hands of Opentoonz users. Thank you @shun-iwasawa for the customizable column color filters. |
I meant to post a follow up to the (percieved) black and white colors issue I posted before. That might have been related to the build I was testing. Edit: I might have spoken too soon. Still testing. |
I did confirm that scenes created with adjusted column color will not open in earlier versions. Only black style No.1 used in the following: Project file: |
@shun-iwasawa Just a heads up that there seems to be an issue with Column color filters not displaying in regular/real time view. The colors appear in Preview only. I haven't posted a bug report yet as still trying to figure out what we are seeing. Edit: I cannot seem to consistently reproduce the problem. |
This is to note the issue reporting column tinting is now resolved. |
This PR will enable to customize column color filters via the Scene Settings popup.
Please note that once the settings have altered from the default, such scene won't be opened from the previous versions of OT before this PR.