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: 76
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
Attachments
Screenshot_Doom_20180205_205057.jpg
Screenshot_Doom_20180205_205043.jpg
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
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: 185
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: 49056
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.
Post Reply

Return to “OpenGL Renderer Bugs”