Sie sind nicht angemeldet.

1

Freitag, 10. April 2015, 14:31

How to set up hotspots for WebVR

I've been trying out the VR option in 1.19 prerelease. I have it working for individual panos but I can't get hotspots to show up in a tour when in VR mode. I tried searching the forums here and saw some references to needing to use distorted hotspots. I have no idea how to set up or use disported hotspots. Can anyone here share an example, preferably as used for WebVR?

Red

Schüler

Beiträge: 92

Wohnort: Australia

Beruf: Virtual tour creator, VR app developer

  • Nachricht senden

2

Freitag, 10. April 2015, 16:03

You can check out this part of the documentation. http://krpano.com/docu/xml/#hotspot.distorted

In short, you need to add the distorted="true" attribute to each of your hotspots code. Or add distorted="true" to styles

Example:

Quellcode

1
<hotspot name="hotspot1" distorted="true" ath="100" atv="10.018624" rx="-69.25" ry="12.75" rz="11.07442" alpha=1" scale="1" onclick=" loadscene('scene_yourscene',null,MERGE,BLEND(1));" />



or if using styles, something like


Quellcode

1
<style name="style1"  scale="0.2" distorted="true" ath="0" atv="45" alpha="0.5" />



Hope that helps.

Kabkee

Anfänger

Beiträge: 26

Wohnort: South Korea

Beruf: South Korea

  • Nachricht senden

3

Donnerstag, 12. Januar 2017, 09:20

You can check out this part of the documentation. http://krpano.com/docu/xml/#hotspot.distorted

In short, you need to add the distorted="true" attribute to each of your hotspots code. Or add distorted="true" to styles
it's not working to me.
it seems the solution that to Only set distorted attribute on hotspots.