Page 1 of 2

How to keep camera position when switching from one to anoth

Posted: Thu Feb 19, 2009 12:31 pm
by martyhr
Hi,
I am working on transition between summer and winter version of an aerial pano.

I need to find out how to keep camera position when switching between panos.

The target is to switch the new pano exactly at the same position when leaving the previous version.

http://virtualpanorama.cz/transition/

Martin

Re: How to keep camera position when switching from one to anoth

Posted: Thu Feb 19, 2009 12:58 pm
by smooth
Hi Marty,

You need to add $cur to your Target input box in the point hotspot.
Add %$ht to your P/T/F input box in the skin.

Regards, Smooth 8)

Re: How to keep camera position when switching from one to anoth

Posted: Thu Feb 19, 2009 3:13 pm
by martyhr
Hura, thanks a lot Smooth.

http://virtualpanorama.cz/transition/

It is working now.

I have used only $cur and I did not make any point hotspots.
I did it only with two pictures and two text box in the skin editor.

Marty

Re: How to keep camera position when switching from one to anoth

Posted: Thu Feb 19, 2009 3:59 pm
by smooth
You should change your climate image to a button image so it show an active hotspot hand cursor on mouse over.

Regards, Smooth 8)

Re: How to keep camera position when switching from one to anoth

Posted: Thu Feb 19, 2009 7:15 pm
by martyhr
yes. good advice, I will try ....

Re: How to keep camera position when switching from one to anoth

Posted: Thu Feb 19, 2009 9:03 pm
by martyhr
According to your kind recommendation, Smooth:
http://virtualpanorama.cz/transition/

Thank you again

Marty

Re: How to keep camera position when switching from one to anoth

Posted: Sat Feb 21, 2009 7:12 pm
by 360Texas
looks like that worked out OK. Interesting how you were able to coordinate the angle of view when switching from winter/ summer.

Re: How to keep camera position when switching from one to anoth

Posted: Sat Feb 21, 2009 10:00 pm
by martyhr
yes, we tried to remember which was summer position of our helicopter and simply guessed now week ago for winter version.

The result is quite good.

Next time wee prepare to use GPS on the helicopter and catch the same position whenever we need.

Re: How to keep camera position when switching from one to anoth

Posted: Sun Feb 22, 2009 10:09 am
by Wim.Koornneef
Nice work Marty, I like the transition.
I think this scene is very suited for a 4 season series.

BTW, do you have a googlemaps location of the scene?
Perhaps you like the idea to make a hotspot URL on the ground ? it could provide some additional location information

Best,
Wim

Re: How to keep camera position when switching from one to anoth

Posted: Sun Feb 22, 2009 11:04 pm
by martyhr
Thanks Win,
yes, I wil add this picture to my virtualczech.cz.
There is the GPS navigation with every pano to czech maps and to googlemaps.
Here is the summer version:
http://www.virtualczech.cz/kraj-pardubi ... um-letecky
and some info about the castle:
http://www.vcm.cz/ ( not english yet)
with of course a virtual tour of mine :-)
http://www.vcm.cz/virtual/virtualni-prohlidka.html

Martin

Re: How to keep camera position when switching from one to anoth

Posted: Sun Apr 05, 2009 5:14 pm
by stalwart
smooth wrote:Hi Marty,

You need to add $cur to your Target input box in the point hotspot.
Add %$ht to your P/T/F input box in the skin.

Regards, Smooth 8)
Smooth

Can you elaborate on this a little further for me - I'm trying to do a transitional panorama of 3 images - and need to learn / understand how to get them to start from the same point each time loaded.....

Stu

Re: How to keep camera position when switching from one to anoth

Posted: Mon Apr 06, 2009 1:50 pm
by centreofengland
Hi Stu,
I had a go at doing this at the weekend using two panoramas one taken during the day and the other at night.

How I did it was to make a skin and place two "button images" labelled Day and one for night. the action for these was open next panorama, url was the relevant .swf file for night and day, I set the target as $cur
I used the same skin for both panoramas and this is the result :

http://www.absolutelyandy.com/demo/nigh ... 0/day.html

As you can see it works perfectly.

I would like to hear of how other people have created their skins for this. For example how do you make it with just one button that toggles between the two.

P.S. The hardest part for actually making this work was making the two 360s start from the same place, I moved the views in PtGui before stiching so they both started at the same position. I'm not sure if I could have just used the modify view thing in Pano2Vr to sort this out.

Cheers
Andy

Re: How to keep camera position when switching from one to anoth

Posted: Mon Apr 06, 2009 4:07 pm
by stalwart
centreofengland wrote:Hi Stu,
I had a go at doing this at the weekend using two panoramas one taken during the day and the other at night.

How I did it was to make a skin and place two "button images" labelled Day and one for night. the action for these was open next panorama, url was the relevant .swf file for night and day, I set the target as $cur
I used the same skin for both panoramas and this is the result :

http://www.absolutelyandy.com/demo/nigh ... 0/day.html

As you can see it works perfectly.

I would like to hear of how other people have created their skins for this. For example how do you make it with just one button that toggles between the two.

P.S. The hardest part for actually making this work was making the two 360s start from the same place, I moved the views in PtGui before stiching so they both started at the same position. I'm not sure if I could have just used the modify view thing in Pano2Vr to sort this out.

Cheers
Andy
Andy

your example (of the Silk Mill...?) works perfectly, and exactly as I want it to. Can you send over the skin? Also, will this work with more than 2 panos (i.e. - seasonal 4)...?

I've set my images up by using the 'transform' option in pano2vr, & change default pan view.

Stu

Re: How to keep camera position when switching from one to anoth

Posted: Mon Apr 06, 2009 6:18 pm
by centreofengland
Hi Stu,
Yes its the new Cathedral Green in front of the Silk Mill Museum. As per my last entry on the World Wide Panorama website The last WWP event has just gone live on Sunday.

I have attached the skin I used to make my night and day then and now panorama.
It pretty basic stuff but should give you an idea of how it works. This is just my first try at it, I would improve it from here.
If I was wanting to use more than 2 panos then obviously I would just add another button with that linking to the third pano.

Cheers
Andy

Re: How to keep camera position when switching from one to anoth

Posted: Mon Apr 06, 2009 6:57 pm
by stalwart
Andy

cheers for the help - here's my first attempt:

http://www.360imagery.co.uk/application ... /001a.html

Stu