Don't interpolate TNT1A0 frames
Moderator: GZDoom Developers
Don't interpolate TNT1A0 frames
Problem: enabling interpolation for every frame via A_OverlayFlags(PSP_WEAPON, PSPF_INTERPOLATE, true) will make PSprites interpolate between frames even for TNT1A0, which results in jumpy weapons across the screen, and it looks truly awful. I suspect this happens 1) because of TNT1A0's size and 2) because of its (0, 0) offset. A "hack" I presume would work would be to use an empty sprite the same size as everything else in the set, in TEXTURES, and with the correct offsets and NoTrim applied, but this engine has enough hacks for me to rely on yet another one. I hope this can be addressed internally so none of us have to do that.
-
- Posts: 854
- Joined: Mon May 10, 2021 8:08 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): EndeavorOS (basically Arch)
- Graphics Processor: Intel with Vulkan/Metal Support
Re: Don't interpolate TNT1A0 frames
Yes please. I've literally stopped using any interp functions such as WOF_INTERPOLATE in A_WeaponOffset because of this.
-
-
- Posts: 17936
- Joined: Fri Jul 06, 2007 3:22 pm
Re: Don't interpolate TNT1A0 frames
How about using frame #### # instead of TNT1 A?
-
- Posts: 854
- Joined: Mon May 10, 2021 8:08 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): EndeavorOS (basically Arch)
- Graphics Processor: Intel with Vulkan/Metal Support
Re: Don't interpolate TNT1A0 frames
Not ideal, for 2 reasons.
1. It's slightly slower than TNT1A0.
2. Once you exhaust the sprite's frames, that won't work.
1. It's slightly slower than TNT1A0.
2. Once you exhaust the sprite's frames, that won't work.
Re: Don't interpolate TNT1A0 frames
#### # doesn't make the sprite invisible. I need to make it invisible. That's the entire purpose of TNT1 A. This is not a solution that works for me.