You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Friday, April 24th 2020, 10:18am

Distorted hotspots - to replace posters in pano

Hi guys
I've gone over these 2 tuts:…d&threadID=1223…d&threadID=7272
....however my situations is slightly different.
I have a bunch of rectangular shapes (poster frames), and we want to replace the contents of the posters from time to time. Makes sense to use distorted hotspots since then all we need to do is override the existing jpg hotspot image whenever we want to update it.
However, this is proving to be a major issue. So in PS we have the new poster in its original form, a typical rectangular image. Then I manually placed it into the tour like so: (rotating the image in 3d space also)

Source code

		<hotspot name="poster1" distorted="true" ath="-16.75" atv="5.4" url="skin/poster1.jpg" width="94" height="208" rx="5.0" ry="12.0" rz="0.0">
			<point ath="-21.8" atv="-6.4" />
			<point ath="-11.3" atv="-6.8" />
			<point ath="-11.3" atv="17.5" />
			<point ath="-21.9" atv="16.5" />

In this example I 1st made a poly in the scene so I can see where I am, then I stuck the hotspot over the poly. ALL those values were thumbsucked and manually adjusted, until I could align my poster more or less to the pano. However that is taken a HUGE amount of time. There must be another way to do this.


Friday, May 1st 2020, 11:00pm

Tuur saves the day!

I have done something similar in the past. What was the easiest for me was to use Tuur's amazing toolbox plugin to manually rotate the hotspot images.

You can find Tuur's toolbox on his website at:

Once you install it open your tour and hit "T". The distorted hotspot editor allows you to move/rotate/scale your image hotspots, then when you have it positioned just right, click the print button and copy the values into your xml. One issue you might encounter is you can only use the distorted hotspot editor on enabled hotspots, so you will have to temporarily set the hotspots you want to edit to enabled="true" .

Thanks Tuur for such a useful tool!



Posts: 3,500

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message


Monday, May 4th 2020, 5:03pm

Great, this looks like an awesome tool Tuur!