mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 05:53:08 -05:00
The 3D effects' `render` object takes `colorModel` (`document`, the default, `grayscale` or `bitmap`). Grayscale gives each pixel of the rendered image the Rec. 709 luma of its color, and Bitmap makes it black or white, after the background and with each pixel's transparency kept, as Effect › Rasterize does with the same model ids. Edge pixels are mapped from their straight color before the coverage is rounded. Grayscale and Bitmap images are stored as gray PNGs, and the model is part of the rendered image's cache key. Any other value is refused with an error and leaves the object and the undo history unchanged. The setting is saved with the effect. Render Settings › Raster Settings… gets a Color row (RGB, Grayscale, Bitmap). It opens blank for a selection that holds different models, and OK sets the picked model on every selected object in one undo step. Docs: docs/three-d.md, docs/mcp.md, docs/target-app-parity.md, params text.