Add interpolated Packets to fill out empty ticks in demo files
Find a file
2025-01-11 17:49:24 +02:00
build Overhaul interpolation, check for maxvel 2025-01-11 17:49:24 +02:00
patches Initial commit 2025-01-11 17:49:21 +02:00
src Overhaul interpolation, check for maxvel 2025-01-11 17:49:24 +02:00
test Overhaul interpolation, check for maxvel 2025-01-11 17:49:24 +02:00
.gitattributes Initial commit 2025-01-11 17:49:21 +02:00
.gitignore Overhaul interpolation, check for maxvel 2025-01-11 17:49:24 +02:00
LICENSE Initial commit 2025-01-11 17:49:21 +02:00
package.json Overhaul interpolation, check for maxvel 2025-01-11 17:49:24 +02:00
README.md Update README.md 2025-01-11 17:49:24 +02:00
tsconfig.json Initial commit 2025-01-11 17:49:21 +02:00
yarn.lock Initial commit 2025-01-11 17:49:21 +02:00

demo-interp

An experiemental project for interpolating TF2 SourceTV demo files.
Normally a SourceTV demo has a Packet every 4 ticks, this fills out the ticks inbetween by interpolating between the Packets.
This may be pointless but there is a visible difference when using cl_interp values lower than ~60ms (4 / 66 ticks/s).

usage

yarn install
yarn build
cd test
node test-interp.js