Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2009, 02:26 AM
360beginner 360beginner is offline
Junior Member
 
Join Date: Jan 2009
Posts: 21
Downloads: 0
Uploads: 0
Default Perspective when Pano loads

I know I'm all over the place with questions, but this is a big problem in my project.

Question: When the pano loads, can I change the perspective Pan and Tilt to keep the right perspective in place. My next pano always has me looking the wrong way.

Example: If you have a hotspot entering the masterbedroom... you enter... and the new pano loads with you looking back at the door you just came in instead of forward.

I have a <global> pan and tilt and would like to be free to change pan and tilt on each pano.

Thanx
Reply With Quote
  #2  
Old 01-28-2009, 07:11 AM
myksa myksa is offline
Member
 
Join Date: Sep 2008
Location: Poland
Posts: 81
Downloads: 2
Uploads: 0
Default

Hi, when you load a new pano, you can specify exactly where pano should be directed. Just use:

Code:
loadPano(xml_file=nextpano.xml&pan=10&tilt=9&zoom=2)
it will load pano with pan=10, tilt=9 and zoom=2
Reply With Quote
  #3  
Old 01-28-2009, 02:10 PM
360beginner 360beginner is offline
Junior Member
 
Join Date: Jan 2009
Posts: 21
Downloads: 0
Uploads: 0
Default

I appreciate the reply.

If I understand the code, it calls the xml file then references the pano to load with the parameters needed...just what I needed!!!

Will this work on an onClick event from the xml or does this line of code need to be put in the .fla that calls the xml in?
Reply With Quote
  #4  
Old 01-28-2009, 02:58 PM
allSaints's Avatar
allSaints allSaints is offline
Senior Member
 
Join Date: Aug 2008
Location: Stockholm, Sweden
Posts: 945
Downloads: 0
Uploads: 0
Default

Yes, this is a cut from the XML file, and can be used in the onClick event.

See documentation under "Hotspots plugin" under "Builtin functions"...

Regards,
Tommy
Reply With Quote
  #5  
Old 01-28-2009, 04:11 PM
LepLep LepLep is offline
Senior Member
 
Join Date: Jun 2008
Posts: 185
Downloads: 0
Uploads: 0
Default

i would also recommend detailed studies of tutorial/ simple use of search function instead of flooding the forum...
__________________
midnight sun in Troms? - 360 panorama or northern lights over Troms? - 360 panorama
anonymous tourist:"but why there is only one sun?"
Reply With Quote
  #6  
Old 01-28-2009, 04:41 PM
360beginner 360beginner is offline
Junior Member
 
Join Date: Jan 2009
Posts: 21
Downloads: 0
Uploads: 0
Default

I'll keep that in mind LepLep... my problem is that my fpp is on my work puter and can't ask questions till I get to the house. I'll print off the tutorials and take them home to study... Hopefully, this week i will have the fpp at home.

Thanks AllSaints,

That was just what i was looking for. It's all starting to make some sense now... this was my first week and first project with the fpp.

I appreciate all the help!!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:12 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.