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.

nelk

Intermediate

  • "nelk" started this thread

Posts: 358

Location: Paris

  • Send private message

1

Sunday, December 4th 2011, 9:32pm

merging to scene

Hi,

I'd like to know how I can merge 2 scenes :

I've one scene in one xml :

Source code

1
2
3
4
5
6
<scene name="pano">

<plugin name="a1" ... />
<plugin name="a2" ... />

</scene>


and another xml with some additionnal parameters

Source code

1
2
3
4
5
6
<scene name="pano">

<plugin name="b1" ... />
<plugin name="b2" ... />

</scene>


I'd like to merge this 2 scene. Is there a way to do this ?

I tried loadpano(xml2.xml,null,MERGE), loadpano(xml2.xml,null,KEEPSCENES ) and loadpano(xml2.xml,null,KEEPSCENES|MERGE ) but it's not working

In other words, I'd like to make a loadinclude="", like if I have an <include url="" /> but dynamically, the path of the include is not known in the xml, it's passed dynamically through js

If you have any clue how to do that ... thanks !
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).