Hi,
I've tested an automatic system which build scenes xml files on the fly.
To load them I use loadpano method then I use a loadscene method to target this specific scene.
But with this methodology, I loose transitions between panoramas. With a blackout before next panorama.
This is a sample of my code to change panorama to an other :
Code
<action name="loadMyGeneratedScene">
if (xml.scene != %1,
set(selectedScene, %1);
loadpano(%FIRSTXML%/%1.xml, NULL, MERGE|KEEPVIEW, BLEND(1));
loadscene(%1, NULL, MERGE|KEEPVIEW, BLEND(1));
);
</action>
There is a solution to do this rather than use include of each scenes xml files ?
Thanks, Benjamin