You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

jrhowell

Beginner

  • "jrhowell" started this thread

Posts: 19

Location: Moline, IL USA

Occupation: Photographer

  • Send private message

1

Monday, December 13th 2010, 3:27am

XML limitview different for iPad / iPhone?

I just acquired the iPad/iPhone viewer license and created my first Pano to display there. I'm have a little issue with the limitview command in the .xml.

I use limitview to keep the user from panning into the nadir holes that I didn't fill in ... both on top and bottom. I use the following attributes:
<view limitview="range" hlookat="0" vlookat="0" vlookatmin="-75" vlookatmax="45" maxpixelzoom="1.0" />

This works great in the flash version, but for some reason you can't pan up or down at all on the iPad or iPhone.

Since I'm using angles (-75 to +45), I didn't think this would be related.

Am I missing something?

BTW - You can see this at:

www.HowellPhotographicArts.com/Howell_Ph…chPanorama.html

Thank.

JR

2

Monday, December 13th 2010, 3:45am

Try using


fovtype="MFOV"

in the view tags. I believe Klaus stated that the iphone viewer used that and if you match that view in your desktop panos, I would assume it work as you wish. Otherwise, can you show the xml for your project so we have something to go on.


Jarred

jrhowell

Beginner

  • "jrhowell" started this thread

Posts: 19

Location: Moline, IL USA

Occupation: Photographer

  • Send private message

3

Monday, December 13th 2010, 4:43am

XML limitview different for iPad / iPhone?

fovtype="MFOV"


I tried adding that in to my view statement, but it didn't seem to have any effect.

Here's my complete xml ... Thanks for any help.

JR


<krpano version="1.0.8">

<include url="skin/defaultskin.xml" />

<view fovtype="MFOV" limitview="range" hlookat="0" vlookat="0" vlookatmin="-75" vlookatmax="45" maxpixelzoom="1.0" />
<display details="22" />

<preview url="ChurchPanorama.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="784" progressive="false">
<level tiledimagewidth="16844" tiledimageheight="16844">
<left url="ChurchPanorama.tiles/l5_l_%0v_%0h.jpg" />
<front url="ChurchPanorama.tiles/l5_f_%0v_%0h.jpg" />
<right url="ChurchPanorama.tiles/l5_r_%0v_%0h.jpg" />
<back url="ChurchPanorama.tiles/l5_b_%0v_%0h.jpg" />
<up url="ChurchPanorama.tiles/l5_u_%0v_%0h.jpg" />
<down url="ChurchPanorama.tiles/l5_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="8422" tiledimageheight="8422">
<left url="ChurchPanorama.tiles/l4_l_%0v_%0h.jpg" />
<front url="ChurchPanorama.tiles/l4_f_%0v_%0h.jpg" />
<right url="ChurchPanorama.tiles/l4_r_%0v_%0h.jpg" />
<back url="ChurchPanorama.tiles/l4_b_%0v_%0h.jpg" />
<up url="ChurchPanorama.tiles/l4_u_%0v_%0h.jpg" />
<down url="ChurchPanorama.tiles/l4_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="4211" tiledimageheight="4211">
<left url="ChurchPanorama.tiles/l3_l_%0v_%0h.jpg" />
<front url="ChurchPanorama.tiles/l3_f_%0v_%0h.jpg" />
<right url="ChurchPanorama.tiles/l3_r_%0v_%0h.jpg" />
<back url="ChurchPanorama.tiles/l3_b_%0v_%0h.jpg" />
<up url="ChurchPanorama.tiles/l3_u_%0v_%0h.jpg" />
<down url="ChurchPanorama.tiles/l3_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="2106" tiledimageheight="2106">
<left url="ChurchPanorama.tiles/l2_l_%0v_%0h.jpg" />
<front url="ChurchPanorama.tiles/l2_f_%0v_%0h.jpg" />
<right url="ChurchPanorama.tiles/l2_r_%0v_%0h.jpg" />
<back url="ChurchPanorama.tiles/l2_b_%0v_%0h.jpg" />
<up url="ChurchPanorama.tiles/l2_u_%0v_%0h.jpg" />
<down url="ChurchPanorama.tiles/l2_d_%0v_%0h.jpg" />
</level>
<level tiledimagewidth="1053" tiledimageheight="1053">
<left url="ChurchPanorama.tiles/l1_l_%0v_%0h.jpg" />
<front url="ChurchPanorama.tiles/l1_f_%0v_%0h.jpg" />
<right url="ChurchPanorama.tiles/l1_r_%0v_%0h.jpg" />
<back url="ChurchPanorama.tiles/l1_b_%0v_%0h.jpg" />
<up url="ChurchPanorama.tiles/l1_u_%0v_%0h.jpg" />
<down url="ChurchPanorama.tiles/l1_d_%0v_%0h.jpg" />
</level>
<mobile>
<left url="ChurchPanorama.tiles/mobile_l.jpg" />
<front url="ChurchPanorama.tiles/mobile_f.jpg" />
<right url="ChurchPanorama.tiles/mobile_r.jpg" />
<back url="ChurchPanorama.tiles/mobile_b.jpg" />
<up url="ChurchPanorama.tiles/mobile_u.jpg" />
<down url="ChurchPanorama.tiles/mobile_d.jpg" />
</mobile>
<tablet>
<left url="ChurchPanorama.tiles/tablet_l.jpg" />
<front url="ChurchPanorama.tiles/tablet_f.jpg" />
<right url="ChurchPanorama.tiles/tablet_r.jpg" />
<back url="ChurchPanorama.tiles/tablet_b.jpg" />
<up url="ChurchPanorama.tiles/tablet_u.jpg" />
<down url="ChurchPanorama.tiles/tablet_d.jpg" />
</tablet>
</image>

</krpano>

4

Monday, December 13th 2010, 12:15pm

Hi,

it was a bug but I have fixed it now,
I will release soon a package with fixed files here - http://krpano.com/download/beta/

best regards,
Klaus

jrhowell

Beginner

  • "jrhowell" started this thread

Posts: 19

Location: Moline, IL USA

Occupation: Photographer

  • Send private message

5

Monday, December 13th 2010, 12:29pm

XML limitview different for iPad / iPhone?

it was a bug but I have fixed it now,
I will release soon a package with fixed files here - http://krpano.com/download/beta/


Wonderful! Thanks Klaus.

Will this result in an updated .swf or .js file? Or, will it result in changes to the tiles?

I sure appreciate the assistance.

JR

6

Monday, December 13th 2010, 12:36pm

Hi,
Will this result in an updated .swf or .js file? Or, will it result in changes to the tiles?
just the .js must be updated,

best regards,
Klaus

jrhowell

Beginner

  • "jrhowell" started this thread

Posts: 19

Location: Moline, IL USA

Occupation: Photographer

  • Send private message

7

Sunday, January 2nd 2011, 1:33am


it was a bug but I have fixed it now,
I will release soon a package with fixed files here - http://krpano.com/download/beta/


Alas ... I've been looking for an update, but haven't seen one show up yet.

Any forecast of when there'll be a fix available?

Or ... Am I looking in the right place. The version out there is still 1.0.14 from 12/8.

Not a huge deal for me, just want to set my expectations accordingly,

Thanks

JR

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

8

Sunday, January 2nd 2011, 6:34pm


it was a bug but I have fixed it now,
I will release soon a package with fixed files here - http://krpano.com/download/beta/


Alas ... I've been looking for an update, but haven't seen one show up yet.

Any forecast of when there'll be a fix available?

Or ... Am I looking in the right place. The version out there is still 1.0.14 from 12/8.

Not a huge deal for me, just want to set my expectations accordingly,

Thanks

JR


Yes please Klaus.
'
I just updated my Royal Birthday pano which needs it to work okay.
http://www.panoramas.dk/2010/queen-margrethe-birthday.html

Acually it looks like there is a limit vertically but it does not work correct.
Maybe it has to do with the fovmax
<view limitview="range" vlookatmin="-66" vlookatmax="46" hlookatmax="95" hlookatmin="-95" hlookat="0" vlookat="0" fovtype="MFOV" fov="110" maxpixelzoom="1.2" fovmin="40" fovmax="150" />

Hans

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

9

Monday, January 3rd 2011, 11:57am

I tried another one which really needs the limits.
http://www.panoramas.dk/fullscreen2/full22.html

Everest is the most viewed pano at panoramas.dk and probably one of the most viewed panoramas in the world.
30% of my iphone/iPad viewers arrives on it.
So I need the limits as it is only 44 degrees FOV.

With the limits correct for flash it gets zoomed in to 3-4 times the resolution on the iPad. I have managed to get it temporary working by adding ann if html5 action at start .
It looks like the limits on HTML 5 changes depending on proportions.

If you turn the iPad to vertical you get a much larger vertical view which includes the black areas.

Hans

10

Monday, January 3rd 2011, 11:57am

Hi,

sorry, the finishing of the 1.0.8.14 version took longer than expected,
but I have now uploaded the bugfixed files here:
http://krpano.com/download/beta/#2011-01-03

best regards,
Klaus

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

11

Monday, January 3rd 2011, 12:44pm

Sorry but I get Lisence errors on this.

I generate a testpano with the new files.
It works ok.

I copy the .js file from it and the new krpano.swf to the pano i want to update and rename the files.

Pano now works correct with limits but I get a Demo watermark on it in Flash.

Hans

12

Monday, January 3rd 2011, 1:20pm

Hi,

how have you used the new files?
copied into the tools folder and used a MAKE PANO/VTOUR droplet to build new swf/js files?
or just copied and renamed? in this case you need an renamed external license file of course,

just as note - the final 1.0.8.14 version will include an update GUI tool for easy viewer file updating,

best regards,
Klaus

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

13

Monday, January 3rd 2011, 1:33pm

I got it working after changing some errors in the config file.
But as far as I can see those errors are from the default config.

I have to make some more tests to see this with a new download of the tools.

Hasns

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

14

Monday, January 3rd 2011, 2:09pm

I done some test but I can not generate the license error I got in my first test.

But there is as a fact some contradicting options in the default kmakemultires.config

This does not match.

# embedlicenses (new)
# - builds a new .swf file and embeds the krpano.license
# - builds a new .js file and embeds the krpano.license.js (if available and when copyiphonejs=true)
# - when set to true, then
#
embedlicenses=true

# renamedswf
# - copy and rename the krpano.swf to the same name as the xml file
# - this allowes starting the viewer by just clicking the swf file
# (with an installed standalone flashplayer)
# - copyswf must be also set to true
#
renamedswf=false

# renamedlicense
# - rename also the license file
# - copylicense and renamedswf must be also set to true
#
renamedlicense=true

Even if the renamedswf is set to false it does do it and everything works correct.

Hans

15

Monday, January 3rd 2011, 8:20pm

Hi,

the new option "embedlicenses" has more priority than the "renamed" settings,
when it was set the new swf/js generation is used and there the files were always 'renamed',
but technically it is not a renaming like when the option is disabled - new files with embedded
license were generated instead simply copied and renamed when disabled,

best regards,
Klaus

jrhowell

Beginner

  • "jrhowell" started this thread

Posts: 19

Location: Moline, IL USA

Occupation: Photographer

  • Send private message

16

Tuesday, January 4th 2011, 2:10am

sorry, the finishing of the 1.0.8.14 version took longer than expected,
but I have now uploaded the bugfixed files here:
http://krpano.com/download/beta/#2011-01-03


Worked Perfect! Thanks Klaus.

17

Thursday, March 24th 2011, 12:18pm

Hi,

I have the same problem with the limitview on iphone... I have generated a Vtour with the new beta release (1.0.8.14), it works great with flash version, but not with iphone, the panorama is not blocked horizontaly.
This my line code :

<view hlookat="0" vlookat="0" fovtype="MFOV" fov="110" maxpixelzoom="2.0" limitview="range" fovmax="130" vlookatmin="-90" vlookatmax="90" hlookatmin="-105" hlookatmax="220" />

Best Regards.
Gaétan

18

Thursday, June 16th 2011, 9:24am

Hello Klaus,
I have the same problem as the guy above (quoted below). I am using the latest 1.0.8.14 KRtools. The flash version honors both the vlookat and the hlookat parameters. However, the HTML 5 IPAD compatible version fails to honor the hlookat parameters. In my partial pano's xml file, which is excerpted below, I would like the HTML5 version to limit the horizontal field of view to between -170 and +170 degrees:
<view hlookat="0" vlookat="0" maxpixelzoom="1.0" limitview="range" vlookatmin="-43.884" vlookatmax="43.884" hlookatmin="-170" hlookatmax="170"/>

How might I accomplish this? Your help in this matter is greatly appreciated.

Hi,

I have the same problem with the limitview on iphone... I have generated a Vtour with the new beta release (1.0.8.14), it works great with flash version, but not with iphone, the panorama is not blocked horizontaly.
This my line code :

<view hlookat="0" vlookat="0" fovtype="MFOV" fov="110" maxpixelzoom="2.0" limitview="range" fovmax="130" vlookatmin="-90" vlookatmax="90" hlookatmin="-105" hlookatmax="220" />

Best Regards.
Gaétan

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

19

Thursday, June 16th 2011, 9:30am

The horizontal limit does not work on iPad.

There is a workaround that works. See this thread.
http://www.krpano.com/forum/wbb/index.ph…D=5176&pageNo=2

Hans

20

Thursday, June 16th 2011, 9:40am

Wow. Thank you HansNyb! That was fast! I will take a look at your link and hopefully I will understand what is said in that thread.