Closed Cerno-b closed 8 years ago
Thanks for the details @Cerno-b, I've implemented this for the next release v1.1.5.3
Wow, you're fast! Looking forward to the next release then :)
@Cerno-b it's already available ^_^ (v1.1.5.4 is the latest version available)
I haven't been at my PC for a while, that's good news!
I love the onion skinning function but ran into some trouble recently when I tried the red/blue tinting for black pixels, which does not work (you only get grayscale onion skinning).
So I ran some tests. Top to bottom: white, black, blue, green, red. Left column: Previous frame Right column: Next frame
So some colors seem to have trouble getting the tinting right. Instead of using the original onion skin and tinting it, I would suggest the following:
As an example, I will take a black pixel at 000000FF, which currently does not work at all in tinted onion skin. I will assume that the prev tint is supposed to be red with some alpha: FF000040.
The process is as follows:
Let's repeat this for a white pixel FF0000FF:
Final example for a medium gray pixel at 7F7F7FFF:
Visualization here:
Since this seems to work for the whole grayscale spectrum and you can convert any color cel into grayscale, this should do the trick. You may want to add some weight factors to give it a little more contrast between white and black but in general it should be able to solve the problem.
Please let me know what you think.