SomaZ / OpenJK

Community effort to maintain and improve Jedi Academy + Jedi Outcast released by Raven Software
GNU General Public License v2.0
11 stars 4 forks source link

MD3's do not animate - misc_model_breakable #15

Closed DT85 closed 6 years ago

DT85 commented 7 years ago

Operating system and version:

Windows 7 64bit

Description of the bug (and if possible, steps to reproduce the bug):

They just stay at 1 frame forever. They animate when using the GL1/vanilla renderer and jasp, but not GL2.

What did you expect to happen instead?

MD3's to animate.

DT85 commented 6 years ago

An update on this.

MDR's animate with misc_model_breakable, and all model formats have RF_WARP_FRAMES (required for misc_model_breakable's "autoanimate" flag, which loops the models animation). The only thing I can think of is it's something to do with RE_RegisterModel in the renderer. It's done a bit different compared to ioq3 & GL1 due to Xycaleth's own caching. Might try to strip it out and go back to the GL1 caching, see if that makes a difference.