setting hotspot in 360 video in a particular frames

  • seen an interesting 360 video show here: http://projet.loop-in.com/smart/

    the hotspots of various cars are actually moving when the camera move along a path, and may disappear after certain time or when out of scene. Does anyone know how can we set visibility rules to hotspots in a 360 video with krpano? thanks.

    p.s. it seems there are many special hotspot swf file for controlling the hotspots
    Regards,
    Rich

  • having studied the xml file, there is a trackhotspot function there. It control the timing and the shifting position of the hotspot, but have no clue how do the ath & atv parameter work. here are some extraction:

    I've contacted the author and he said the code is not for sale at the moment *pinch* Really looking forward to his new release.

  • Hi!
    Main idea is:

    It can be done by setting some array of ath atv values for each frame for each hotspot
    <hotspot name="bla" ....>
    <frames from="20" to="40">
    <frame name="f1" no="20" ath="10" atv="0" />
    <frame name="f2" no="25" ath="12" atv="0" />
    <frame name="f3" no="30" ath="15" atv="0" />
    <frame name="f4" no="35" ath="20" atv="0" />
    <frame name="f5" no="40" ath="25" atv="0" />
    </frames>
    </hotspot>

    And main action:
    check if current video frame in from/to range then set this hotspot visible=true
    and tween position when exact frame reached

    Hope it help *wink*

    Regards
    Andrey *thumbup*

Participate now!

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