Opened 23 months ago
Closed 22 months ago
#6569 closed defect (fixed)
Visibility issue with smoothlos in fast forward observer mode
Reported by: | Langbart | Owned by: | Vladislav Belov |
---|---|---|---|
Priority: | Release Blocker | Milestone: | Alpha 26 |
Component: | Core engine | Keywords: | |
Cc: | Patch: | Phab:D4700 |
Description (last modified by )
to reproduce
- Default settings applied
- Create a replay in which your unit establishes an outpost in the outskirts of your area.
- View the replay, but at a minimum of
5x
or even better10x
speed and set the view to that player.- Alternatively, you can start a game with
delenda_est
activated and set the game speed to10x
.
- Alternatively, you can start a game with
- the visibility does not adjust (
20x
) or lags behind noticeable (5x
), if you lower the speed below2x
it does work properly. - See GIF/image below for more clarity.
bisect
workaround
Set smoothlos=false
reproducible
When watching in 20xfast-forward with smootlos=true
in A25b, the visibility works correctly.
Attachments (2)
Change History (7)
by , 23 months ago
Attachment: | sommothlos_outpost.gif added |
---|
by , 23 months ago
Attachment: | delenda_est.jpg added |
---|
comment:1 by , 23 months ago
Description: | modified (diff) |
---|
comment:2 by , 23 months ago
Priority: | Should Have → Release Blocker |
---|
milestone
[21:44:04] elexis #6569 sounds like graphical representation of LoS is only updated when a frame is rendered, but with 20x replay you might simulate one or more full simulation turns before a single frame is rendered. then if only LOS deltas are applied during the frame instead of the entire LoS, it would cause the reported bug [21:44:26] elexis we had the same bug in dying breed, the solution is to update LoS / SoD in accordance with the simulation, not the GUI [21:44:45] elexis or one accumulates all LoS updates acrodd simulation turns. (if thats even how the code works) [...] [21:49:34] elexis if my frame-dependency theory about #6569 is correct, then you get the bug the more often, the better the performance is, i.e. the less entities are on that map (since that way you can simulate more turns before the next frame is rendered. if my logic isnt flawed) [21:50:13] elexis oh it is a regression, well then one could argue its an RB [21:51:13] elexis maybe its related to timer_Time() precision
Note:
See TracTickets
for help on using tickets.
bisecting