Slowing rotation and tweening

  • Hello

    http://john-law.net/projects/al-andalus/charlesV/

    I’ve managed to get this pano of a palace in Granada to tween from one view to another - many thanks Klaus!
    But how do I slow down both the tweening and the rotation? This brutally contrasting building was built next to the elegant Nazrid Palaces (panos to follow) and took from 1527 - 1957 to complete! Now they were REALLY slow…

    here is the borrowed code with my ‘slowing’ attempts:

    <view stereographic="true"
    fisheye="1.0"
    fov="105"
    fovtype="VFOV"
    fovmax="150"
    hlookat="-60"
    vlookat="77"
    />
    <events onloadcomplete="delayedcall(2.0, normalview());"
    />

    <action name="normalview">
    tween(view.hlookat, -40, 2.5, easeInOutQuad);
    wait(1);
    tween(view.vlookat, -105, 2.5, easeInOutQuad);
    wait(1.5);
    tween(view.fov, 105, 2.5, easeInOutQuad);
    wait(2);
    tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
    wait(2.5);
    set(display.flash10, on);
    switch(autorotate.enabled);
    IF(autorotate.enabled == false, switch(autorotate.enabled));
    delayedcall(1.5, set(autorotate.speed="0.1"));
    </action>

    Thanks
    JL

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!