Page 1 of 1

[0.15.2] Inserter rendered in front of programmable speaker

Posted: Tue Apr 25, 2017 11:36 pm
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

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

Posted: Tue Apr 25, 2017 11:47 pm
by Rseding91
That's just how simulating 3d works in a 2d engine :P

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

Posted: Wed Apr 26, 2017 8:53 am
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...