You are not logged in.

Dear visitor, welcome to 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.


Wednesday, June 3rd 2009, 1:41pm

Add buttons on flat panorama ?

Hi all,

sorry if my question seems stupid but I'm a newbe here.
So I'm looking for a way to add buttons on the viewer.

I've created a high res. flat mosaic panorama with "Make multires flat pano.bat" from the 1.0.8b7 tools and I don't know how to modify the XML generated file to add buttons.
Any help would be very appreciated. Thanks.

Here's my XML file :


<krpano version="1.0.8">
<!-- kmakemultires flat.xml template -->

<view hlookat="0" vlookat="0" fov="90" maxpixelzoom="1.2" />

<preview type="CYLINDER" url="pano30.tiles/preview.jpg" />

<image type="CYLINDER" hfov="1.00" multires="true" tilesize="529">
<level tiledimagewidth="13226" tiledimageheight="3000">
<cylinder url="pano30.tiles/l3_%0v_%0h.jpg" />
<level tiledimagewidth="6613" tiledimageheight="1500">
<cylinder url="pano30.tiles/l2_%0v_%0h.jpg" />
<level tiledimagewidth="3307" tiledimageheight="750">
<cylinder url="pano30.tiles/l1_%0v_%0h.jpg" />





Wednesday, June 3rd 2009, 6:23pm

Krpano does have a learning curve but as you deal with the program it gets easier each time. In the download of beta 1.0.8b7, there is an examples folder. In this folder is a section for buttons. It includes all of the code that must be put in an xml. Also, there is a wonderful plugin called camera controls that can be added if you want it.

After you get the basics of learning how to implement plugins, you can start tweaking them until you make them your own, changing a few settings at a time until you feel confident enough to create your own. I am still in the tweaking process, but getting better everyday. Also, if you read through this forum, many helpful ideas have been shared here.



Thursday, June 4th 2009, 9:21am

Thank you Jarredja. I spent 2 days reading the site and forum and was a bit confuse.

I've tried the Cameracontrols plugin but unfortunately the zoom control doesn't work, only the arrays work. Hmmm, I wonder if it's not a problem with flat panorama...
But I've made it with the classical buttons from 360° pano, and it works !
So now I can say that I've made a big step ahead since my yesterday's post !!!




Thursday, June 4th 2009, 9:35am

I tried the camera plugin on my flat pano and the zoom does not work for me either. It works great with a spherical pano.



Thursday, June 4th 2009, 3:19pm

Ok, everything works great local and now I'm testing it online and I came across something weird.
I uploaded each needed folders and files of a small panorama on 2 different servers and it works only here :

On the other server look what happens :

Panorama never loads and I've got this text coming out :


INFO: krpano 1.0.8 beta 7 (build 2009-04-08)
INFO: Flashplayer WIN 10,0,12,36 PlugIn
ERROR: download of "valence76.tiles/preview.jpg" failed
ERROR: decoding of "valence76.tiles/l1_01_01.jpg" failed
ERROR: decoding of "valence76.tiles/l1_01_02.jpg" failed
ERROR: decoding of "valence76.tiles/l1_01_03.jpg" failed
ERROR: decoding of "valence76.tiles/l1_01_04.jpg" failed
ERROR: decoding of "valence76.tiles/l1_01_05.jpg" failed
ERROR: decoding of "valence76.tiles/l1_02_01.jpg" failed
ERROR: decoding of "valence76.tiles/l1_02_03.jpg" failed
ERROR: decoding of "valence76.tiles/l1_02_04.jpg" failed
ERROR: decoding of "valence76.tiles/l1_02_02.jpg" failed


What do you think ?
Strange isn't it ?




Thursday, June 4th 2009, 3:51pm

The preview picture is not downloading. Maybe that picture did not get uploaded correctly. The program puts the real tiles over the preview. Maybe that is what is causing the decoding problem.


On my test page, my picture still loads without the preview. Sorry, no help.


This post has been edited 2 times, last edit by "Jarredja" (Jun 4th 2009, 4:13pm)


Thursday, June 4th 2009, 4:22pm

Thanks for testing.
I upload preview.jpg again and again but still doesn't work.
I browsed into the forum (not all yet) and didn't find any topic about it
Maybe I should open a new topic ?


Similar threads