Opened 3 years ago

Last modified 10 months ago

#6116 new defect

Minimap polygon bug on some maps

Reported by: Langbart Owned by:
Priority: Should Have Milestone: Alpha 27
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 3 years ago.
Median.Oasis.gif (491.0 KB ) - added by Langbart 3 years ago.
Alpha_XXV_Yauna.jpg (92.4 KB ) - added by Langbart 3 years ago.
Alpha_XIX_Syllepsis.jpg (94.8 KB ) - added by Langbart 3 years ago.
Alpha_XVIII_Rhododactylos.jpg (116.2 KB ) - added by Langbart 3 years ago.
svn_25922_without_16482.jpg (69.5 KB ) - added by Langbart 3 years ago.

Download all attachments as: .zip

Change History (18)

by Langbart, 3 years ago

Attachment: Vesuvius.gif added

by Langbart, 3 years ago

Attachment: Median.Oasis.gif added

comment:1 by Ram, 3 years ago

It can also happens when you are on a map you created from the Atlas.

Version 0, edited 3 years ago by Ram (next)

comment:2 by Langbart, 3 years ago

Description: modified (diff)

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

comment:3 by wraitii, 3 years ago

Milestone: Alpha 25Alpha 26

in reply to:  1 comment:4 by Langbart, 3 years 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, 3 years ago

Attachment: Alpha_XXV_Yauna.jpg added

by Langbart, 3 years ago

Attachment: Alpha_XIX_Syllepsis.jpg added

by Langbart, 3 years ago

comment:5 by Langbart, 3 years 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 3 years ago by Langbart (previous) (diff)

by Langbart, 3 years ago

Attachment: svn_25922_without_16482.jpg added

comment:6 by Langbart, 3 years ago

Description: modified (diff)

The problematic changeset number was added to the summary.

comment:7 by Vladislav Belov, 3 years 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, 3 years ago

Patch: phab:D4279

comment:9 by Silier, 2 years ago

In 26775:

Fix unit demo map

Split from D4589

Differential revision: D4600
Original patch by: @Langbart
Fixes: #6486
Refs: #6116

comment:10 by Freagarach, 23 months ago

Milestone: Alpha 26Alpha 27

comment:11 by Stan, 11 months ago

Milestone: Alpha 27Alpha 28

comment:12 by Stan, 10 months ago

Milestone: Alpha 28Alpha 27

Push back

Note: See TracTickets for help on using tickets.