Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

jrhowell

Anfänger

  • »jrhowell« ist der Autor dieses Themas

Beiträge: 19

Wohnort: Moline, IL USA

Beruf: Photographer

  • Nachricht senden

1

Montag, 13. Dezember 2010, 03:27

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

Montag, 13. Dezember 2010, 03:45

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

Anfänger

  • »jrhowell« ist der Autor dieses Themas

Beiträge: 19

Wohnort: Moline, IL USA

Beruf: Photographer

  • Nachricht senden

3

Montag, 13. Dezember 2010, 04:43

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

Montag, 13. Dezember 2010, 12:15

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

Anfänger

  • »jrhowell« ist der Autor dieses Themas

Beiträge: 19

Wohnort: Moline, IL USA

Beruf: Photographer

  • Nachricht senden

5

Montag, 13. Dezember 2010, 12:29

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

Montag, 13. Dezember 2010, 12:36

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

Anfänger

  • »jrhowell« ist der Autor dieses Themas

Beiträge: 19

Wohnort: Moline, IL USA

Beruf: Photographer

  • Nachricht senden

7

Sonntag, 2. Januar 2011, 01:33


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

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

8

Sonntag, 2. Januar 2011, 18:34


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

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

9

Montag, 3. Januar 2011, 11:57

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

Montag, 3. Januar 2011, 11:57

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

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

11

Montag, 3. Januar 2011, 12:44

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

Montag, 3. Januar 2011, 13:20

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

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

13

Montag, 3. Januar 2011, 13:33

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

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

14

Montag, 3. Januar 2011, 14:09

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

Montag, 3. Januar 2011, 20:20

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

Anfänger

  • »jrhowell« ist der Autor dieses Themas

Beiträge: 19

Wohnort: Moline, IL USA

Beruf: Photographer

  • Nachricht senden

16

Dienstag, 4. Januar 2011, 02:10

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

Donnerstag, 24. März 2011, 12:18

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

Donnerstag, 16. Juni 2011, 09:24

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

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

19

Donnerstag, 16. Juni 2011, 09:30

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

Donnerstag, 16. Juni 2011, 09:40

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.