You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#26 2011-12-23 20:11:25

klausesser
Member
From: Düsseldorf, Germany
Registered: 2006-05-22
Posts: 6600
Website

Re: Automaticly to next panorama

Destiny wrote:

The opportunity to edit the xml code is the true power of ptp....

Yes - i edit my xml cod all the time to get the a pano resp. a tour do whet i want. But it´s rather finetuning and didn´t ry that kind of auto-tour besides of which Arturo coded for me.
Clients  very rarely ask for that. But it might hapen. We had the Ellerschloss-autotour run on an exibition for event-locations . . . and it was highly praised: nobody else had such
a  nice thing . . . winkcool

Preferably it should run on iDevices too.

best, Klaus


If you want something you´ve never had,
then you´ve got to do something you´ve never done.

Offline

 

#27 2011-12-24 00:09:48

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2417
Website

Re: Automaticly to next panorama

I do  not have an iPad... its on the "List"... oh hum.. to be rich.... ;(

.... but I am sure it will work on iDevices since its just an extension of the xml... the html certainly will...

This 'Auto run' feature is not for everyone true.. but in the right settings.. Real Estate windows, Exhibitions, Trade Shows etc.. Perfect!

Destiny...


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

#28 2012-01-12 20:44:53

pu2wxp
Member
From: Campos do Jordao - Brasil
Registered: 2009-05-03
Posts: 159
Website

Re: Automaticly to next panorama

kevshu wrote:

I'm using the following for this tour:  http://exposedbykevin.com/index.php/360 … -home.html
In the Main xml file at the top.

Code:

<krpano version="1.0.8.14" logkey="false" onstart="bombtimer(0)">
    <action name="mainloadpano">
        closepanoobjects();
        closeglobalobjects();
        ifnot(stopSequence === undefined,interruptAnimation(););
        loadpano(%1,NULL,NULL,BLEND(1));
    </action>
    <events onmousedown=" set(bt,0); "/>
    <events onkeydown=" set(bt,0); "/>
    <action name="bombtimer">
       set(bt,%1);
       add(bt,1);
       delayedcall(1, bombtimer(get(bt)));
       if(bt == 60, set(bt,0); nextscene();, );
    </action>
    <action name="nextscene">
       set(bt,0);
       loadpano(get(nextpano),NULL,NULL,BLEND(1));
    </action>

In the individual pano xml files I added the set(nextpano,xml file name) line to the onxmlcompleteaction, and manually enter the next pano name. 

Code:

    
<action name="onxmlcompleteaction">
        set(nextpano,vrt_obdh1.xml);
        firstloadcompleteaction();
</action>

There's probably a better way to use a list/array of variables in the main xml and just move through the list.

If you want to use the lookat commands, you need them in the index0+.xml files and leave the index.xml untouched.  I found the lookat commands a pain, so I use a timer and auto rotation. 
I hope that helps.

Really nice,

Well done, thank you!


Luciano Correa
Vista Panoramica
Campos do Jordao SP Brasil

Offline

 

#29 2012-01-13 12:46:01

HansKeesom
Member
Registered: 2010-07-19
Posts: 1540
Website

Re: Automaticly to next panorama

I have an iPad so if anyone of you wants me to test anything, bring it on :-)


Regards,  Hans Keesom
I stitch and render for other photographers see http://tinyurl.com/brxvlhg for details

Offline

 

#30 2012-01-13 18:38:00

pu2wxp
Member
From: Campos do Jordao - Brasil
Registered: 2009-05-03
Posts: 159
Website

Re: Automaticly to next panorama

A Little trouble...

My main XML has in the first line this code:

<krpano version="1.0.8.14" logkey="false" onstart="startaction">

When the "startaction" is about the Thumbnail Stack.

So i have to change your Code for auto change panos to this first line:

Code:

<krpano version="1.0.8.14" logkey="false" onstart="startaction() ; bombtimer(0)">
    <action name="startaction">
        set(laststackthumbindex, get(stackthumb.count));
        dec(laststackthumbindex);
        buildstackthumbs(0, laststackthumbindex);
    </action>
    <action name="mainloadpano">
        closepanoobjects();
        ifnot(stopSequence === undefined,interruptAnimation(););
        loadpano(%1,NULL,NULL,BLEND(1));
    </action>
    <events onmousedown=" set(bt,0); "/>
        <events onkeydown=" set(bt,0); "/>
        <action name="bombtimer">
           set(bt,%1);
           add(bt,1);
           delayedcall(1, bombtimer(get(bt)));
           if(bt == 60, set(bt,0); nextscene();, );
        </action>
        <action name="nextscene">
           set(bt,0);
           loadpano(get(nextpano),NULL,NULL,BLEND(1));
        </action>

If not, the Thumbnails stop to working.

Best,


Luciano Correa
Vista Panoramica
Campos do Jordao SP Brasil

Offline

 

#31 2012-01-29 05:11:07

Didi
Member
Registered: 2011-10-15
Posts: 30

Re: Automaticly to next panorama

`` 20 euro is nothing if it so versatile.``

+ 1  smile

Offline

 

#32 2012-04-23 22:16:40

Ramón
New member
Registered: 2012-01-12
Posts: 6

Re: Automaticly to next panorama

Autotour works, but not working radar map. Anyone know where the error
thanks.

Ramon Jimenez
bancoimagenes360

Offline

 

#33 2012-04-23 23:07:41

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9818
Website

Re: Automaticly to next panorama

Ramón wrote:

Autotour works, but not working radar map. Anyone know where the error
thanks.

Ramon Jimenez
bancoimagenes360

Which version of Panotour/Panotour pro are you using and with which operating system?


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#34 2012-04-24 09:48:09

Ramón
New member
Registered: 2012-01-12
Posts: 6

Re: Automaticly to next panorama

I'm using version V1.8.0 64 bits, Mac OS X 10.6.4

thanks
Ramón Jiménez
bancoimagenes360

Last edited by Ramón (2012-04-24 10:12:07)

Offline

 

#35 2012-05-03 10:39:58

shane999
Member
From: Sri Lanka
Registered: 2011-08-19
Posts: 28
Website

Re: Automaticly to next panorama

Thanks kevshu for this code. It works like a charm.

kevshu wrote:

I'm using the following for this tour:  http://exposedbykevin.com/index.php/360 … -home.html
In the Main xml file at the top.

Code:

<krpano version="1.0.8.14" logkey="false" onstart="bombtimer(0)">
    <action name="mainloadpano">
        closepanoobjects();
        closeglobalobjects();
        ifnot(stopSequence === undefined,interruptAnimation(););
        loadpano(%1,NULL,NULL,BLEND(1));
    </action>
    <events onmousedown=" set(bt,0); "/>
    <events onkeydown=" set(bt,0); "/>
    <action name="bombtimer">
       set(bt,%1);
       add(bt,1);
       delayedcall(1, bombtimer(get(bt)));
       if(bt == 60, set(bt,0); nextscene();, );
    </action>
    <action name="nextscene">
       set(bt,0);
       loadpano(get(nextpano),NULL,NULL,BLEND(1));
    </action>

In the individual pano xml files I added the set(nextpano,xml file name) line to the onxmlcompleteaction, and manually enter the next pano name. 

Code:

    
<action name="onxmlcompleteaction">
        set(nextpano,vrt_obdh1.xml);
        firstloadcompleteaction();
</action>

There's probably a better way to use a list/array of variables in the main xml and just move through the list.

If you want to use the lookat commands, you need them in the index0+.xml files and leave the index.xml untouched.  I found the lookat commands a pain, so I use a timer and auto rotation. 
I hope that helps.


---------->>>>>>>>>><<<<<<<<<<----------


Canon 5D Mark II  -  Canon 50D - Canon 8-15mm  -  Canon 10-22mm

Offline

 

#36 2012-05-03 20:56:27

Ramón
New member
Registered: 2012-01-12
Posts: 6

Re: Automaticly to next panorama

Thanks for your help
Ramon Jimenez

http://bancoimagenes360.com/

Offline

 

#37 2012-05-13 10:49:03

rahimhamada
Member
Registered: 2012-01-11
Posts: 37

Re: Automaticly to next panorama

hi guys !! i did add
the

Code:

<krpano version="1.0.8.14" logkey="false" onstart="bombtimer(0)">
    <action name="mainloadpano">
        closepanoobjects();
        closeglobalobjects();
        ifnot(stopSequence === undefined,interruptAnimation()wink;
        loadpano(%1,NULL,NULL,BLEND(1));
    </action>
    <events onmousedown=" set(bt,0); "/>
    <events onkeydown=" set(bt,0); "/>
    <action name="bombtimer">
       set(bt,%1);
       add(bt,1);
       delayedcall(1, bombtimer(get(bt)));
       if(bt == 60, set(bt,0); nextscene();, );
    </action>
    <action name="nextscene">
       set(bt,0);
       loadpano(get(nextpano),NULL,NULL,BLEND(1));
    </action>


<action name="onxmlcompleteaction">
        set(nextpano,yourfilename.xml);
        firstloadcompleteaction();
</action>

but i seems to have lost the iPad/iphone usability and the radar on the map stopped showing .... any ideas ????

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson