Opened 10 months ago

Last modified 4 months ago

#6116 new defect

Minimap polygon bug on some maps

Reported by: Langbart Owned by:
Priority: Should Have Milestone: Alpha 26
Component: UI – In-game Keywords:
Cc: Patch: phab:D4279

Description (last modified by Langbart)

When playing the maps "Farmland (2)" and "Vesuvius (6)" on the SVN version [25114], I noticed that the polygon on the minimap is much larger and appears to be out of place. On other maps e.g. "Median Oasis (4)" the problem cannot be reproduced. I have not tested all the maps, if I find more I will update this ticket.

The bug can be reproduced for the "Farmland (2)" and "Vesuvius (6)" map on A24b. macOS 10.15.7 EDIT1: I also noticed this strange behaviour with the scenario map "Combat Demo (Huge)" and it is also reproducible with A24b.

Edit2: Changeset number which caused the problem [16482].
IRC 0ad-dev (15/Sep/21) remark by s0600204

I think Langbart's onto something, and I think it makes perfect sense that that line's why the view-polygon's appears incorrect.
The polygon should probably be the intersection of the camera view frustrum and the *ground* plane (such as it is), not the *water* plane.

Attachments (6)

Vesuvius.gif (812.3 KB ) - added by Langbart 10 months ago.
Median.Oasis.gif (491.0 KB ) - added by Langbart 10 months ago.
Alpha_XXV_Yauna.jpg (92.4 KB ) - added by Langbart 4 months ago.
Alpha_XIX_Syllepsis.jpg (94.8 KB ) - added by Langbart 4 months ago.
Alpha_XVIII_Rhododactylos.jpg (116.2 KB ) - added by Langbart 4 months ago.
svn_25922_without_16482.jpg (69.5 KB ) - added by Langbart 4 months ago.

Download all attachments as: .zip

Change History (14)

by Langbart, 10 months ago

Attachment: Vesuvius.gif added

by Langbart, 10 months ago

Attachment: Median.Oasis.gif added

comment:1 by Ram, 9 months ago

It can also happens when you are on a map you created from the Atlas.
I created a small empty map and the polygon was off.

Last edited 9 months ago by Ram (previous) (diff)

comment:2 by Langbart, 9 months ago

Description: modified (diff)

added "Combat Demo (Huge)" map to the description.

comment:3 by wraitii, 7 months ago

Milestone: Alpha 25Alpha 26

in reply to:  1 comment:4 by Langbart, 4 months ago

Replying to Ram:

It can also happens when you are on a map you created from the Atlas.
I created a small empty map and the polygon was off.

Yes, I can also confirm this. The problem starts to appear with Alpha 19 Syllepsis (21/Nov/15). In the release version of Alpha 18 Rhododactylos the problem does not occur (9/Mar/15). In the period between changeset [17298] and [16409] the bug was introduced.

by Langbart, 4 months ago

Attachment: Alpha_XXV_Yauna.jpg added

by Langbart, 4 months ago

Attachment: Alpha_XIX_Syllepsis.jpg added

by Langbart, 4 months ago

comment:5 by Langbart, 4 months ago

NOTE: The problem can be first noticed with the changeset [16482].
If one would to undo the changes the polygon would have the correct size again.

Last edited 4 months ago by Langbart (previous) (diff)

by Langbart, 4 months ago

Attachment: svn_25922_without_16482.jpg added

comment:6 by Langbart, 4 months ago

Description: modified (diff)

The problematic changeset number was added to the summary.

comment:7 by Vladislav Belov, 4 months ago

The changeset didn't introduce the problem, just made visible for different heights. The actual problem is that we use a single height for a whole map.

comment:8 by s0600204, 4 months ago

Patch: phab:D4279
Note: See TracTickets for help on using tickets.