"lookto" moving too fast

  • Hi all,

    I love the lookto feature, in some cases it works really well. Now I am trying to use it in a gigapixel panorama and I can't seam to get control over the speed. I noticed in the doc https://krpano.com/docu/actions/#lookto that it is specified in degrees/sec. I dropped this down very low and it does appear to have an impact.

    You can see it in action here, http://www.xrez.com/fullcon/html/chi_tribune.html

  • Try with the added bracket.


    <!------------Zoom to Feature ------>

    <plugin name="zoom_to_angel" url="%FIRSTXML%../graphics/angel.jpg" align="bottom" x="10" y="10" onhover="zoom into this feature" onclick="lookto(6.2737,22.2283, 1,smooth(.05,.01,.02));"/>

    <plugin name="zoom_to_frog" url="%FIRSTXML%../graphics/frog.jpg" align="bottom" x="150" y="10" onhover="zoom into this feature" onclick="lookto(11.4434,.6726, 1,smooth(5,1,2));"/>

    <plugin name="zoom_to_boat" url="%FIRSTXML%../graphics/boating.jpg" align="bottom" x="-150" y="10" onhover="zoom into this feature" onclick="lookto(-14.6949,41.0096, 1,smooth(5,1,2));"/>

    <!-- End Zoom to Feature ----->

    If you want your text to show, try this format

    onhover="showtext(zoom into this feature)"

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!