I have used the HUGIN CROPPING Method several times to produce pixel perfect image alignment and even video alignment. It works great.
The issue I am having is the first time we have encountered this.
Due to the position and size of the image we want to overlay on the pano, the image exported from HUGIN is 5756 x 779 pixels.
This is the code we are using to display it:
Code
<hotspot name="hotspotRoomAPhoto"
url="%VIEWER%/images/tour/room_a/photo.jpg"
edge="center"
zoom="true"
distorted="true"
enabled="true" visible="true"
onloaded="calculatePositionFromHuginHfovYawPitchRoll(259, 0, 0, 0);" />
When we look at the pano in our application the above hotspot DOES NOT display at all.
However, if I remove the onloaded action the hotspot DOES display (not in the correct orientation obviously - but it does display)?
Does anybody see an issue with this? Is there a max size or something that cannot be exceeded?
I am at a complete loss.Thank you!