[3.3.2] Model Interpolation capped in uncapped FPS.

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [3.3.2] Model Interpolation capped in uncapped FPS.

Re: [3.3.2] Model Interpolation capped in uncapped FPS.

by Marisa the Magician » Mon May 21, 2018 6:49 am

I can confirm the fix works. All model animation is pretty smooth now, even on a low timescale.

Re: [3.3.2] Model Interpolation capped in uncapped FPS.

by dpJudas » Mon May 21, 2018 6:23 am

Pushed a fix for this.

Re: [3.3.2] Model Interpolation capped in uncapped FPS.

by StrikerMan780 » Mon May 21, 2018 5:15 am

As per Rachael's request, I'm gonna post the edits I made to GeneTech that fix a few derps with some weapons' states. https://drive.google.com/open?id=1s9-Lx ... d5bjZzQZoC

Re: [3.3.2] Model Interpolation capped in uncapped FPS.

by StrikerMan780 » Mon May 21, 2018 3:55 am

The visuals seem to be moving at 35fps, if I toggle cl_capfps, the behavior is identical. It will interpolate between frames of more than 1 tic in length (very shakily), but won't interpolate between 1-tic frames, regardless of the setting.

Re: [3.3.2] Model Interpolation capped in uncapped FPS.

by Graf Zahl » Mon May 21, 2018 1:21 am

Models cannot "interpolate at 35 fps", because then they wouldn't interpolate at all! The entire point of interpolation is to get smoothed animations between those 35 fps points.

What I can see is that the model interpolation doesn't seem to be done correctly. Everything else is interpolated with the global frame timer, but the model code uses its own separate timing, and that has survived all the refactoring for making models work in the software renderer. In my opinion this cannot work correctly. (Note that this code was inherited from Zandronum, so I'd appreciate if Torr Samaho, if he reads this, can comment on the issue.)

Re: [3.3.2] Model Interpolation capped in uncapped FPS.

by Nash » Mon May 21, 2018 1:11 am

I've reported this before but to be honest, I'm unsure if this is a bug or a missing feature...

[3.3.2] Model Interpolation capped in uncapped FPS.

by StrikerMan780 » Sun May 20, 2018 11:50 pm

For some reason, it seems model interpolation seems to interpolate at 35fps, even though it should be uncapped. It's also not smooth, it's very jittery in some cases.

Try Gene-Tech for example. (Link: viewtopic.php?f=47&t=46718) The Super Shotgun, Shotgun, and Machinegun have interpolation, and there's nothing about their frames in DECORATE that should make them jittery, but they are for some reason (especially in the idle and firing anims). Also, in my own mods, all of my models seem to be interpolating at 35fps, even though it should be looking much smoother. It's very jarring when combined with the uncapped weapon bob.

Top