Hi, i have a vtour of a golf course, and i want that when i change the scene, the view go out and up in the current pano, and enter in the new from top, like a ball that lands..
How i can do?
Thanks.
Hi, i have a vtour of a golf course, and i want that when i change the scene, the view go out and up in the current pano, and enter in the new from top, like a ball that lands..
How i can do?
Thanks.
Any idea?
Just some lookat and lookto actions will do the job.
Tuur
hi, thanks,can you give to me some example of code?
How i can do?
What code i have to use?
Ok, thanks, but how i can associate it to my hotspot button?
I need a script for this:
1) place a hotspot on my scene
2) add the code lookat/to in my hotspot button
3) add a code to the new scene for landing
How i can do?
Thanks.
Hi,
e.g.
<scene name="scene1" ...>
...
<hotspot name="spot1"
url="hotspotimage.png"
ath="45"
atv="30"
onclick="lookto(45,30,40,smooth(100,50,200)); loadscene(scene2, null, MERGE, BLEND(1)); lookat(45,90,45); wait(BLEND); lookto(0,0,120,smooth(50,100,200));"
/>
</scene>
Alles anzeigen
or to make it better read-able, put the calls into a separate <action> and call that:
<scene name="scene1" ...>
...
<hotspot name="spot1"
url="hotspotimage.png"
ath="45"
atv="30"
onclick="scene1_spot1_click()"
/>
<action name="scene1_spot1_click">
lookto(45,30,40,smooth(100,50,200));
loadscene(scene2, null, MERGE, BLEND(1));
lookat(45,90,45);
wait(BLEND);
lookto(0,0,120,smooth(50,100,200));
</action>
</scene>
Alles anzeigen
Best regards,
Klaus
Thanks, now how i can identify the exact coordinate for lookto and lookat?
I have a great difficulty to identify the coordinates of the starting point and the end point
Thanks.
Hi, here the panorama, http://www.johnnypixel.it/TEST/vtparabolic/ but i have now some question:
1) how i can show the title of the scene linked, with mouse over hotspot?
2) when i click the arrow (hotspot) it not disappear like the standard hospot, how i can do that?
3) when I click my hotspot, the view part and moves regularly, but in the end makes a rotation to the point chosen, instead the standard hotspot, make the rotation wile it moves, how can I do?
The hotspot test in the golf example is the first on the left of browser.Thanks.
Hi,
1) how i can show the title of the scene linked, with mouse over hotspot?
Use the 1.16.3 version and look there in the tour.xml for the 'tooltips_hotspots' skin setting.
2) when i click the arrow (hotspot) it not disappear like the standard hospot, how i can do that?
Do you mean that the 'skin_hotspotstyle' hotspot has set zoom=false and your one zoom=true and different scale?
Look in the vtourskin.xml for the 'skin_hotspotstyle' <style>.
3) when I click my hotspot, the view part and moves regularly, but in the end makes a rotation to the point chosen, instead the standard hotspot, make the rotation wile it moves, how can I do?
Your destination fov (=10) is lower than the current fovmin/maxpixelzoom setting, and this leads to this kind of movement - the viewer still tries zooming-in but is limited by that settings.
Best regards,
Klaus
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!