Same Field of View (FoV) in another image of a second tour (linking via url!)
Posted: Sun Nov 27, 2022 8:49 pm
Hello all,
I ve started a multi-year project and need some help. To accompany a building project, I will create a tour with different pictures every year. I will always try to take the photos from the same location. In the tour there will be a button for each year and you can jump to the same picture (via Direct Node Access) in the other tour. I use customNodeID´s if this is important! 071 ist picture 71 of nearly 120 pictures.
The jump to the other photo already works, but unfortunately the alignment of the photos does not fit: https://fnachtwey.de/Panorama/Test/UniF ... 2.6,100.00
Since I can't always align the camera the same way, the photos are not congruent. However, I have aligned the north in Pano2VR. In the URL above I used the following setting: First I set the targe = "$(an),$(at),$(af)" and then I call up "../202211/index.html#$(ucnode),$(*target)" via Go to URL. Unfortunately, this does not work with "$(fwd)" -> within the same tour it work well!
I then tried the JavaScript API and with "pano.setPanNorth(angle_in_degrees:Number)" I can jump to the same image angle. Perfect!
Unfortunately, I was not able to call up the URL of the other tour (https://fnachtwey.de/Panorama/Test/UniF ... x.html#071) via JavaScript and adjust the viewing direction there.
Therefore, my question: How can I call up the same field of view in the other image of the other tour if the images are not congruent (where only the north is aligned in Pano2VR)?
I hope I was able to explain my question in an understandable way. Otherwise you are welcome to call up the URLs and get an idea of the problem.
I would be glad about some helpful tips.
Many thanks and best regards
Frank
I ve started a multi-year project and need some help. To accompany a building project, I will create a tour with different pictures every year. I will always try to take the photos from the same location. In the tour there will be a button for each year and you can jump to the same picture (via Direct Node Access) in the other tour. I use customNodeID´s if this is important! 071 ist picture 71 of nearly 120 pictures.
The jump to the other photo already works, but unfortunately the alignment of the photos does not fit: https://fnachtwey.de/Panorama/Test/UniF ... 2.6,100.00
Since I can't always align the camera the same way, the photos are not congruent. However, I have aligned the north in Pano2VR. In the URL above I used the following setting: First I set the targe = "$(an),$(at),$(af)" and then I call up "../202211/index.html#$(ucnode),$(*target)" via Go to URL. Unfortunately, this does not work with "$(fwd)" -> within the same tour it work well!
I then tried the JavaScript API and with "pano.setPanNorth(angle_in_degrees:Number)" I can jump to the same image angle. Perfect!
Unfortunately, I was not able to call up the URL of the other tour (https://fnachtwey.de/Panorama/Test/UniF ... x.html#071) via JavaScript and adjust the viewing direction there.
Therefore, my question: How can I call up the same field of view in the other image of the other tour if the images are not congruent (where only the north is aligned in Pano2VR)?
I hope I was able to explain my question in an understandable way. Otherwise you are welcome to call up the URLs and get an idea of the problem.
I would be glad about some helpful tips.
Many thanks and best regards
Frank