mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 20:36:02 +00:00
Under a light that is not white, an opaque Inflate fill or stroke in a solid color was drawn as one composite of all its facets, so the object's solids were drawn whole, one after another: the stroke's faces covered every face of the fill, nearer or not. When an object's solids share one order (all opaque with Normal blending, or one member's under its opacity mask), each facet of such a solid is now drawn on its own, with the composite's paint, channel light ramps and seam width, and takes its place in that order as the faces of a gradient already do. A lone solid, and the solids of an object with a translucent or blended fill or stroke, keep the one composite. A face drawn on its own is about 16 nodes, against about 6 per facet in the composite of a whole surface. These faces go in one order while they number at most 30,720 together, counted again after the cuts. Past that, each such solid is drawn as one composite. Docs: docs/three-d.md, docs/target-app-parity.md.