[g162da2f] Player's pitch is not correct during loading
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.
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.
- 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
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.
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
Re: [g162daf] Player's pitch is not correct during loading
I think this has been around for a very, very, very long time.
- 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
I started getting this after updating to a version which has the new savegame format. I didn't notice it in earlier versions.Lud wrote:I think this has been around for a very, very, very long time.
Re: [g162da2f] Player's pitch is not correct during loading
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.
- 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
Yeah, I used the 64-bit build from DRDTeam.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.
- Graf Zahl
- 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
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.
- 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
Weird. I should have noticed it before then.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.
- 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
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.Player701 wrote:Yeah, I used the 64-bit build from DRDTeam.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.
- Graf Zahl
- 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
This is somehow related to the floating point rewrite. GZDoom 2.2.0 doesn't even have the new save format.
- 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
My bad, I noticed that after I posted and went to check, I'm using the October 3 SVN.Graf Zahl wrote:This is somehow related to the floating point rewrite. GZDoom 2.2.0 doesn't even have the new save format.
