allSaints
10-22-2008, 06:51 PM
Hello,
I have a problem with the "pan" function when directing the viewer to a certain place in my panorama.
Of course I want FPP to take the viewer the shortest way to the point of interest and not make a complete 360 degrees turn. In some panos FPP always pans to the right to get there and sometimes it always want to pass through the zero degrees point which can make it pan more than 360 degrees!
How do I make sure it pans the shortest way?
Here is an example where I zoom in after clicking on a hotspot to change pano:
onClick="pano.qualityStatic=low;pano.tilt=90,600;pano.pan=0 ,600;pano.zoom=2.0,1000,,transit"
transit="loadPano(panoName=eniro5&tilthome=-35&panHome=145,500,fade);"
Regards,
Tommy
I have a problem with the "pan" function when directing the viewer to a certain place in my panorama.
Of course I want FPP to take the viewer the shortest way to the point of interest and not make a complete 360 degrees turn. In some panos FPP always pans to the right to get there and sometimes it always want to pass through the zero degrees point which can make it pan more than 360 degrees!
How do I make sure it pans the shortest way?
Here is an example where I zoom in after clicking on a hotspot to change pano:
onClick="pano.qualityStatic=low;pano.tilt=90,600;pano.pan=0 ,600;pano.zoom=2.0,1000,,transit"
transit="loadPano(panoName=eniro5&tilthome=-35&panHome=145,500,fade);"
Regards,
Tommy