Inconsistent ordering of FLAT- and WALLSPRITES

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
SuaveSteve
Posts: 79
Joined: Sat Jul 05, 2014 7:38 am

Inconsistent ordering of FLAT- and WALLSPRITES

Post by SuaveSteve »

You should check out those attachments.

Video (5.7MB): https://www.dropbox.com/s/i47vrqa1kgmrw ... 1.m4v?dl=1
You do not have the required permissions to view the files attached to this post.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49143
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Inconsistent ordering of FLAT- and WALLSPRITES

Post 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.
User avatar
Rip and Tear
Posts: 186
Joined: Tue May 02, 2017 3:54 pm

Re: Inconsistent ordering of FLAT- and WALLSPRITES

Post 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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49143
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Inconsistent ordering of FLAT- and WALLSPRITES

Post by Graf Zahl »

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

Return to “OpenGL Renderer Bugs”