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.

1

Saturday, June 4th 2011, 12:36am

Slow and Jerky Performance on Tablets

Hi Everyone,

Wondering if anyone can test this link on a android tablet - www.eyecandyvi.com/falcon2000/start.html

I've tested it on both mobile android and Galaxy Tab and get the same poor performance. The same link works on the ipad and it is very smooth. To me it is loading the entire desktop tiles and boggs it right down. Any advice?

Robert

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

2

Saturday, June 4th 2011, 7:36am

Hi

Yes I can see what you mean. It does not at all work like mine on my Desire Z which is just 800mHz and still works perfect with for example this one.
http://www.360-foto.dk/vr/churches/

The first church uses 340 tiles and cubefaces from 680 to 3442.
If you load the "MarieMagdalene" from the menu the first one is a 28000x14000 panorama with max 8192 cubefaces and with 512 tiles starting with 512 x512 cubefaces.

Everything works smooth and I can easy zoom in all the way.

Maybe the large tiles you use is the problem. Using 512 with 2 levelsteps is from my experience the ideal.
You also have a lot of tweens on your buttons but as long as you do not use them I can not see that should be a problem.

Actually it feels very sluggy even on my iMac 27". Something is making it work very slow.

Hans

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

3

Saturday, June 4th 2011, 11:29am

Had a look at your xml. You use stillquality="HIGHSHARP"
I would not use that .

BTW I can see you use tablet images. That means that Android will load the them. I assume they are 1024x1024.

That should not be a problem though. Android performs OK with non tiled cubefaces up to around 1280.

Hans

4

Saturday, June 4th 2011, 9:18pm

Hi Hans,

Thanks for checking it. I've removed the highsharp statement. Could you try it again for me please?

I have an iMac 27" 2.8 Intel Core i7 with 8GB of Ram and it runs really smooth so not sure why it is running slowly on yours.

Do you think I have to change something in my config files before I have to run the process?

When I process in PTGui I get 10000x5000 as output so I am assuming it is on the krpano side that the processing has to change. I would have only thought that the output from Krpano was default to load the section marked tablet, for ipad and galaxy tablet type devices, and mobile for iphone, galaxy phone type devices. I thought the first portion of the coding was for desktop only. Here is an example of the output for the first section. Thanks in advance for looking into this.

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!-- first scene/pano-->
	<scene name="pano1" onstart="">

		<view hlookat="-152.06" vlookat="29.77" fovtype="HFOV" fov="116.99" maxpixelzoom="2.0" fovmin="80" fovmax="120" />
	<display details="22" />

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

	<image type="CUBE" multires="true" tilesize="846" progressive="false">
		<level tiledimagewidth="3384" tiledimageheight="3384">
			<left  url="pano1.tiles/l3_l_%0v_%0h.jpg" />
			<front url="pano1.tiles/l3_f_%0v_%0h.jpg" />
			<right url="pano1.tiles/l3_r_%0v_%0h.jpg" />
			<back  url="pano1.tiles/l3_b_%0v_%0h.jpg" />
			<up	url="pano1.tiles/l3_u_%0v_%0h.jpg" />
			<down  url="pano1.tiles/l3_d_%0v_%0h.jpg" />
		</level>
		<level tiledimagewidth="1692" tiledimageheight="1692">
			<left  url="pano1.tiles/l2_l_%0v_%0h.jpg" />
			<front url="pano1.tiles/l2_f_%0v_%0h.jpg" />
			<right url="pano1.tiles/l2_r_%0v_%0h.jpg" />
			<back  url="pano1.tiles/l2_b_%0v_%0h.jpg" />
			<up	url="pano1.tiles/l2_u_%0v_%0h.jpg" />
			<down  url="pano1.tiles/l2_d_%0v_%0h.jpg" />
		</level>
		<level tiledimagewidth="846" tiledimageheight="846">
			<left  url="pano1.tiles/l1_l_%0v_%0h.jpg" />
			<front url="pano1.tiles/l1_f_%0v_%0h.jpg" />
			<right url="pano1.tiles/l1_r_%0v_%0h.jpg" />
			<back  url="pano1.tiles/l1_b_%0v_%0h.jpg" />
			<up	url="pano1.tiles/l1_u_%0v_%0h.jpg" />
			<down  url="pano1.tiles/l1_d_%0v_%0h.jpg" />
		</level>
		<mobile>
			<left  url="pano1.tiles/mobile_l.jpg" />
			<front url="pano1.tiles/mobile_f.jpg" />
			<right url="pano1.tiles/mobile_r.jpg" />
			<back  url="pano1.tiles/mobile_b.jpg" />
			<up	url="pano1.tiles/mobile_u.jpg" />
			<down  url="pano1.tiles/mobile_d.jpg" />
		</mobile>
		<tablet>
			<left  url="pano1.tiles/tablet_l.jpg" />
			<front url="pano1.tiles/tablet_f.jpg" />
			<right url="pano1.tiles/tablet_r.jpg" />
			<back  url="pano1.tiles/tablet_b.jpg" />
			<up	url="pano1.tiles/tablet_u.jpg" />
			<down  url="pano1.tiles/tablet_d.jpg" />
		</tablet>
	</image>		

5

Saturday, June 4th 2011, 9:47pm

Hi,
Wondering if anyone can test this link on a android tablet - www.eyecandyvi.com/falcon2000/start.html

I've tested it on both mobile android and Galaxy Tab and get the same poor performance. The same link works on the ipad and it is very smooth. To me it is loading the entire desktop tiles and boggs it right down. Any advice?
the rendering on this pano is slower because it uses the Fisheye effect,

in your xml files there seems to be no fisheye setting and the fisheye setting is 0.0 by default,
but only with krpano xml version 1.0.8 or higher,

krpano xml version 1.0.7 and below had 0.35 as default setting for fisheye,

and in some of your xml files you had this wrong version number:

Source code

1
<krpano version="1.0.12"
"1.0.12" will be detected as "1.0.1" and this is lower then "1.0.8" and so the fisheye effect will be enabled,

solution:
- either change the version="1.0.12" to "1.0.8" (in all xml files)
- or remove the version="..." completely (also in all xml files)


additionally you could remove that setting in the html file:

Source code

1
viewer.addParam("wmode","opaque");

this makes the flashplayer rendering also slower,

best regards,
Klaus

6

Tuesday, June 7th 2011, 12:58am

Ok, I've made the changes to all the xml files by removing the versions and removed opaque from my html file. Hans, wondering if you could test and give feedback.

Thanks,

Robert

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

7

Tuesday, June 7th 2011, 9:14am

Yes it works fine now but you should ad a fullscreen button.
You have a fixed size and without any fullcreen I get the buttons outside.
You should use 100% width and height.

There is a flash built in fullscreen which appears if you press anywhere in the image but it does not real fullscreen.
You get black sides or in portrait a large black bottom and top because you have the fixed size.

Also getting out of it maybe difficult for people, if you do not know that you need to use the back arrow on your phone.

Hans

HansNyb

Professional

Posts: 936

Location: Denmark

Occupation: Photographer

  • Send private message

8

Tuesday, June 7th 2011, 10:16am

I do not get any response from the 3 buttons at the bottom. Zoom and pan buttons works fine.

Hans

9

Tuesday, June 7th 2011, 2:53pm

Hi Hans, Thanks for the feedback. I will have to invest in a another gadget as it seems the buttons work differently between the desktop and these new tablet/mobile devices.

Robert