Ticket #507 (Fixed)Thu Apr 22 19:08:51 UTC 2021
32k and 64k Translucent Sprite Plots Fail In 16M Screen Mode
Reported by: | Andy S (2979) | Severity: | Normal |
Part: | RISC OS: Module | Release: | |
Milestone: | Status | Fixed |
Details by Andy S (2979):
Sprite Extend’s support for translucent sprite plotting seems to be broken when trying to plot a 32k or 64k colour sprite in a 16M colour screen mode. This is using OS_SpriteOp 52 (put sprite scaled).
It works great when translucency is zero (fully opaque), but any non-zero value causes nothing to be plotted in the 16M screen mode but it works perfectly in 64k, 32k and 4k screen modes.
A BASIC program that reproduces the issue is here: https://www.riscosopen.org/forum/forums/4/topic… tested on RPCEmu and a Raspberry Pi 2.
I’ve tried some different mode words and the bug seems to affect 32k and 64k colour sprites but 4k colour sprites seem to be unaffected (the translucent plots work correctly in a 16M screen mode).
Mode Words I Used:
32k: &281680B5
64k: &501680B5
4k: &79000051
This bug also affects the Paint Bounty brush opacity feature, making translucent brush strokes invisible (on a 32k or 64k sprite in a 16M screen mode) until the mouse button is released.
Changelog:
Modified by Andy S (2979) Wed, May 12 2021 - 12:42:14 GMT
It was tested on a Pi 3, not a Pi 2, not that that makes any difference to this bug which I see is being fixed, thank you!
Modified by Sprow (202) Thu, May 13 2021 - 12:35:00 GMT
- Status changed from Open to Fixed
Fixed in Sprite Extend 1.85