Tour with panoramas taken at different times of the day

Q&A about the latest versions
Post Reply
tom.ton
Posts: 8
Joined: Wed Jul 06, 2016 9:52 pm

Hi All,

How can I create tour with multiple locations and panoramas taken during day, dusk and night and switch between them.
I thought about adding menu to skin with three buttons (Day, Dusk, Night). But how would I make is so it stays in the same location and only changes time of the day?

Lets assume that i have (letters indicate locations)
Day: A, B, C
Dusk: A, B, C
Night: A, B, C


Thanks.
User avatar
panox
Posts: 305
Joined: Mon Mar 12, 2007 11:03 pm
Contact:

Hi tom.ton,

that is pretty easy, here you can find out how to:

http://www.pano.szenerien.de/Panorama-U ... dex_1.html

Best regards

Harald

Ok, this is what I understood from your first posting. Seems to be more complicated and I guess Hopki can help.
Last edited by panox on Tue Sep 12, 2017 12:06 pm, edited 2 times in total.
tom.ton
Posts: 8
Joined: Wed Jul 06, 2016 9:52 pm

Hi Harald,

Thanks for your reply but this isn't what I'm after.

I need to be able to create tour with multiple locations A, B, C... and then at each location be able to change time of the day and it has to remember selected time of the day when changing location.

Any suggestions will be appreciated.

Thanks.
Don
Posts: 143
Joined: Thu Mar 07, 2013 2:59 pm
Location: Southern California

I have not yet worked with version 5.x, and was hoping to hear that version 5.x does this inherently? I see version 5.x does have transitions from one node to the next. Therefore try and experiment: make each time of day a separate node. Sync the pan, tilt, and fov for all three nodes. Then transition from node to node.

Otherwise I successfully did this in version 4.x using javascript to turn <div> tags on/off. Each time of day was a different <div> tag. The CSS opacity value for each <div> tag was increased or decreased in order to transition between nodes. Meanwhile, the pan, tilt, and fov values were also synced via javascript. This javascript solution worked well, but took a lot of tweaking to avoid using all the browser cache, and indeed the mobile browsers (this is a couple years ago) choked under the load of 3 panos spinning and transitioning all together.
tom.ton
Posts: 8
Joined: Wed Jul 06, 2016 9:52 pm

Hi Don,

Thanks for taking interest. It sounds like a lot of extra work especially if you have quite a few locations (which I do).

I thought about making each "time of the day" as a separate tour and switch between them but this means it will always take me to the starting node unless there is a way to match nodeID of tour to be loaded with nodeID I'm looking at.

Also is there a way to keep viewing parameters (direction and FOV) when changing node?


Thanks.
Don
Posts: 143
Joined: Thu Mar 07, 2013 2:59 pm
Location: Southern California

tom.ton wrote: Fri Sep 15, 2017 3:59 pmAlso is there a way to keep viewing parameters (direction and FOV) when changing node?
Keep in mind, I am not up-to-speed on v5.x yet, hopefully soon, and had to review the current documentation to attempt an answer. Hopefully someone more knowledgeable will correct me or contribute:

A. If your panos are stationary when going from node-to-node, then I would first look into v5.x Transitions:
https://ggnome.com/doc/pano2vr/5/transitions/
https://ggnome.com/doc/pano2vr/5/output ... ransitions

Also research Direct Node Access and Target View - which maybe are no longer applicable in v5x, because this post is dated June 6, 2016:
viewtopic.php?t=11044#p45121

However, and I need to learn more about Transitions, but seems Transitions do not yet include Target View. So, that's why I mention Direct Node Access and Target View.

B. If your panos are spinning when going from node-to-node, then this is more complicated because the spinning nodes need to sync perfectly as the time of day changes. After reading the documentation, I feel like this situation still requires custom javascript coding. Canned warning: Do as much out-of-the-box as possible, avoid custom coding. However, if you are comfortable coding, and after much thought, today I would still use the <div> tag solution outlined above, but today I would avoid synchronizing more than two panos at once, i.e. only your current pano and the next pano. Especially if you have a zillion panos in your tour. Maybe today is different, but a couple of years ago not all of the browsers had enough memory and computational power. Here is the current Pano2vr javascript API:
https://ggnome.com/doc/pano2vr/5/javascript-api/
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Any good?
Regards,
Hopki
Attachments
tour.zip
(125.01 KiB) Downloaded 281 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/
tom.ton
Posts: 8
Joined: Wed Jul 06, 2016 9:52 pm

Hi Hopki,

Thank you very much! This is exactly what I need.

Took me some time to figure out how you used $us, $ui, $uo to select different time of the day :)
Am I correct thinking that using this method would limit "times of the day" to however many fields can be used in User Data section?

Thanks.


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

Hi Tom,
Doing it this way yes.
If you did not use point hotspots and used say a drop down or thumbnail menu then you can have as many as you wanted.
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/
Don
Posts: 143
Joined: Thu Mar 07, 2013 2:59 pm
Location: Southern California

Awesome, I love it! There's a bunch of my old code headed for the trash now! :D
Post Reply