Camera FOV scaling

Hello. I wanted to ask if it’s possible with the babylon camera to perform a kind of “field of view compensation” - so if the FOV is changed, the object stays in the same position.

this is the kind of effect I am after -

fotografie-lenzen

so you can see the effect the changing of the value on the camera’s perspective, but without the object moving in 3d space.

1 Like

Hi,

Yes it’s doable, you can change camera fov and distance from subject

(here when you zoom in/out the fov updates so the object keeps its original size on screen)

5 Likes

hi @SvenFrankson - That’s absolutely perfect! thanks a million.

3 Likes