Calculate the field of view when zoom in or out?

  • Field Of View is not Changing when change the view.
viewer.camera.changed.addEventListener(function () {
         // Always console the same fov value
         console.log(camera.frustum.fov);
});

Can you describe a bit more what you’re trying to accomplish? The field of view for the camera is a fixed number. Think of it as the angle of the camera’s lens so to speak.