[posila] [0.17.9] Turret range overlay in map is jagged at some zoom levels

This subforum contains all the issues which we already resolved.
Post Reply
elendiastarman
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Feb 28, 2019 5:21 am
Contact:

[posila] [0.17.9] Turret range overlay in map is jagged at some zoom levels

Post by elendiastarman »

Examples:
Screen Shot 2019-03-09 at 2.39.54 PM.png
Screen Shot 2019-03-09 at 2.39.54 PM.png (306.38 KiB) Viewed 4117 times
Screen Shot 2019-03-09 at 2.59.16 PM.png
Screen Shot 2019-03-09 at 2.59.16 PM.png (614.58 KiB) Viewed 4117 times
Screen Shot 2019-03-09 at 3.10.46 PM.png
Screen Shot 2019-03-09 at 3.10.46 PM.png (32.88 KiB) Viewed 4115 times
Screen Shot 2019-03-09 at 3.11.04 PM.png
Screen Shot 2019-03-09 at 3.11.04 PM.png (41.43 KiB) Viewed 4115 times
Screen Shot 2019-03-09 at 3.11.24 PM.png
Screen Shot 2019-03-09 at 3.11.24 PM.png (30.31 KiB) Viewed 4115 times
Details:
* MacBook Pro (2014/2015?) on Mojave
* GUI scale was set to 75% automatically; I bumped it back up to 100%.
* Not all zoom levels show jagged edges.
* More zoom levels show jagged edges when more turrets are on screen.
* Does not happen with single turrets or a well-separated pair (ranges overlap but do not cover the other turret).
* The grid of filled-in "pixels" seems to be stationary.
* Can be smooth or rasterized at the same zoom level depending on where the map is panned.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.9] Turret range overlay in map is jagged at some zoom levels

Post by posila »

Thanks for the report.
Please post also Factorio log from

Code: Select all

~/Library/Application Support/factorio/factorio-current.log

User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 2420
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [0.17.9] Turret range overlay in map is jagged at some zoom levels

Post by BlueTemplar »

Which is more accurate in practice - jagged or not jagged ?

EDIT : Remember M.A.X. ?
Image
IIRC you could only fire on an enemy if his tile was >50% in your range disk...
https://www.maxr.org/
BobDiggity (mod-scenario-pack)

elendiastarman
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Feb 28, 2019 5:21 am
Contact:

Re: [0.17.9] Turret range overlay in map is jagged at some zoom levels

Post by elendiastarman »

posila wrote:
Mon Mar 11, 2019 12:55 pm
Thanks for the report.
Please post also Factorio log from

Code: Select all

~/Library/Application Support/factorio/factorio-current.log
factorio-current.log
(8.04 KiB) Downloaded 155 times

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] [0.17.9] Turret range overlay in map is jagged at some zoom levels

Post by posila »

Thanks for the report.
It's a bug in macOS Intel shader compiler - it doesn't align structures in uniform buffer as specified.
We found a workaround and added it to 0.17.50

DBotThePony
Inserter
Inserter
Posts: 28
Joined: Tue Mar 12, 2019 4:50 am
Contact:

Re: [posila] [0.17.9] Turret range overlay in map is jagged at some zoom levels

Post by DBotThePony »

After this change on .50 limited arcs of turrets render jagged at some zoom levels on Radeon R9 270 (Windows 10)
factorio_15-41-10-4497dea.png
factorio_15-41-10-4497dea.png (28.16 KiB) Viewed 3715 times
factorio_15-41-03-3e7912c.png
factorio_15-41-03-3e7912c.png (31.71 KiB) Viewed 3715 times

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] [0.17.9] Turret range overlay in map is jagged at some zoom levels

Post by posila »

DBotThePony wrote:
Sat Jun 22, 2019 8:41 am
After this change on .50 limited arcs of turrets render jagged at some zoom levels on Radeon R9 270 (Windows 10)
Hello, please post your log.
Press Win + R, type in %APPDATA%\Factorio and click OK. File Explorer should open and you should see file called factorio-current.log.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] [0.17.9] Turret range overlay in map is jagged at some zoom levels

Post by posila »

DBotThePony wrote:
Sat Jun 22, 2019 8:41 am
After this change on .50 limited arcs of turrets render jagged at some zoom levels on Radeon R9 270 (Windows 10)
Thanks for the report.
Fixed for 0.17.51

Post Reply

Return to “Resolved Problems and Bugs”