[g162da2f] Player's pitch is not correct during loading

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Player701
 
 
Posts: 1710
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

[g162da2f] Player's pitch is not correct during loading

Post by Player701 »

The character limit in the "Subject" field prevented me from giving the correct description. I'm sorry for that.

What happens for me: when I load a save file, the player is shown looking either way up or down while the screen wipe effect is taking place. As soon as it is over and the control of the game is handed over to the player, the pitch is then set correctly.

This happens both in ZDoom and GZDoom. In ZDoom, the player's pitch may end up going over the usual limit due to this bug. This seems to be a purely visual issue, it doesn't affect gameplay in any way. Still, it is clear that something is wrong and I think it should be fixed.

How to reproduce: load the attached save file (Doom2.wad, MAP01). For me, while it's loading, the player is looking up, but he will look straight ahead after the screen has changed. Note that this bug does not manifest itself if "Screen wipe style" is set to "None" in display options. Also, it only seems to present when loading save files (including autosaves); for example, when using "map" or "changemap" commands, the screen wipe effect on map change doesn't set the player's pitch to weird values.

A screenshot of how it looks like is attached along with the save file.
Attachments
save0.zip
The save file needed to reproduce this bug.
(55.6 KiB) Downloaded 24 times
Demonstrates how the game view looks like during screen wipe. I think the pitch is over the usual limit for the software renderer.
Demonstrates how the game view looks like during screen wipe. I think the pitch is over the usual limit for the software renderer.
User avatar
Accensus
Banned User
Posts: 2383
Joined: Thu Feb 11, 2016 9:59 am

Re: [g162daf] Player's pitch is not correct during loading

Post by Accensus »

I think this has been around for a very, very, very long time.
User avatar
Player701
 
 
Posts: 1710
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: [g162daf] Player's pitch is not correct during loading

Post by Player701 »

Lud wrote:I think this has been around for a very, very, very long time.
I started getting this after updating to a version which has the new savegame format. I didn't notice it in earlier versions.
User avatar
jpalomo
Posts: 772
Joined: Mon May 17, 2010 9:45 am

Re: [g162da2f] Player's pitch is not correct during loading

Post by jpalomo »

This save game looks fine to me. There might be something wrong with the 64-bit build available on DRDTeam, because my own build doesn't have this issue.
User avatar
Player701
 
 
Posts: 1710
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: [g162da2f] Player's pitch is not correct during loading

Post by Player701 »

jpalomo wrote:This save game looks fine to me. There might be something wrong with the 64-bit build available on DRDTeam, because my own build doesn't have this issue.
Yeah, I used the 64-bit build from DRDTeam.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [g162da2f] Player's pitch is not correct during loading

Post by Graf Zahl »

I have seen this, too, but so far haven't found a cause. This has nothing to do with the savegame format, it's definitely older.
User avatar
Player701
 
 
Posts: 1710
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

Re: [g162da2f] Player's pitch is not correct during loading

Post by Player701 »

Graf Zahl wrote:I have seen this, too, but so far haven't found a cause. This has nothing to do with the savegame format, it's definitely older.
Weird. I should have noticed it before then.
User avatar
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

Re: [g162da2f] Player's pitch is not correct during loading

Post by Tapwave »

Player701 wrote:
jpalomo wrote:This save game looks fine to me. There might be something wrong with the 64-bit build available on DRDTeam, because my own build doesn't have this issue.
Yeah, I used the 64-bit build from DRDTeam.
Yep, this started happening to me once I updated to GZD 2.2.0 and the new JSON save format. Never happened to me before, and now I get it during every reload. I do use 64b as well.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [g162da2f] Player's pitch is not correct during loading

Post by Graf Zahl »

This is somehow related to the floating point rewrite. GZDoom 2.2.0 doesn't even have the new save format.
User avatar
Tapwave
Posts: 2096
Joined: Sat Aug 20, 2011 8:54 am
Preferred Pronouns: No Preference
Graphics Processor: nVidia with Vulkan support

Re: [g162da2f] Player's pitch is not correct during loading

Post by Tapwave »

Graf Zahl wrote:This is somehow related to the floating point rewrite. GZDoom 2.2.0 doesn't even have the new save format.
My bad, I noticed that after I posted and went to check, I'm using the October 3 SVN. :p
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [g162da2f] Player's pitch is not correct during loading

Post by randi »

Post Reply

Return to “Closed Bugs [GZDoom]”