PDA

View Full Version : Auto rotate, navigation and home set point


derek
08-05-2008, 05:58 PM
I have been shooting for the X Games 14 and we will be posting the VR's with Flashpanorama. I have 3 problems that I cant figure out.

1.) Cannot get autorotate to work properly. I have pasted my code below and cannot figure out why I cant get it to work. Please let me know what I am doing wrong.

<autorotator>
speed = .5
interval = 30
pause = 0
quality = low
</autorotator>

2.) I used your navigation sample but the buttons are too large. I have shrunk down the PNG files put now there is a big gap between buttons. How do I adjust the distance between buttons in order to take up less room? What code will I need to minipulate?

3) How do I set home position for when the VR opens? I need to set it at -90 degrees but cannot figure out what file I am supposed to manipulate. Can you point me in the right direction? I have read threw the tutorial and it doest make since.

siesfor
08-05-2008, 08:32 PM
there's nothing wrong with your autorotator code, but without seeing the complete xml it's hard to give ya a solid answer...

so for number one there are several possibilities.

do you have the plugin loaded as a layer? if so, is the capitalization (or in this case, non-capitalization) all the same? is the <autorotator> code located outside of the <parameters> section? is the file path to the autorotator plugin correct?

you said you were using the navigation sample, which disables autorotator onStart until you click on the rotator icon that activates it, does that not turn it on?

for your second question, you said you shrunk the png files, do you mean the actual files themselves, or did you use the <spot> "scale" parameter to adjust their size? to change their placement you would use the staticX/Y parameters. Best way to figure out what you want is to use the editor plugin to select the spot you want to manipulate from the pulldown menu and then when you've moved it to where you want, just copy the code from there. you can find the info on <spot> parameters in the hotspot tutorial under "Spot object parameters".

for the third question, that would be the "panhome" parameter found under the "Using parameters" tutorial. there are several ways to set the panhome parameter, either in a loadpano or onLoad command, or in an xml file.

to really understand FPP, you need to read over each tutorial once, but thoroughly read over the "Using parameters" tutorial and the "Hotspots plugin" tutorial at least 3 or 4 times to really grasp what all is in them. even then, not everything will be covered, but alot of what wasn't in them, you can usually find in the forum archives.

X-games panos sound pretty cool, definitely let us know when you get 'em up and running.

izoneguy
08-05-2008, 11:45 PM
Look at this:

http://www.izonemedia.net/fudd_pano/fudd.html

Grab the xml here.

http://www.izonemedia.net/fudd_pano/fudd.xml

look at using smartscale.swf for the button issue.

izoneguy
08-06-2008, 03:40 PM
X games - you should try something like this:

http://www.izonemedia.net/pano/scoot.php