mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 22:21:59 +00:00
Extrude & Bevel, Extrude & Bevel (Classic) and Inflate sorted the fill walls and the faces of a stroke that leaves gaps (dashed, profiled, brushed) by one depth each, so a far stroke face could draw over a near fill wall and the reverse. Two such strokes on one shape drew over each other the same way, and Inflate drew a plain stroke as if it covered the fill's edge, which an inflated fill can rise in front of. - Each flat facet now carries its plane, so its depth can be measured at any point under it, with orthographic and perspective views. - Where faces of one shape's fill and strokes overlap in the wrong order, the overlapping faces are ordered by their depths where they overlap. A fill wall and its covering stroke keep their order. - A face of a stroke that leaves gaps that passes through a fill wall, a covering stroke's face or an earlier such stroke's face is cut along the line where their depths meet, keeping its curved outline, within the face limit and the paint allowance. - Under Inflate, no stroke counts as covering the fill's edge. - The faces go in one order when the fill and strokes are at full opacity with Normal blending. A member of a 3D group with an opacity mask or a blending mode of its own orders its faces inside it when its own paints qualify. A gradient with transparent stops keeps the one order with graphics on its cap, and so does Inflate in gradients under a colored light. A solid color under a colored light, drawn as one composite per surface, still draws each surface whole.