lookat,fovmax, fovmin,vlookatmin,vlookatmax Einstellungen für nächstes Panorama unterschiedlich

  • hallo krpano Gemeinde :)

    Ich habe einen virtuellen Rundgang erstellt mit map-plugin, navi-thumbnail plugin und hots-spots.
    In meiner Tour befinden sich auch 2 Panoramen die nur 180 Grad Aufnahmen sind. Also will ich für diese
    2 Panoramen auch nur einen eingeschränkten Sichtwinkel festlegen.

    in meinem Start xml file der Tour habe ich folgendes stehen:

    <krpano version="1.0.7" onstart="action(load1);">
    <include url="plugins.xml" />

    <view hlookat="0"
    vlookat="0"
    fov="65"
    fovmax="60"
    fovmin="10"
    fisheye="0.0"
    fisheyefovlink="0.5"
    vlookatmin="0"
    vlookatmax="0"
    hlookatmin="0" />

    <!-- hier kommt dann ne Menge Code für das Map Plugin-->

    <!-- Aktionen -->
    <!-- LINKS TO TOURS FOR THUMBS -->
    <action name="loadpano">
    loadpano(%SWFPATH%/%1, null, MERGE, BLEND(1));
    </action>

    <action name="load1">
    action(loadpano, 1.xml);
    </action>
    <!-- ....u.s.w....load2, load3... -->


    <!-- Aktionen für Map Plugin -->

    <action name="startloading">
    set(hotspot.visible,false);
    push(view.fovmin);
    set(view.fovmin,1);
    </action>

    <action name="loadingdone">
    pop(view.fovmin);
    set(hotspot.visible,true);
    </action>

    <action name="lookinterrupt">
    action(loadingdone);
    breakall();
    </action>


    <action name="load1">
    set(plugin[spotx].x,256);
    set(plugin[spotx].y,85);
    set(plugin[radar].x,256);
    set(plugin[radar].y,85);
    loadpano(1.xml,null,KEEPALL,BLEND(2));
    set(plugin[radar].heading,320);
    </action>

    <!-- ....u.s.w....load2, load3... -->


    Jetzt habe ich versucht in das nächste Panorama (also zB in die 2.xml) am Anfang folgendes einzugeben:

    <view hlookat="0"
    vlookat="0"
    fov="65"
    fovmax="80"
    fovmin="10"
    fisheye="0.0"
    fisheyefovlink="0.5"
    vlookatmin="0"
    vlookatmax="90"
    hlookatmin="0" />


    ..eben ein paar Werte verändert. Ich dachte mir, die neu reingeladene xml überschreibt die alten Werte einfach?
    dem ist aber leider nicht so, die alten Werte bleiben erhalten.

    Vielen Dank im Voraus für eure Hilfe!

    mattk

Participate now!

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