Alain_83740 wrote: ↑Sat Jul 25, 2020 1:40 pm
Hello the forum,
How do you limit the zoom in and out?
Thank you for your help.
Alain
You'll find this area is a bit... interesting...; assuming you've set your FoV Mode to Diagonal (only if you want your tour to scale correctly(ish) on Mobiles and Desktops in both Portrait and Landscape modes)
First you'll find that when you make the change from the default FoV mode of Vertical (because everyone is only
ever working on mobiles in Portrait mode....?) to Diagonal, then all the FoV values you previously used will now look wrong. You'll need to adjust them upwards. So an FoV of 90 might need to be about 100 to look the same (varies on each device of course). Also your Hotspot sizes will change.
You'll find the FoV Min Max limits cause other problems. You can have 90 as your default FoV, but if you put say, 80 and 100 in the Limits: you will not only find you can't zoom in one direction or the other, but your default FoV is not looking like what you set it to (90). You're actually being locked by the FoV Min Max limits which overrides your Default FoV at one end or the other (depends on Portrait or Landcape mode viewing). You'll have to put in much wider limits to first 'unlock' your original FoV, then adjust further to get the Zoom range you want; which will bear only a passing resemblance to the values you put in.
You might find either limit only has to be a few degrees larger/smaller than your Default FoV, but will still give you quite a large range. Adjusting by single degrees can make quite a difference.
It
seems like the Default FoV is adjusted by an internal scaling factor according to the FoV Mode (Vertical, Horizontal, Diagonal) ; but the FoV Min Max limits are apparently not adjusted (or adjusted differently?) and so they clash.
It also means you get slightly different results for the same FoV Min Max limits on Desktop and Mobiles, where the "scaling factor" is going to be different in Landscape and Portrait modes. So on one you could have a long Zoom In range, but a small Zoom Out range and on the other:
vice versa with the same FoV Min Max values.
Hotspot images will change size, so there's that to deal with too. They need to be made larger.