Inconsistent ordering of FLAT- and WALLSPRITES

Mon Feb 05, 2018 1:22 pm

You should check out those attachments.

Video (5.7MB): https://www.dropbox.com/s/i47vrqa1kgmrwxa/Gzdoom%202018-02-05%2020-46-17-50-1.m4v?dl=1
You do not have the required permissions to view the files attached to this post.

Re: Inconsistent ordering of FLAT- and WALLSPRITES

Mon Feb 05, 2018 2:01 pm

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

Mon Feb 05, 2018 2:49 pm

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

Mon Feb 05, 2018 3:05 pm

It only orders by distance of the sprite's center and splits horizontally at 3D floors.