Beiträge von booghy08

    Hi,

    The docs explain that some style attributes can be overwritten at the element:
    https://krpano.com/docu/xml/#style

    Code
    <style name="skin_hotspotstyle" url="%FIRSTXML%/assets/skin/arrow1.png" scale="0.6" edge="center" oy="0"
    onloaded="trace(0);"
    onclick="trace(1);" 
    zoom="true"
    onhover=""
    />
    Code
    <hotspot name="spot2" style="skin_hotspotstyle" ath="159.970" atv="15.594" zoom="true" linkedscene="scene_pano9"
    onloaded="trace(2);" onclick="trace(3);" />

    The output will be 0/1.

    Is this the normal behavior?

    Hello,
    i have a big problem with this and i will explain as clear as i can.I have used krpano's day/night for 2 panoramas, a map and a select menu.
    http://360concept.ro/panorame/bug/
    Acces the link above and you will see in front a blue hotspot with the name "Spre intrare", this loads the second panorama. Click it.It takes you to the entrance of the hotel, here we have day/night effect , use the slider to do the effect.Everything works fine this way.
    Now reload the URL and on the right top you see some buttons "Parter" "Restaurant Panoramic" and "Apartament". Click "Parter" and a map will appper , find the hotspot that says "Intrare Hotel" this will load the same second pano. Now if you try the slider day/night will not work.

    code from the hotspot from the map.xml


    Code from the Blue Hotpost "Spre intrare" second_pano.xml

    Code
    <hotspot name="inainte" style="hotspot_forward"
    		scale="0.8"
    		ath="-101"
    		atv="3"
    		onhover="showtext(Spre intrare,text_hover);"
    		onclick="load(2.xml,null,MERGE,ZOOMBLEND(1.5,10));start_day_night(2);"	
    		zorder="2"
    		>	 
    </hotspot>


    i found out that by removing showtext from onhover="showtext(Intrare Hotel,text_hover);" or by changing it to ONOVER everything works *pinch*

    i use an older version of krpano ,the one before 1.0.8.12. i have created an auto tour that works perfectly in the old version, but doesn't do a tween with the new version.
    now let me explain what the code does.it auto starts to rotate 360 degrees by calculating curent view minus 360, then it loads the next pano.if u stop it,it uses onidle event to start again, it recalculates the rest of the 360 rotation and starts again to rotate and loads the next pano.
    the problem is that when you stop it by user intervation it triggers this tween when is starts to rotate again..if(%1 == noload,check_view(right);tween(view.hlookat,get(spiner), 15.0, easeInOutSine,wait);set(var_current_pano,2);wait(2);loadpanos();,that tween doesn't do the count from 1-360, it jumps over it and loads the next pano.

    Hello,
    If u remember the special episode from Top Gear made in Romania, with a Aston Martin DBS Volante, Ferrari California and Lamborghini Gallardo LP 560.
    Well this is the faimous road with twists and turns that they could not pronounce the name, Transfagarasan.
    http://360concept.ro/panorame/sibiu/transfagarasan/1/
    http://360concept.ro/panorame/sibiu/transfagarasan/2/
    http://360concept.ro/panorame/sibiu/transfagarasan/3/

    my solution for the problem. but there is just a small bug that i can't solve. if i stop the pano twice from moving in a short interval, it call twice the delayedcall(2,if(delayedcallkilled == true,loadpanos(noload))); , and i only want to do it once.

    the way the code works:
    spiner= if u have hlookat set at -20 it will spin until -340 or -380 (from left or right);
    check_view= sets the spiner
    init_view = it stores the initial view point , so when u stop the pano it doesnt calculate from the last view point
    var_current_pano= the pano id ;
    noload(from the loadpanos action)= this one i'll let u figure it out :P