Zandronum Chat @
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003433Zandronum[All Projects] Bugpublic2018-06-02 22:522020-01-20 01:44
Assigned ToTorr Samaho 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version3.0 
Target VersionFixed in Version 
Summary0003433: Backport of GZDoom's model interpolation fixes. (Patch supplied)
DescriptionIn GZDoom, dpJudas committed some fixes to the horribly broken interpolation code it inherited from Zandronum. (The interpolation was incredibly jittery and only operated at 35fps)

I backported those fixes, adjusted them to work with Zan's older code, and made a patch. It'll be attached to this report.
Attached Filespatch file icon InterpolationFix.patch [^] (6,386 bytes) 2018-06-02 22:52 [Show Content]
patch file icon InterpolationFix_v2.patch [^] (6,929 bytes) 2019-10-15 05:11 [Show Content]
patch file icon InterpolationFix_v3.patch [^] (1,324 bytes) 2019-11-05 21:14 [Show Content]

- Relationships

-  Notes
User avatar (0019263)
StrikerMan780 (reporter)
2018-06-02 23:40
edited on: 2018-06-03 23:03

Argh, forgot to remove GetTimeFloat in gl_models.cpp. It's not needed anymore.

Aside from that, the patch worked as I intended, the models will interpolate at the full uncapped framerate.

Also, in the patch, I listed all gzdoom commits I pulled changes from.

User avatar (0019281)
Torr Samaho (administrator)
2018-06-24 13:39

Thanks for the patch. One quick question: There is an existing call to I_GetTimeFrac in gl_scene.cpp that doesn't seem to be adjusted by your patch. Is this intentional?
User avatar (0019289)
StrikerMan780 (reporter)
2018-07-14 03:08

Not sure. Where at? Got a line number?
User avatar (0019291)
Torr Samaho (administrator)
2018-07-22 19:05

It's line 1029 in gl_scene.cpp.
User avatar (0019311)
StrikerMan780 (reporter)
2018-08-05 20:40
edited on: 2018-10-02 22:15

The only thing I can find is this commit: [^]

I haven't seen any ill behavior from not having this (I wasn't aware of it, thus why it was missing in the patch), but it might be a good idea to have it as well, just in case.

If you'd like, I can try to bring in this change, and test it, and if it's good, add it to my patch. Shall I do this?

User avatar (0020138)
StrikerMan780 (reporter)
2018-10-19 21:52

Awaiting a response. (Not to be impatient, just want to know what I should be doing.)
User avatar (0021074)
StrikerMan780 (reporter)
2019-10-15 05:11

Uploaded a V2 of the patch. Hope it does what is needed.
User avatar (0021075)
StrikerMan780 (reporter)
2019-11-05 21:14
edited on: 2019-12-14 19:34

Attached a V3 of the patch. Should be a lot less invasive, as it only modifies gl_models.cpp, but is lacking some of the extra precision brought about from the timer changes. (Which is basically a non-issue)

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: StrikerMan780
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2018-06-02 22:52 StrikerMan780 New Issue
2018-06-02 22:52 StrikerMan780 File Added: InterpolationFix.patch
2018-06-02 23:40 StrikerMan780 Note Added: 0019263
2018-06-03 10:11 StrikerMan780 Note Edited: 0019263 View Revisions
2018-06-03 23:03 StrikerMan780 Note Edited: 0019263 View Revisions
2018-06-24 13:39 Torr Samaho Note Added: 0019281
2018-06-24 13:39 Torr Samaho Assigned To => Torr Samaho
2018-06-24 13:39 Torr Samaho Status new => feedback
2018-07-14 03:08 StrikerMan780 Note Added: 0019289
2018-07-14 03:08 StrikerMan780 Status feedback => assigned
2018-07-22 19:05 Torr Samaho Note Added: 0019291
2018-08-05 20:40 StrikerMan780 Note Added: 0019311
2018-08-05 20:42 StrikerMan780 Note Edited: 0019311 View Revisions
2018-10-02 22:15 StrikerMan780 Note Edited: 0019311 View Revisions
2018-10-19 21:52 StrikerMan780 Note Added: 0020138
2019-10-15 05:11 StrikerMan780 File Added: InterpolationFix_v2.patch
2019-10-15 05:11 StrikerMan780 Note Added: 0021074
2019-11-05 21:14 StrikerMan780 Note Added: 0021075
2019-11-05 21:14 StrikerMan780 File Added: InterpolationFix_v3.patch
2019-12-14 19:32 StrikerMan780 Note Edited: 0021075 View Revisions
2019-12-14 19:34 StrikerMan780 Note Edited: 0021075 View Revisions

Questions or other issues? Contact Us.


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker