Using Node Markers (Pano2VR)
Node markers are found in the skin editor and are used to do a number of useful things. In Pano2VR Pro, you can change a node marker to a marker template for easy node placement on a map and in both Pano2VR versions, you can use the node marker in conjunction with tags to activate or deactivate actions and media.
|Node Markers Basic Tutorial|
|Node Markers Advanced Tutorial|
Adding node markers
Use node markers to show panorama location on a map:
- Create a tour.
- Open the Skin Editor.
- Add a map to the skin. This is where the node markers will be placed.
In our example, we simply used a screenshot of a map, which is probably the easiest way to make a map for a tour.
◊ TIP: Avoid copyright violations by using an open source map (see Settings/Preferences, for a list of map providers).
- Add a markertemplate by simply adding a node marker to the skin and give it an ID of markertemplate. If you are already using the simplex skin, or your skin already includes a markertemplate, then you can skip this step.
- From the Tour Browser (undocking it may make this step easier), drag the panorama to its location on the map within the skin editor. A node marker will be added.
The marker image and text comes from the markertemplate.
- Continue adding the rest of the panoramas to map, in the same way.
- Save the skin.
- Output the project.
Have multiple locations and maps? Move on to, Using multiple node images.
Universally change all marker images
The template's images can be changed at anytime. If the node markers from the marker template have already been added, this will universally change all marker images.
- In the Skin Editor, open either one of the template marker images (marker_active or marker_normal).
- Select Choose, next to the image, and navigate to the new image file. Choose, Open.
Now, all the node marker images will have changed.
Using multiple node images
It is sometimes necessary to use different marker images for a different set of panoramas. For this example, we will use different images for different locations/maps.
These steps are a continuation of Adding Node Markers.
- Add a another map/image to the skin.
- Drag images in to the editor window of the skin editor to use for the marker; one for the active state and one for the normal state.
◊ TIP: SVGs are recommended.
- Give the images meaningful IDs in the Editor (or via their preferences).
- Make the images children of the container called, hide_template, by dragging them onto the container.
- Open the marker_template properties (double-click) and clone the new indicators from the drop down lists:
- for Clone as Normal
- for Close as Active
- Now drag in the new panoramas/nodes for which this image will be used.
The new panoramas should now be using the new marker images.
- For each panorama that will trigger a change, add a tag from within the user data settings. Our example adds the tag, sound to every panorama that has sound added to it.
- In the Skin Editor, add an element that will be triggered by the tags added in the previous step. We added play and pause buttons to our controller.
- In the element's properties, deselect Visible, to keep it hidden until it is triggered. (Otherwise, it will show on start up.)
- Add a new node marker by clicking the node marker button in the toolbar.
- Open the marker's properties, and in the Tour Node/Tag section, add the tag (type it in) that was added to the panorama. In our example, we added our sound tag.
- In the Actions/Modifiers tab, add the following actions:
- Save the skin and output the project.