-
Notifications
You must be signed in to change notification settings - Fork 26
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
soft brush lines go under other lines #206
Comments
I haven't checked in the code but I think toonz raster layers are split in several ways. Solid lines. Fills, and soft stuff. And that soft stuff behaves weirdly. I think the most extreme example I've found was using the file browser, to right click convert a jpeg into a toonz raster file, and choosing painted aliased source, or something. And I just got this weird greyscale image (which I think OT interprets as the index 1 ink color) that behaved very weirdly. A lesser example is using mypaint brushes on the toonz raster level, anything that's not soft is solid (obviously) but the soft stuff behaves strangely again, especially when painting textured soft parts over existing textured soft parts. The pixels kind of meld and look like they're posterized or something. If there's an easy 'one click' solution to that, then I do not know it. ...well, other than either sticking to aliased pencil mode, or: only using strokes that have the pencil mode unticked/disabled. Mixing them, and using over all, creates these artifacts due to that behavior. If you want chuuunkkkky lines, then that issue might be worse for you. A way around it is to draw the outline of a thick line, and fill it. Might sound crazy but thats actually how it's (usually?) done in anime. Even the even more stylized, cartoony ones, like panty and stockings, which looks more like power puff girls than anything. Add: |
Unfortunately, soft brushes can be problematic with toonz raster levels. There are a few workarounds that might be worth investigating.
Not an ideal solution but this might be worth pursuing depending on your requirements. |
just use the match lines feature. |
Match lines are an S-Tier feature, yes. Very powerful. |
Here's a link if interested in pursuing the Merge or Match Lines approach. |
In a typical raster image, each pixel has 8 bits of information for each of the four RGBA channels. (i.e. 4x8=32bits per pixel) In contrast, in a Toonz raster image, each pixel has the following information:
This specification allows very powerful palette-based color management. A solid brush replaces the Tone of the pixels on the stroke with 0 (pure line). When soft brush strokes intersect, under the current specification, the stroke with the smaller Tone (i.e., the darker line) is selected as the resulting pixel. This is why you get strange bridging results at intersections. |
Ask a question related to OpenToonz
I have this problem where whenever I try to draw a line with a brush that is not fully opaque or has soft edges it doesn't properly go over other lines in toonz raster layers. It's as if the draw order is always on under all when it isn't.
I first drew the black line, then the red lines. The left red line has a hardness of 0 and is fully underneath the black line. The second lines hardness is 40 and is partly under it. Only the fully opaque part of the line stays visible over the black line.
How do I fix this? I have no clue what could have caused this or what to do. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: