Page 1 of 1

[0.11.15] Graphics overlaps between trains and trees

Posted: Fri Feb 06, 2015 2:37 pm
by Mion
Hello!

I'm not sure that this is really bug, but is strange.

In some situations images of trains and trees are overlap. It depends on angle of rotation of train.
Win8.1, 0.11.15, no mods. Situation was created in Map Editor.

Screenshots for comparison:
https://www.dropbox.com/s/bbmebqlsevylo ... 1.png?dl=0
https://www.dropbox.com/s/s4i9iwameua5v ... 2.png?dl=0


And more:
https://www.dropbox.com/s/owlpckv8b5bck ... 3.png?dl=0
https://www.dropbox.com/s/m663tgi5yroit ... 9.png?dl=0

And this is small video:
https://www.dropbox.com/s/sluzbunplr13u ... 6.mp4?dl=0

Re: [0.11.15] Graphics overlaps between trains and trees

Posted: Fri Feb 06, 2015 3:41 pm
by kovarex
Once someone finds solution for this, it can be made better :)
http://stackoverflow.com/questions/1112 ... ed-objects

Re: [0.11.15] Graphics overlaps between trains and trees

Posted: Sat Feb 07, 2015 10:50 am
by ssilk
This is the origin thread: https://forums.factorio.com/forum/vie ... 218#p16301

(Who wonders how I found it should look in the link how I searched)

And to the problem: now when I understand it I see no other way as to split such big diagonal objects into several small horizontal stripes. This can be done long before drawing (when creating the sprites in memory).

It's the same as comparing pictures from computer tomography to X-ray pics: in an X-ray you cannot distinct what's in front and what's behind (you know it by experience) but the tomogram shows it clearly, cause it is several X-rays in layers.