Multi Tour Project

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Hopki
Gnome
Posts: 9446
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Multi Tour Project

Post by Hopki » Tue Jun 25, 2019 4:33 pm

Hi,
Had an interesting request come into support.
A tour of a park with mobile homes. There are only four different types of mobile homes so the idea is you reuse the mobile home tours but entering and exiting at different points of the park.

The attached project built with Pano2VR 6.0.5.
It has six nodes, three park nodes and three pano_xx nodes.
The park nodes simulate the mobile home park. The pano_xx simulate the mobile home tour.

All the nodes are in one project file with all the park nodes linked and the pano_xx nodes linked.
In the park nodes, nodes one and three have links to the first node of the mobile home, Mobile One.

Using the tour:
Open the project and you will see you can click the Red hotspots to navigate around the park.
Clicking a Green hotspot takes you into the mobile home.
The Red hotspots now let you navigate around the mobile home.
The Blue hotspot takes you back to the park tour where you entered the mobile home with using the same pan/tilt/FoV as used when you entered.

How it works:
The skin has four variables:
• node (this stores the node you came from when you enter the mobile home)
• node_ap (this stores the pan angle when you entered the mobile home)
• node_at (this stores the tilt angle when you entered the mobile home)
• node_af (this stores the FoV (zoom) when you entered the mobile home)

Hotspot Template ht_node:
This is a basic hotspot with the action mouse click to open the next panorama using the target view.

Hotspot Template ht_mobile:
This one is a bit clever, it sets the values of the pan, tilt and FoV as well as the current node to the variables.
It also has the open next pano action using the target view.

Hotspot Template ht_return:
This one uses the basic open next panorama action but uses placeholders that read the node, pan, tilt and FoV variables.
So when clicked takes you back to the exact node and view you were in before you entered the mobile home.

The reason for using three Hotspot Templates is so you can change the hotspot images.
However it is possible to do it all with one hotspot template with variables if you really wanted to, you would need another true/false variable to make this work.

Regards,
Hopki
Attachments
mobile_home.zip
(6.23 MiB) Downloaded 51 times

User avatar
panox
Posts: 224
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

Re: Multi Tour Project

Post by panox » Tue Jun 25, 2019 5:57 pm

Hi Hopki,
Open the project and you will see you can click the Red hotspots to navigate around the park.
when I open the index.html, I can't see any red hotspots. There are only two blue dots.

1. "Tour Node Two"

2. "Mobile One"

Best regards

Harald

User avatar
Hopki
Gnome
Posts: 9446
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Multi Tour Project

Post by Hopki » Tue Jun 25, 2019 6:01 pm

Hi Harald,
All fixed, posted the wrong file :oops:
Regards,
Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests