Click in the box named scaling sprites to view it.
Unexpected result: As the demo shows, the circles rendered by stamp-hollow-circle are partially clipped when sprite-size is 0.75 and are entirely invisible when sprite-size is 0.5:
Impact
This impacts the "Vectors Demo" microworld. The Earth is missing its border.
Repro steps:
Open the "Vectors Demo" microword file.
In Boxer, click the microwold's box to navigate into it.
Click the "Apollo Missions - Flight to the Moon" box to navigate into it.
Click "earth-orbit" in the "menu" box to view that scenario.
Unexpected result: The Earth is missing its border (the sprite-size is 0.5) (to see any graphics at all, you might have to resize the graphics box due to issue #79):
Workaround. As a workaround to see the Earth with a border, change its sprite-size to 1 by running: tell earth set-sprite-size 1:
I think this may be related to an issue with a GL Shader I wrote for circles/ellipses, and likely also affects rotating/app-zooming. Looking in to it...
Repro steps
I reproed this with Boxer
3.4.18 2024-05-26
on macOSscaling sprites.box
.scaling sprites
to view it.Unexpected result: As the demo shows, the circles rendered by
stamp-hollow-circle
are partially clipped whensprite-size
is0.75
and are entirely invisible whensprite-size
is0.5
:Impact
This impacts the "Vectors Demo" microworld. The Earth is missing its border.
Repro steps:
Unexpected result: The Earth is missing its border (the![image](https://github.com/boxer-project/boxer-sunrise/assets/199935/81bb5560-c7dd-4d0d-b4ab-5f6040468e70)
sprite-size
is0.5
) (to see any graphics at all, you might have to resize the graphics box due to issue #79):Workaround. As a workaround to see the Earth with a border, change its![image](https://github.com/boxer-project/boxer-sunrise/assets/199935/6beb1525-7198-4547-91af-71680de02d92)
sprite-size
to1
by running:tell earth set-sprite-size 1
: