Hello,
I´m thinking about creating a big virtual tour with about 100 Panos. The main point is how to handle global things like hotspot, <image>-parameters and so on. Because if I want to change something in the structure I don´t want to change it in every scene.
I thought about making global-actions for things like adding hotspots:
|
Quellcode
|
1
|
addhotspot(hs1,style1,25.0,-100.0,scene-bathroom);
|
But what´s for example with the <image>-node.
Some years ago it was like:
|
Quellcode
|
1
2
3
4
5
6
|
<image>
<left/>
<front/>
<right/>
...
</image>
|
nowadays the shorter way is:
|
Quellcode
|
1
2
3
4
|
<image>
<cube>
<mobile/>
</image/>
|
So what if I want to change those things in all the scenes. Can I also set these parameters with an action or better use PHP to create xml-files dynamically?
Best regards,
Marc