gama-platform / gama

Main repository for developing the 2024+ versions of GAMA
https://gama-platform.org
GNU General Public License v3.0
16 stars 5 forks source link

Visual glitch when using trace facet in very specific configuration #252

Open agrignard opened 1 month ago

agrignard commented 1 month ago

Describe the bug I didn't find a proper way yet to reproduce it on a simple model but I recently notify some glitch when using the trace facet.

The traced shape (the previous drawn) shape are somehow offsetted on x and y which make the trace feature not usable

To Reproduce I didn't find a way to reproduce it easily so far. It's happening on a custom model

Expected behavior Trace in the good direction (aligned on the black line)

Screenshots

Screenshot 2024-07-11 at 00 21 12

Desktop (please complete the following information):

agrignard commented 1 month ago

Another example trying to make wind representation, all the drawn triangle should be in the same direction but there is this weird offset that actually seems to be somehow correlated with the environment or the 0, 0 of the cam. If you look on the center of the screen the effect does not appear and then it's get worse and worse going away from the center

Screenshot 2024-07-11 at 12 43 50
lesquoyb commented 1 month ago

Is it happening on a model you could share ? Even if it's big, it would be easier for us to track

agrignard commented 1 month ago

Happening on this model https://github.com/agrignard/AAVS_Urban_Rythm_Unit_1_2024/blob/main/GAMA/Life_Factor/models/Life_exp_wind.gaml

however I am currently on this project so it might change in the following minutes/hours

agrignard commented 1 month ago

actually it looks like it's due to the fact the the layer are drawn with a z value position:{0,0,0.01};

the effect is less visible when the layer are drawn on zero.

However it should happen even with a z value (just trying to identify the issue)