Hotspot scaling on flat panos  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
User avatar
signmaster
Member
 
Topic author
Posts: 291
Likes: 52 posts
Liked in: 36 posts
Joined: Thu Aug 21, 2008 1:55 pm
Location: Swan Hill, Australia
Info

Hotspot scaling on flat panos

by signmaster » Tue Aug 14, 2018 4:59 am

Hi All
Panotour Pro does not scale hotspots when using a flat pano. Is there a solution or workaround for this?

Steve

hotspot scale.jpg

User avatar
signmaster
Member
 
Topic author
Posts: 291
Likes: 52 posts
Liked in: 36 posts
Joined: Thu Aug 21, 2008 1:55 pm
Location: Swan Hill, Australia
Info

Re: Hotspot scaling on flat panos

by signmaster » Tue Aug 14, 2018 7:02 am

I have asked this a while back, just following up, perhaps someone can do some custom programming or there may be a workaround of some type?

Steve

no avatar
benji33
Kolor Team
 
Posts: 5848
Likes: 92 posts
Liked in: 199 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Hotspot scaling on flat panos

by benji33 » Mon Sep 03, 2018 11:55 am

Hello,
krpano player is not able to link the zoom value with flat panoramas.
Why? Because flat panoramas are not flat but used a sphere with less than 1° fov.
So with zoom activated the icon use all the space.
It's why Panotour deactivate the zoom attribute on flat panoramas.

A possible solution is to define a size for your hotspot and remove the Panotour limitation.
How to do?
- Edit the YOURTOURNAME.xml file and add width="0.2" and height="0.2" attributes to the selected spot into the specified scene. (these values must be changed for your own scene)
- Edit the YOURTOURNAME_skin.xml file and remove the if(scene[get(xml.scene)].planar,if(zoom,set(zoom, false););); string from the onloaded attribute of the hotspot style linked to the hotspot.
Benjamin

signmaster likes this post.


Who is online

Users browsing this forum: No registered users and 4 guests