Pano2VR 6.0.4/ 6.1 beta Multi state tour

Q&A about the latest versions
Post Reply
User avatar
Hopki
Gnome
Posts: 9446
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Pano2VR 6.0.4/ 6.1 beta Multi state tour

Post by Hopki » Tue Apr 23, 2019 10:43 pm

How to create a tour which can have multiple view states of the same panorama.
This project can have any number of panoramas in a tour and as many different states of the same panoramas as you need.

• Create a project folder
Preparing your panoramas naming convention and sub folders will speed up the project build.
Example, in my test project I'm using name and year, so one_2010.jpg, one_2011.jpg etc.


1.png
1.png (15.83 KiB) Viewed 403 times


It could of been Kitchen_2010.jpg but the name must start with a letter. I then placed all the panoramas into their own date sub folders. Using sub folders assigns tags to the panoramas which then can be used by say the thumbnail menu.


2.png
2.png (56.34 KiB) Viewed 403 times


• Open and save a Pano2VR file to the main project folder, add the panos from the first sub folder 2010, then 2011 and then 2012

• Create all the hotspots and link the tour for all 2010 nodes.

• With node one from 2010 selected, select the List View and select all the point hotspots in the list, right button click and select copy.


3.png
3.png (41.74 KiB) Viewed 403 times


Now select node one from 2011 and 2012, node one from 2010 is now deselected.


4a.png
4a.png (47.3 KiB) Viewed 403 times


Using the list view right button click and paste. This pastes the hotspots in the exact same position for all node one panoramas.
Do this for all nodes so all hotspots are in the same position when changing states.
You will need to go back and correct the Hotspot URLs as you have copied the point hotspots from state one.
Select Node One from the second state, in this example Node One 2011 and make sure the hotspots link to all 2011 panoramas.
Example Node One 2011 needs to link to Node Two 2011.


4b.png
4b.png (30.6 KiB) Viewed 403 times


Select node one_2010. Select user data, then select Edit Project Data button, this will open the Master Node.

In the Custom Node ID text box enter $(n)


5a.png
5a.png (23.21 KiB) Viewed 403 times


Now select node one from the tour browser to exit the Master Node. You will now see in the Custom Node ID the file name of each node, example: one_2010 etc.


5b.png
5b.png (21.86 KiB) Viewed 403 times


While still in user data enter the first part of the file name in the Source text field, in this example, one.


6.png
6.png (12.47 KiB) Viewed 403 times


Select all the first panoramas from the other states and click the copy button.


7.png
7.png (66.48 KiB) Viewed 403 times


Select, "Selected nodes" from the dialog box that pops up.
This copies "one" to all node one panoramas from all the different states.
Do the same for node two then node three.


Thats it for configuring the project file.



In the skin:

• Add your date buttons to the skin with the action.
Source: Mouse Click
Action: Open Next Panorama
URL: {$(us)_2010}
View: Forward

The URL is made up from the user data source then "_2010".
For it to work in the URL the $(us)_2010 needs to be within curly brackets.

The point hotspot template in the skin will need the action:
Source: Mouse Click
Action: Open Next Panorama
URL: Hotspot URL
View: Target view

The reason for using the View Forward is if your panoramas from different states don't quite line up, you can use the set north to correct the offset.
So find a reference point in the pano and set it as north.
Note it does not have to actually be north.
Then in the different state panos set north in the same place.

Add ons, as you added the panoramas from sub folders the panoramas will get the tag of the folder name. In this project they get the tags, 2010, 2011 and 2012.
You can use this to display the correct panos in the thumbnail menu.

The thumbnail cloner has the tag 2010, so on open it shows the 2010 panos.
There is an action in each year button to set the tag to the thumbnail_cloner, 2010, 2011 and 2012 depending on which button you click.

Im also using the text box border colour logic block two change colour when its tag is active.

The above project published: View States
• Changing States/Years will maintain the same Pan/Tilt?FoV (zoom)


Reference documents:
User Data: https://ggnome.com/doc/pano2vr/6/panel-user-data/
Edit Master Node: https://ggnome.com/doc/pano2vr/6/tour-edit-master-node/
Custom Node ID: https://ggnome.com/doc/pano2vr/6/dna/#custom-node-id
Logic Blocks: https://ggnome.com/doc/pano2vr/6/skin-logic/
Place Holders: https://ggnome.com/doc/pano2vr/6/placeholders-list/


Regards,
Hopki
Attachments
view_states.zip
(215.49 KiB) Downloaded 64 times

duceduc
Posts: 31
Joined: Sun Dec 11, 2016 5:39 pm

Re: Pano2VR 6.0.4/ 6.1 beta Multi state tour

Post by duceduc » Wed Apr 24, 2019 1:45 am

Thanks for the write up. Do you have a working url for visual?

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

Re: Pano2VR 6.0.4/ 6.1 beta Multi state tour

Post by Hopki » Thu Aug 29, 2019 3:58 pm

Hi,
Just download the project and publish.
Regards,
Hopki

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 34 guests