[0.4.0] Shadow Warrior video interpolation capped at 60 FPS

Moderator: Raze 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.
User avatar
Nash
 
 
Posts: 17478
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

[0.4.0] Shadow Warrior video interpolation capped at 60 FPS

Post by Nash »

SW has the early Demolition video interpolation issue where it's capped at 60 frames. Video looks choppy on my 144 hz monitor.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49203
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.4.0] Shadow Warrior video interpolation capped at 60

Post by Graf Zahl »

It still does? I already swapped out the interpolation code for the one from EDuke.
User avatar
Nash
 
 
Posts: 17478
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [0.4.0] Shadow Warrior video interpolation capped at 60

Post by Nash »

Oh, hmm... it does seem a little smoother now, yeah.

My misconception however came from testing Episode 2 of Shadow Warrior - the one where you start on a moving boat. It seems if you are standing on top of a moving polyobject, the view interpolation doesn't work...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49203
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.4.0] Shadow Warrior video interpolation capped at 60

Post by Graf Zahl »

Yes, I know, it's the same problem with the train at the end of the first level. Interpolation does not seem to work right if you are inside a sector that's moveable, even if it doesn't move.
That's also a problem in 60 fps, and got reported several times as "performance issue", which it clearly is not.

My suspicion is that when the sector moves the player (even by a distance of 0) it resets the interpolation each time,
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [0.4.0] Shadow Warrior video interpolation capped at 60

Post by sinisterseed »

Graf Zahl wrote:That's also a problem in 60 fps, and got reported several times as "performance issue"
Well it very much does feel like a slowdown, so...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49203
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.4.0] Shadow Warrior video interpolation capped at 60

Post by Graf Zahl »

It feels like running a 40 fps playsim uninterpolated at 60 fps. Thanks to the 3 tics in 2 frames issue it appears like crap. But there's definitely no performance loss, the game still runs at constant 60 fps for me.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49203
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.4.0] Shadow Warrior video interpolation capped at 60

Post by Graf Zahl »

The train thing just got fixed upstream. I'll merge this as soon as I find time for it, but it means this report can be closed.

Return to “Closed Bugs [Raze]”