Hello,
im trying to create my own 3D rendered scene on top of LFS window, for now using IS_CPP packet with tick interval and it seems giving right output that i managed to convert, but i want to know how to make LFS FOV into threejs FOV. Currently in the example i created PerspectiveCamera in threejs with 80 FOV as default. In the video that is below you can see LFS FOV in shift+u view, and it looks 112-113 LFS FOV almost same as threejs FOV (80).
Maybe someone was doing something same as this, manipulating 3D space externally, because i do not have experience with injections into DLL to draw something similiar using LFS itself. Im looking for better ideas, maybe someone already did that before.
Object is moving like this, because framerate is different in game and in scene, but it should stand in right location.
https://streamable.com/h6wesa
im trying to create my own 3D rendered scene on top of LFS window, for now using IS_CPP packet with tick interval and it seems giving right output that i managed to convert, but i want to know how to make LFS FOV into threejs FOV. Currently in the example i created PerspectiveCamera in threejs with 80 FOV as default. In the video that is below you can see LFS FOV in shift+u view, and it looks 112-113 LFS FOV almost same as threejs FOV (80).
Maybe someone was doing something same as this, manipulating 3D space externally, because i do not have experience with injections into DLL to draw something similiar using LFS itself. Im looking for better ideas, maybe someone already did that before.
Object is moving like this, because framerate is different in game and in scene, but it should stand in right location.
https://streamable.com/h6wesa