Navigation buttons

  • I read all the threads on this subject and some are contradictory: do the basic nav buttons load by default into the PC viewer for multires panos? If yes, mine do not load. If no, what/where is the script and which file does it get put it to make them show? You mentioned a location to another customer but my copy of krpano doesn't have that folder. *confused*

    Here is what I have so far by editing the vtour_viewtemplate file (mentioned in previous question).

    http://www.tres.ca/virtual_tours/…05BSt/tour.html

    This is the vtour_viewtemplate file contents:

    <view hlookat="0" vlookat="0" fovtype="MFOV" fov="200" maxpixelzoom="2.0" fovmin="60" fovmax="120" [VIEWLIMITS]/>
    <autorotate enabled="true" waittime="1.5" speed="10.0"/>
    <does the button script go here?/>

    I'm only making multi-res tours using the droplet.

    Aaron

    Einmal editiert, zuletzt von haaronl (22. März 2012 um 07:10)

  • Hi,

    no, in the default VTOUR templates there are no buttons included,

    but if you want to include one, I would recommend doing that in the "vtour.xml" template file,
    a simple solution would be just using the defaultskin.xml buttons,

    e.g. to do that - in the vtour.xml replace these two lines here:

    Code
    <!-- include zoom and fullscreen buttons for Android -->
    <include url="skin/androidskin.xml" devices="android+flash" />


    with this one:

    Code
    <include url="skin/defaultskin.xml" />

    and for automatically coping the additional files replace in the "vtour-mres.config" and "vtour-normal.config" these lines:

    Code
    xmltemplate_additional_file=xml/skin/androidskin.xml
    xmltemplate_additional_file=xml/skin/androidbuttons.png


    with these ones:

    Code
    xmltemplate_additional_file=xml/skin/defaultskin.xml
    xmltemplate_additional_file=xml/skin/buttons.png
    xmltemplate_additional_file=xml/skin/qtvr-cursors.png
    xmltemplate_additional_file=xml/skin/drag-cursors.png
    xmltemplate_additional_file=xml/skin/androidskin.xml
    xmltemplate_additional_file=xml/skin/androidbuttons.png

    best regards,
    Klaus

Jetzt mitmachen!

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