It seems that the models are turning at 35 Hz. Tested with Enjay's GeneTech
[EDIT for clarity] I meant the rotating pickup items.
g0667f2e pickup model rotation isn't interpolated
Moderator: GZDoom 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.
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.
g0667f2e pickup model rotation isn't interpolated
Last edited by Nash on Tue Nov 28, 2017 6:17 am, edited 1 time in total.
Re: g0667f2e model rotation isn't interpolated
Which of the renders did you test this in? For swr and softpoly it is expected behavior at the moment. If it is for the GL renderer it must be a bug.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49071
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: g0667f2e model rotation isn't interpolated
AFAIK turning is not interpolated by default because this was causing issue with mods depending on the angle being uninterpolated. This was once done but had to be reverted.
Re: g0667f2e model rotation isn't interpolated
I tested with the OpenGL renderer. Also, I should clarify that I'm talking about the rotating pickup items (again, GeneTech has plenty of those around).
I'm pretty sure those pickups used to rotate smoothly.
I'm pretty sure those pickups used to rotate smoothly.
Re: g0667f2e pickup model rotation isn't interpolated
Works fine for me, with the exact Windows x64 devbuild and with the latest commit.
Rotation is very smooth regardless of GZDoom version: 3.2.1 or 0667f2e or the latest.
Please note model interpolation, gl_interpolate_model_frames CVAR, has no effect on rotating pickups.
Those models have only one frame and the engine itself changes their angles constantly.
Just in case try with default config, i.e. without .ini file.
Rotation is very smooth regardless of GZDoom version: 3.2.1 or 0667f2e or the latest.
Please note model interpolation, gl_interpolate_model_frames CVAR, has no effect on rotating pickups.
Those models have only one frame and the engine itself changes their angles constantly.
Just in case try with default config, i.e. without .ini file.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49071
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: g0667f2e pickup model rotation isn't interpolated
There never was any interpolation here anyway, this had always been done in real time independently of the playsim.
Re: g0667f2e pickup model rotation isn't interpolated
I fixed an issue recently with yet more system timer overloads (this time, my own doing) that affected how models rotate. When the timer was being cast to double it was losing precision - all timer calculations are done with pure uint64_t's now and that may have solved this report.