Sie sind nicht angemeldet.

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

1

Sonntag, 12. August 2012, 19:37

How to add plugins/hotspots to scenes dynamically?

Is it possible to use addhotspot / addplugin and maintain the same behavior as if they were linked to a scene?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

2

Montag, 13. August 2012, 15:53

Hi,

how do you mean that exactly?

When the scene is loaded you can use the normal addplugin/addhotspots actions to add elements.

Or do you mean 'not loaded scenes'?
In this case the xml code of the scene itself would need to be modified (can be done via the scene[name].content variable).

Best regards,
Klaus

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

3

Montag, 13. August 2012, 16:17

So that when you changes scenes and come back the hotspot you dynamically added is still there.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

4

Montag, 13. August 2012, 17:06

So that when you changes scenes and come back the hotspot you dynamically added is still there.
Only when you modify the 'scene[name].content' xml.

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

5

Montag, 13. August 2012, 17:08

Is there a way to add a hotspot to scene content without txtadding every hotspot property?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

6

Montag, 13. August 2012, 17:10

No, when loading a new scene, then just that scene[name].content xml will be loaded.

  • »sachagriffin« ist der Autor dieses Themas

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

7

Montag, 13. August 2012, 18:18

Thanks, it works great!
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour