You are not logged in.

1

Sunday, December 4th 2016, 11:24am

Bug in spheretoscreen (in version 1.19-pr4 - 1.19-pr8)

Hello, Klaus



One bug will not let me go to the new version krpano.

In version 1.19-pr4 - 1.19-pr8 can not be used "spheretoscreen" function in the events "over" in "hotspot".

Example
You can generate a droplet tour
Put hotspot
And in "vtourskin.xml" modify the 241 line:
Onover =" tween (scale, 0.55); spheretoscreen (100, 20, tx, ty); "

Now hotspot when the mouse either disappears or shifts *sad*

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Monday, December 5th 2016, 10:07am

Hi)

As far as I can see from documentation, using values is not possible inside spheretoscreen. Only variables are supported. Read notes here:

http://krpano.com/docu/actions/#spheretoscreen
Regards,

Alexey

3

Monday, December 5th 2016, 4:36pm

Hi)

As far as I can see from documentation, using values is not possible inside spheretoscreen. Only variables are supported. Read notes here:

http://krpano.com/docu/actions/#spheretoscreen
This error always occurs
This is more

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

4

Tuesday, December 6th 2016, 7:31am

Krpano does everything correct here, as far as I can see. Rename 'tx' and 'ty' to something else (target_x, target_y). There are new tx, ty and tz settings for moving distorted hotspots in 3D space, read here: http://krpano.com/docu/xml/#hotspot.tx

So your code just translates hotspot's ath/atv into it's 3D offset (that's why, I guess, the spot is shifted to the side).
Regards,

Alexey

5

Tuesday, December 6th 2016, 11:48am

Thanks, I did not notice that there are new parameters tx and ty