[0.15.2] Inserter rendered in front of programmable speaker

Bugs that are actually features.
Post Reply
Elbrecht
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Aug 19, 2016 2:54 pm
Contact:

[0.15.2] Inserter rendered in front of programmable speaker

Post by Elbrecht »

Dear Developers,
I think I found a not yet reported bug
If a inserter places an item, it is rendered in front of the "head" of the programmable speaker, even if the speaker was placed more south. See the attached image.

Great work with the new version! I'm having tons of fun!

Cheers
Elbrecht
Attachments
facotorioBug.0.15.2.png
facotorioBug.0.15.2.png (377.25 KiB) Viewed 1238 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13236
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.2] Inserter rendered in front of programmable speaker

Post by Rseding91 »

That's just how simulating 3d works in a 2d engine :P
If you want to get ahold of me I'm almost always on Discord.

Elbrecht
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Aug 19, 2016 2:54 pm
Contact:

Re: [0.15.2] Inserter rendered in front of programmable speaker

Post by Elbrecht »

Well, if the render order would be different (render starting from north to south, i.e. first render the inserter and everything in his row, then render the row before, etc...), the issue would be nonexistent. In 3d one needs also to do z-ordering. When looking closer I found out that the same happens for electric poles.

This at least gives some insight how your renderer works: first render static background like inserter base, then moving objects, like the inserter arm and objects. Now I can build a inserter arm on top of the speakers :D.
Nice performance trick though...
Attachments
facotorio_not_a_bug.0.15.2.png
facotorio_not_a_bug.0.15.2.png (358.25 KiB) Viewed 1211 times

Post Reply

Return to “Not a bug”