SPF_INTERPOLATE inverted behaviour?

Is there something that doesn't work right in the latest GZDoom? Post about it here.

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!

SPF_INTERPOLATE inverted behaviour?

Postby DabbingSquidward » Wed Jul 25, 2018 12:49 pm

Using A_SetPitch on its own (for example in a firing state as recoil) works flawlessly, but appending the SPF_INTERPOLATE flag to it causes the view to jump when turning with the mouse during the duration of the pointer, as if the screen updates with 35Hz. This doesn't happen when turning with the keyboard, however. It also doesn't occur if "Smooth Mouse Movement" is set to on. This can be experienced in every mod where that flag is present, for example Trailblazer, Wildweasel's Mixed Tape Vol. 3 and older versions of Final Doomer.
User avatar
DabbingSquidward
 
Joined: 08 Nov 2017
Location: Germany

Re: SPF_INTERPOLATE inverted behaviour?

Postby Marisa Kirisame » Wed Jul 25, 2018 3:32 pm

Huh... so it really was broken all this time. Well that explains things...
User avatar
Marisa Kirisame
ZScript Magician
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa Kirisame#4689
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
Graphics Processor: nVidia with Vulkan support

Re: SPF_INTERPOLATE inverted behaviour?

Postby phantombeta » Sun May 19, 2019 1:38 pm

This thread title is very misleading. What's going on here is that it's suddenly switching from ZDoom's weirdass method of smoothing mouse movement without interpolation to just simply using interpolation, and this causes it to rubberband.
Turning the "Smooth Mouse Movement" option on "fixes" it because literally all it does is force mouse movement to always use the very same interpolation that SPF_INTERPOLATE uses.
User avatar
phantombeta
In the meadow of sinful thoughts, every flower's a perfect one
 
Joined: 02 May 2013
Location: The United Soviet Socialist Dictatorship of Hueland
Discord: phantombeta#2461
Twitch ID: phantombeta_
Github ID: Doom2fan
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support


Return to Bugs

Who is online

Users browsing this forum: Edward-san and 0 guests