Questions tagged [interpolation]
The practice of estimating a result (usually numeric) based on a set of known results.
174 questions
2
votes
0
answers
77
views
Changing prediction to interpolation on client connected to the authoritative server
Let's assume the following situation:
I have a server, that sends a snapshot of current game state to all the clients at a fixed time. Server is authoritative, all the physic calculations are done on ...
0
votes
0
answers
66
views
Bicubic filtering of texture with arbitrary data
I want to add bicubic filtering to my software raytracer. I have a texture that can contain arbitrary data. I want to sample that texture by bicubic interpolation (bilinear isn't smooth enough). Here ...
2
votes
1
answer
404
views
Interpolation over a sequence of quaternions
I am trying to interpolate over a sequence of rotations represented by quaternions.
I am currently employing Squad (Spherical and Quadrangle Interpolation). I successfully applied the function to 4 ...
1
vote
0
answers
52
views
How to smoothly blend a 3D rotation which is exactly 180° in Unity?
I have a player capsule which I want to face the same cardinal direction as the key pressed. For example, pressing W will make the player face the camera's current ...
0
votes
0
answers
54
views
What are some methods of adding smooth, frame indpendent, camera recoil/punch?
I've run into a bit of a brick wall on this topic. I've only been able to achieve either only frame independent recoil, or smooth recoil. But not the other.
I think the main source of the problem is ...
0
votes
1
answer
313
views
How to blend camera when switching between 2 characters?
I'm trying to set up a system in UE4.27 where I can switch between 2 characters. It works but when I tried to include a camera blend, it still switches character but the camera just jumps and doesn't ...
0
votes
1
answer
546
views
Trouble getting the right Interp Speed with 'FInterp To' node
I was following this course using UE5 version 5.4.2 and building a "Handle Rotation" graph for a door that looks like this:
I encountered this problem:
setting the ...
0
votes
0
answers
63
views
Drifting local time vs server time synchronization
Imagine a server sending you (the client) game snapshots each 30ms.
Your interpolation time is set at around 100ms, so ideally you are interpolating between 4th and 3rd snapshot, so by the time you ...
1
vote
0
answers
97
views
Fixed timestep graphics jitter
I'm trying to implement the https://gafferongames.com/post/fix_your_timestep article but I have jitter on the position interpolation.
video of the problem
I have the following PhysX manager class ...
1
vote
0
answers
97
views
Physics interpolation given an asynchronous physics thread
I've followed https://gafferongames.com/post/fix_your_timestep/ to do interpolated physics. I have a separate thread entirely from my graphics thread. I use vulkan which allows me to do asynchronous ...
14
votes
4
answers
10k
views
Why use Time.deltaTime in Lerping functions?
To my understanding, a Lerp function interpolates between two values (a and b) using a third value (...
1
vote
2
answers
609
views
Interpolating server updates with client prediction: how to actually find time variable
I'm working on a 3D web game with client-side prediction, etc. I have implemented interpolation for my entities, but it seems a bit laggy sometimes even on localhost. First I will describe the ...
1
vote
1
answer
617
views
D3D12: how to enable perspective correction when interpolating UV coordinates?
Good morning,
I am currently running into a UV interpolation issue with D3D12 that looks like this:
Is there something that needs to be set when initialising the pipeline so that the GPU does the ...
6
votes
2
answers
1k
views
Interpolating between positions unfeasible at 30 frames per second?
I am working on a 3D platformer in Unity and I am targeting Android devices. The game consists of a lot of objects smoothly interpolating from the bottom of the screen to the top.
This whole time I'...
0
votes
1
answer
621
views
How do you determine which 4 pixels to interpolate, using bilinear interpolation?
I read about bilinear interpolation on Wikipedia and many sources, but I still don't understand how do you determine which four pixels to interpolate.
For example, if I have 5 pixels(y=0), do I ...