You are not logged in.

1

Monday, March 21st 2011, 10:58pm

Different fov for PC and Ipad

Hi Guys,

With the old XML files you could have different FOVs for the PC, Iphone and Ipad. However, now we have one XML for all it doesnt seems you can do this.

Is it possible to set different FOVs within the XML file?

Cheers
Michael

mindlessboss

Professional

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

2

Tuesday, March 22nd 2011, 5:09am

Look here
You can detect device and set FOV as you wish

Hope this help *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

HansNyb

Professional

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

3

Tuesday, March 22nd 2011, 9:12am

The Devices settings work perfect but remember you need the latest beta version.

You can set different settings for almost everything. For example I use 3 different autorotate settings as the speed is very different on iPads, Android and desktops.

Here is one I just changed the initial FOV on. Just opposite views and FOV on Flash and HTML5.
http://www.panoramas.dk/2010/winter-in-denmark.html

The code is simple.
<view devices="flash" hlookat="80" vlookat="-5" fovtype="MFOV" fov="50" maxpixelzoom="1.6" fovmin="60" fovmax="120" />
<view devices="html5" hlookat="-120" vlookat="0" fovtype="MFOV" fov="100" maxpixelzoom="1.6" fovmin="60" fovmax="120" />

You can even check this in Safari by using the Developer menu and User Agent option.

Hans

4

Tuesday, March 22nd 2011, 11:06pm

Great help guys... now I seem to get the message:

INFO: krpano 1.0.8.12 (build 2010-11-24)
INFO: Flashplayer MAC 10,1,102,64 PlugIn
INFO: registered to: Michael Jarrett
WARNING: not local trusted - ExternalInterface disabled!
ERROR: unknown attribute/path - view.devices
ERROR: unknown attribute/path - view.devices

I now this will be down to the latest beta. So how do I make sure Im using this. Is this the KRpano tools from November or newer? I did think I had the latest files. But these error seems to say differently. Do I need the "1.0.8.14 files?

Cheers
Michael

HansNyb

Professional

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message

5

Wednesday, March 23rd 2011, 8:39am

Great help guys... now I seem to get the message:


I now this will be down to the latest beta. So how do I make sure Im using this. Is this the KRpano tools from November or newer? I did think I had the latest files. But these error seems to say differently. Do I need the "1.0.8.14 files?

Cheers
Michael


Yes. Only the 1.0.14 supports devices settings also for events, actions, settings , autorotate etc.

Hans

6

Wednesday, March 23rd 2011, 8:39am

Hi,

you need to use the viewer (the krpano.swf for Flash and the krpanoiphone.js for iPhone/iPad) from 1.0.8.14,
just copy them into the tools folder to use them with the current tools,

best regards,
Klaus

7

Thursday, March 24th 2011, 8:29pm

Hi All,

Great thanks for the help. This is worked a treat. I do love the Ipad VTs!

Cheers
Michael