Hello every one!
I'm using the tool make tour (multires). From what I could understand about scripting and programming, the generated tour.xml, let's say, calls the skintour.xml file.
So the thing is that I added a button in the skintour.xml file to reset the view like this:
<layer name="skin_btn_rview"
url="icons/resetview.png"
align="center"
x="+122"
y="0"
scale="1"
alpha="0.6"
ondown="skin_buttonglow(get(name));"
onup="skin_buttonglow(null);"
onover=""
onout=""
onclick="lookto(0,0,120); view_normal();"
/>
Now the thing is that this is working like a charm but the problem i'm experiencing is that each scene of my virtual tour could have different vlookat hlookut or fov.
How can I get those value from the tour.xml?
Actually in tour.xml each scene does have something like this:
<view hlookat="-29.315"
vlookat="-5.957"
fovtype="MFOV"
fov="120.000"
maxpixelzoom="2.0"
fovmin="70"
fovmax="140"
limitview="auto"
/>
Any help would be really appreciated.
Best regards
Maxi