Smooth Camera Zoom to aim animation

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Smooth Camera Zoom to aim animation

Postby ZDL_800 » Sun Oct 11, 2020 5:59 pm

Hello and hope everyone is good.

Seems every GZdoom game which implements an aim down sight mechanic has some sort of 20FPS zoom camera animation?

Every weapon looks like it lags out when you aim down the sight, feels like 20FPS when the zoom animation occurs?

Its like the camera zoom animation to aim down sight needs to be synced with the main FPS.

Thanks again and hope to speak soon.
User avatar
ZDL_800
 
Joined: 15 May 2019

Re: Smooth Camera Zoom to aim animation

Postby Marisa Kirisame » Mon Oct 12, 2020 2:31 am

Don't know exactly where you're going with this. Zooming functions have interpolation by default, so this shouldn't be happening.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Smooth Camera Zoom to aim animation

Postby Nash » Mon Oct 12, 2020 2:56 am

Marisa Kirisame wrote:Don't know exactly where you're going with this. Zooming functions have interpolation by default, so this shouldn't be happening.


Actually, the zoom animation isn't interpolated. It still runs at the tic rate. Try setting a lower timescale and initiating a zoom (step through a teleporter, use the FOV command, or try a zoom-enabled weapon). You will see the zoom applied in steps of 35hz.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: Smooth Camera Zoom to aim animation

Postby Marisa Kirisame » Mon Oct 12, 2020 3:42 am

Ah, welp.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Smooth Camera Zoom to aim animation

Postby ZDL_800 » Mon Oct 12, 2020 2:49 pm

Thanks for the reply.

So in theory its actually rendering in 35fps which is why it looks laggy so to speak, so could GZDoom edit the zooming mechanic and implement interpolation?

Honestly it looks really bad right now with all mods with zoom to aim which is a shame.

We need Smooth Zoom GZDoom!
User avatar
ZDL_800
 
Joined: 15 May 2019

Re: Smooth Camera Zoom to aim animation

Postby ZDL_800 » Fri Oct 23, 2020 12:29 am

In this day and age I would consider anything rendered in 35fps a bug, so should I create a new thread in the bug section of GZDoom for the devs to see?

I'm just wondering if the devs even read this suggestion forum? Im not sure, I don't even use any zoom function because it looks so bad.

Now lets say for example, there's a great StarshipTrooper mod which includes a fantastic set of nightvision binoculars which uses this zoom function and it looks awful, the binoculars zoom in really far and rendered in this 35fps which looks like complete lag.

Please fix this devs, it now effecting weapons and items now.

Thanks again for your time and hope to speak soon.
User avatar
ZDL_800
 
Joined: 15 May 2019

Re: Smooth Camera Zoom to aim animation

Postby Caligari87 » Fri Oct 23, 2020 9:24 am

So far as I'm aware, zooming has never been interpolated, so no, this isn't a bug that requires reporting. It's working as originally implemented and isn't "now effecting weapons and items now" because it's always worked this way, you just only noticed it.

Yes, the developers do read and respond to things on this Feature Suggestions forum, hence all the [Added] or [No] threads in the Closed Feature Suggestions forum.

For what it's worth, I do agree that zooming / FOV changing should be interpolated and I would very much like to see it happen. Please be patient though, because I don't think it's likely to happen this version unless someone submits a pull request with working code. Developers have limited time to work on free projects like GZDoom and need to prioritize their focus. This feature request will likely take a backseat to other important work going on right now, like refactoring menus and whatnot.

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests