Pano2VR 6 Multi View State tour

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

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 21117 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 21117 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 21117 times


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


4a.png
4a.png (47.3 KiB) Viewed 21117 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 21117 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 21117 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 21117 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 21117 times


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


7.png
7.png (66.48 KiB) Viewed 21117 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 933 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
duceduc
Posts: 43
Joined: Sun Dec 11, 2016 5:39 pm

Thanks for the write up. Do you have a working url for visual?
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Just download the project and output.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
paolodalprato
Posts: 9
Joined: Fri Nov 02, 2018 1:06 pm

Very useful tutorial, for interesting uses, thanks!
I have some problems applying your suggestions in the case of a nested cloner menu, can I ask you some suggestions?
Fineline
Posts: 1
Joined: Tue Aug 28, 2018 4:54 pm

Hello,

We're creating a 3D rendered tour of an apartment suite that we'd like to show with different furniture schemes that are controlled with buttons. This tutorial has been very helpful in getting it all set up.

The final issue we're having is the view direction radar that rotates around each of the nodes placed on the floorplan. It only works when we're using the first furniture scheme. When we change the scheme to any of the others, the radar beam disappears. In addition, the "visited" state of the map nodes stops working. When switched back to the first scheme, the radar beam and "visited" state of the map nodes starts to work again.

I believe this is because only the first scheme's images were actually dragged onto the floorplan tour map, and the rest of the linking was handled behind the scenes. Is that right? Is there a way to fix this or force the radar to be on at all times?

Thanks very much!
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Fineline,
Can you e-mail in to support, link below?
If you can send in your project so we can see what is going on that will help us to help you faster.
We will need all the files to be able to build the project in the office.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Idocio
Posts: 52
Joined: Wed Apr 15, 2020 9:26 pm

Very interesting effect.

Two questions.

Is there a way to control the loading of the next panorama before displaying it on the screen? In this way the loading between one panorama and another is more gradual and the fade effect is more consistent.

In a virtual tour that I have seen recently (I think it is done with KRpano), they do something similar between two panoramas, but through a slider that controls the opacity between the panoramas. Is there a way to do this type of control in Pano2VR?

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

HI,
Not at the moment, KRPano is using dual players which is not supported in Pano2VR V6, this is very much on the list for V7.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Carlos Chegado
Posts: 62
Joined: Wed Feb 14, 2007 7:11 pm

Hi Martin,

I'm working on a project at the moment that will need to use at least two states of some panoramas in the Virtual Tour and this example is very handy, however, is there a way to change between different states of the same panorama but maintaining he viewer direction of the previous panorama (whichever way the user is looking at that point) rather than loading the different states always from the initial default view?

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

Hi Carlos,
If you use an Open Next Panorama action use the target "Current View".
This will apply the same pan, tilt and FoV from the pano you leave to the one you are going to.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Carlos Chegado
Posts: 62
Joined: Wed Feb 14, 2007 7:11 pm

Thanks Martin,

I'll try that.

Cheers from Down Under
lavAzza
Posts: 19
Joined: Mon Dec 07, 2020 3:25 pm

Hello.
Will it work if I add one space and two spaces to the panorama name?
User avatar
Hopki
Gnome
Posts: 12999
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
The custom node ID can not have spaces, hence why the example uses underscores.
If you try it you will see the following message.

Screenshot 2023-11-16 at 22.49.38.png
Screenshot 2023-11-16 at 22.49.38.png (31.45 KiB) Viewed 12028 times

Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply