Beiträge von bluestar

    Is there a way, to test if an action is called with or without a parameter?
    i.e. I want to do something like

    Code
    <action name="look2hotspot">
            looktohotspot(%1, smooth());
    </action>
    
    
    <action	name="loadmypano">
             if(%1=="true", action(look2hotspot, %1));
         	loadpano(XYZ.xml, null, MERGE, BLEND(1));
    		</action>

    So I want to be able to execute "action(loadmypano)" and "action(loadmypano, hotspot)" and determin in the action if to execute look2hotspot. Is there something like that "if(%1=="true", action()); ?

    Achim

    Ah, perfekt!

    Nein, das Radar habe ich schon mit den Beispieldateien zum laufen gebracht. Aber Danke für den Hinweis!
    Ich meinte tatsächlich das Panorama selber, das ich drehen möchte. Das mit dem "prealign" probier ich heute abend aus.

    Vielen Dank!
    Achim

    In einer Tour möchte ich die Panoramen so ausrichten, dass wenn ich <view hlookat="0"/> ausführe ich in allen Panos nach Norden schaue. Dazu muss ich irgendwie einen neuen Nullpunkt festlegen, an den geschaut wird, wenn hlookat gleich Null ist. Wie kann ich das machen?

    bluestar