Hi guys, Klaus,
I am working on an app that uses krpano object to show a 2D object. We have made several tests and it all worked fine... until now. Now we have to make a more elaborated example to show it to the client and I got stuck. Here is the description:
The test example was done with 90 images of 1920 x 1080.
The XML is as follows:
<krpano version="1.16">
<include url="skin/objectskin.xml" />
<image type="CYLINDER" hfov="1.00" vfov="0.562500" voffset="0.00" multires="true" tilesize="1920" progressive="true" frames="90" frame="1">
<level tiledimagewidth="1920" tiledimageheight="1080" aspreview="true">
<cylinder url="object.tiles//l1/%v_%h.jpg" />
</level>
</image>
</krpano>
Display More
The example works excellent.
Now for the client we went for the same but increased the image count to 151:
<krpano version="1.16">
<include url="skin/objectskin.xml" />
<image type="CYLINDER" hfov="1.00" vfov="0.562500" voffset="0.00" multires="true" tilesize="1920" progressive="true" frames="151" frame="1">
<level tiledimagewidth="1920" tiledimageheight="1080" aspreview="true">
<cylinder url="object.tiles/%00f/l1/%v_%h.jpg" />
</level>
</image>
</krpano>
Display More
The problem is that the client example never and I mean NEVER loads all the images without interaction. The CPU usage is really high all this time. I open the app, the CPU usage shoots to 200%. 15 minutes later it is still 200%. I know the images are not loaded because if I spin the object around, a few images still "flash" black. After I make a full spin, the CPU usage falls to normal, so I assume this has something to do with loading and for some reason it is not loading all the images. Also, events.onloadcomplete is not fired. Is there any explanation to this? What am I missing?
EDIT: Note that the first xml is missing the '% 0 f' string, the forum cuts it out.
EDIT2: 143 images work. 144 do not. ??? At least in my case on this machine.