Page 1 of 1

Inconsistent ordering of FLAT- and WALLSPRITES

Posted: Mon Feb 05, 2018 1:22 pm
by SuaveSteve
You should check out those attachments.

Video (5.7MB): https://www.dropbox.com/s/i47vrqa1kgmrw ... 1.m4v?dl=1

Re: Inconsistent ordering of FLAT- and WALLSPRITES

Posted: Mon Feb 05, 2018 2:01 pm
by Graf Zahl
This is a known issue and unlikely to fixed short term.
Sadly all the sprite orientation options have been forced into the engine without spending any thought on this problem.

Essentially this will require a complete refactor of how sprites get sorted in the drawing pass.

Re: Inconsistent ordering of FLAT- and WALLSPRITES

Posted: Mon Feb 05, 2018 2:49 pm
by Rip and Tear
Graf Zahl wrote:This is a known issue and unlikely to fixed short term.
Sadly all the sprite orientation options have been forced into the engine without spending any thought on this problem.

Essentially this will require a complete refactor of how sprites get sorted in the drawing pass.
How does sprite ordering work currently? I've noticed that the thing number seem to have some effect.

Re: Inconsistent ordering of FLAT- and WALLSPRITES

Posted: Mon Feb 05, 2018 3:05 pm
by Graf Zahl
It only orders by distance of the sprite's center and splits horizontally at 3D floors.