[boskid][1.1.50] rendering.draw_arc()/draw_circle() culling too aggressive when moving horizontally

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
bolderbrush10
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Oct 14, 2021 4:12 am
Contact:

[boskid][1.1.50] rendering.draw_arc()/draw_circle() culling too aggressive when moving horizontally

Post by bolderbrush10 »

When drawing arcs from a "circle" larger than a few tiles, arcs are culled prematurely.
(It seems like they're culled based on their origin being in view. Possibly, they should be culled based on target through target + max_radius in view?)


New game, no mods:


(right click -> play if video not autoplaying)


This makes a UI element I'm working on somewhat unreliable:

Last edited by bolderbrush10 on Tue Dec 28, 2021 12:00 pm, edited 3 times in total.

User avatar
bolderbrush10
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Oct 14, 2021 4:12 am
Contact:

Re: rendering.draw_arc() culling too aggressive

Post by bolderbrush10 »

factorio.log available upon request
Last edited by bolderbrush10 on Wed Jan 05, 2022 7:45 am, edited 1 time in total.

User avatar
bolderbrush10
Burner Inserter
Burner Inserter
Posts: 12
Joined: Thu Oct 14, 2021 4:12 am
Contact:

Re: [1.1.50] rendering.draw_arc() culling too aggressive

Post by bolderbrush10 »

I messed around a little more and noticed that the premature culling didn't seem to happen when moving up and down, just side to side.
Edit: And the same horizontal behavior applies to rendering.draw_circle(), too

Weird.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 1787
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][1.1.50] rendering.draw_arc()/draw_circle() culling too aggressive when moving horizontally

Post by boskid »

Thanks for the report. Issue is now fixed for 1.1.51.


Post Reply

Return to “Resolved Problems and Bugs”