Sie sind nicht angemeldet.

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

1

Montag, 6. August 2012, 18:22

Hotspots and Parents

I have a hotspot and am trying to add another hotspot anchored close by which gives it a little funky orbit around the parent.
Is there any more information about what is going on here?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Montag, 6. August 2012, 18:30

BTW, just grabbing the parents ath, and atv and using ox and oy does what I needed. The orbit thing is interesting as well. I'd like to know how to control the radius.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

3

Montag, 13. August 2012, 20:03

<hotspot name="spot_eingang" style="arrowspot1" ath="1" atv="40" scale="0.40" onclick="transition(spot_eingang, 1.0, 0.0, 0, scene_eingang, -86, 3, 45);" />
<hotspot name="spot_eingang2" parent="hotspot[spot_eingang]" style="arrowspot1" x="100" y="100" scale="0.10" onclick="transition(spot_eingang, 1.0, 0.0, 0, scene_eingang, -86, 3, 45);" />


So I'd like to setup hotspots with other hotspot buttons offset, and be able to drag the hotspot with its buttons.
But the hotspot parent system isn't documented or working properly.
Klaus, can you shed some light here?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

4

Montag, 13. August 2012, 20:44

Hi,

a hotspot itself can't have a parent - but a plugin/layer element can have a hotspot as parent,
e.g.

Quellcode

1
2
<hotspot name="spot1" ... />
<layer name="child1" parent="hotspot[spot1]" .. />


best regards,
Klaus

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

5

Montag, 13. August 2012, 21:26

Thanks it works!
ox and oy for positioning.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour