vivien000 / trompeloeil

Simulating 3D perception with face tracking in the browser
MIT License
111 stars 13 forks source link

It seems too sensitive #2

Open rjmunro opened 3 months ago

rjmunro commented 3 months ago

When I move my head a small amount, the 3d model seems to rotate the other way too far, overcorrecting for my movement. I expect my webcam has a different field of view to what the model is assuming. Is there a way to adjust for this?

vivien000 commented 3 months ago

Hi Robert. There is a fov property in https://github.com/vivien000/trompeloeil/blob/master/src/World/systems/Loop.js, You could try changing its value and see whether it solves this sensitivity problem. Unfortunately enough, as far as I know, it isn't possible to automatically get the field of view of the user's webcam.