Sorry to start a new thread, I've read a bunch of threads related to this topic but have not seen one consistent answer that appears to work for me.
I just want my panos to display flat, with no projections (fisheye or rectilinear.) Sometimes I have gotten that with hfov=1 but sometimes that seems to give me no zooming.
I think I would like something fairly similar to gigapan, thus the following behaviours:
- Flat pano -- we just zoom and pan around in it, we don't project or distort it.
- Flat 360 panos too -- I want to be able to move around in a circle with the ends joined if the pano is a 360. I know the fov of my panos, my script is extracting it from the .pano file of AutoPanoPro. I have some that are more than 360 degrees, probably want to join those in a bad join.
- Be able to zoom all the way out to see the whole pano (even 360 degree) with black bars top and bottom -- but no further. I think that's limitview="fullrange" but it doesn't seem to always do that.
- Be able to zoom in to pixels at 200%. I think that's maxpixelzoom=2.0 though for some reason it's not always working. Does the program not always re-read included xml files on every reload perhaps? Do they need to be included in specific places?
- For initial view, I want to choose between sometimes showing fully-zoomed out (a reasonable default) but sometimes I will want to set "zoom to fill by height" and some starting position (default middle but I may want to tune that.)
Mostly these are cylinders but I have a few rare spheres. And a few rectilinears as well.
There should be some combination of limitview, maxpixelzoom, hfov and other field of view parameters
Now for some panos I will do the projected view, but since that's the default here that won't be hard. And I suspect I can also put in a menu item or button at some point to allow users to swtich to a projected view if that's what they want. I just find that since I have a widescreen, and so many people have widescreens and I encourage fullscreen, the projected view is not what I am looking for.
I have some other things I want to set up -- cameracontrols with a fullscreen button, proper zoom range on cameracontrols, double-click to zoom and center and much more, but I will leave them to other threads.
Added note: The hfov=1 panos are displaying and scrolling properly now. There does seem to be some sort of cache problem with included xml. However, my wider field of view panos, in particular the 360s, still seem to do a projected view, so when you pull back you have this tiny section in the middle that's right and two giant stretched wings, not very useful. Seek to just have unmodified 360 view users can move around in.