English Deutsch 中文   




Radar: Point Hotspots

From Garden Gnome Software

Jump to: navigation, search

This tip looks at how to set up a radar beam or compass to pont in the correct direction in each node of a virtual tour.
The same technique can also be used for a single panorama. The project starts with you already having a virtual tour with point hotspots and your compass graphic already in the skin. For further information on doing this please visit the tutorial regarding Hotspots
These project were built using version 3.1.0.

Point Hotspots

Download the project
Download Video

  1. Open the Skin Editor window and add a text box with the place holder $ap (Angle Pan)
    Radar one.png
  2. Save and open the project, then turn the panorama to face North, make a note of the Pan Angle in the text box. Visit each node of the tour turning each panorama to the North and making a note of the Pan Angle in each.
    Radar two.png
  3. Once you have all the Pan Angle data, open all the p2vr project files and enter the data in the User Data information text field as show below. Click OK then Create All, and save each p2vr project file.
    Radar three.png
  4. Now go back to the Skin Editor of the first project file and add the following actions to the Hotspot Template:
    Init => Set Element Angle => Angle: $ui => Target: radar beam (This action is only needed if you want this to also work in an HTML5 output)
    Loaded => Set Element Angle => Angle: $ui => Target: radar beam
    Radar four.png
  5. You can remove the text box that you used to get the Pan Angle as this is no longer needed, save the skin and open the tour, the beam should now point in the correct direction in each node.



Printable version or PDF

This page was last modified on 15 September 2011, at 10:36.


© 2012 Garden Gnome Software