Page 1 of 1

0000162: World model animation interpolation doesn't seem to

Posted: Sun Apr 30, 2017 3:16 pm
by Nash
https://mantis.zdoom.org/view.php?id=162

Code: Select all

Summary	0000162: World model animation interpolation doesn't seem to be working
Description	Sending a private link to Graf Zahl's forum PM inbox.

The character's animation seems to not be interpolated at all, regardless of the gl_interpolate_model_frames setting.
Steps To Reproduce	Just run the example PK3, go to MAP01 and look at the character

Re: 0000162: World model animation interpolation doesn't see

Posted: Sun Apr 30, 2017 3:17 pm
by Major Cooke
Did you try INTERPOLATEANGLES?

Re: 0000162: World model animation interpolation doesn't see

Posted: Sun Apr 30, 2017 3:17 pm
by Nash
This has nothing to do with angles. I'm talking about animation AKA states. That's what gl_interpolate_model_frames is supposed to control.

Re: 0000162: World model animation interpolation doesn't see

Posted: Sun Apr 30, 2017 3:17 pm
by Graf Zahl
This is because you used the placeholder sprite name ####. Unfortunately the model code was written with no awareness of that feature and cannot easily be refactored because the risk of regressions is too high.

You should also avoid 0-duration dispatcher states when interpolating models, because models solely interpolate between states without any knowledge of the calling actor, so these states can cause glitches.