Beiträge von Juraj Spaldon

    Hi,

    I have created a tour consisting of 11 panos. Tour works as usually = after set time of inactivity from user, it starts rotate the first pano, then it should jump to second pano, but instead it jumps to pano nr. 3, then 4-5-6-7-8-9-10-11. So it omits pano nr. 2. But it happens this way only in the first round of auto mode. In the second round it works correctly, jumping 1-2-3-4-5 and so on.

    I checked my code, but I am probably blind, cause I haven't found where the problem is *confused*


    and the tour itself is here:
    http://www.greckokat.sk/lutina/lutina.html

    Any advice?

    Thanks
    Juraj

    So I think my problem is, that i don't know how to use GET function correctly...

    Code
    onclick="switch(destwidth, 577,189); tween(width, $destwidth); switch(destx, 27,15); tween(x, $destx); 
    				 	
    switch(plugin[info_pozadie].width, 611, 200); tween(plugin[info_pozadie].width, get(plugin[info_pozadie].width), 1.0);  "

    The first line of the code works OK.

    The second line is problematic. I understand it like this:

    Code
    switch(plugin[info_pozadie].width, 611, 200);

    switches (changes) the width of plugin called "info_pozadie" from one value (611 px) to another (200 px) and back every time I click on the hotspot. Then

    Code
    tween(plugin[info_pozadie].width, get(plugin[info_pozadie].width), 1.0);

    should tween the width of the same plugin "info_pozadie" to a value, that is result of the GET function, the tween should take 1.0 second. The result of the that GET function should be 611 after the first click on the plugin, then it should be 200 after next click, then 611 again and so on.
    It looks simple, but it doesn't work. And I don't know why...

    It simply switches the size of the plugin (the frame of textfield content), but it doesn't tween it.
    http://www.3dpanoramy.sk/pokus/vstupna_hala.html

    Any tips?

    Thanks

    Yes, I have tried it with the original "no scrollable" textfield plugin - no difference. You can see yourself - I have replaced it in my example - see link in my first post.
    Now I somehow set it to SWITCH the size of plugin and the background frame to correct sizes, but it still doesn't TWEEN from one size to another. Check the link.

    Juraj

    Hi,

    In my recent project I need 2 similar plugins to resize/tween the same way. The first one is floorplan, which is made of 2 layers - bakckground image that makes a frame, and the floorplan itself. This combination works - tweens/resizes exactly as I need. Both elements - floorplan and its frame tween/resize corretly - floorplan is perfectly aligned inside the frame all the time.

    Then I have a combination of a background image used as a frame, and a scrollable texfield plugin. And I am not able to set it to work as I need. When the pano loads, then il is lined up OK. When I click on the textfield, both elements resize/tween but the alignment of texfield is offset - it is not inside the frame. And I need it to be aligned the same way as floorplan is.

    Here you can check it yourself:

    http://www.3dpanoramy.sk/pokus/vstupna_hala.html

    The code of the 2 problematic elements is here:

    I have spent a lot of time to find out why it does not work as I need, but I am probably blind and I can't see it.

    Any tips, what's wrong?

    Thanks, Juraj

    HI,

    According to documentation, it is not possible to use special characters in SHOWTEXT action and I have to use HEX code instead.
    But it does not work for me.

    I want to display "John, Peter, Mary". My code is:

    Code
    showtext(John%2CPeter%2CMary , NAZOV);

    But the result is this:

    What am I doing wrong?

    Thanks
    Juraj

    I have found one solution: adding

    Code
    limitview="auto"

    to all xml files of panos that are not limited solves my problem. But maybe there is any other solution, I´m just curious...
    And setting

    Code
    limitview="off"

    makes watching panos really fun!

    Juraj

    Hi,

    After some time I try to create a 10 panoramas virtual tour. One of those panos is a partial pano that has set limits of view with this code:


    Everything works fine until I visit this partial pano. It displays OK, its limits of view are OK, but every other pano visited after this partial one somehow "remembers" this limit of view and displays as partial one although all other panoramas are full 360x180 and have no limits of view. I use this code for loading a new pano:

    Code
    <action name="exterier">
    	loadpano(exterier.xml, null, MERGE, ZOOMBLEND(2, 5));
    </action>

    I think the problem is with any of KEEP parameters that I haven´t set. But I don´t know which.

    Could you help me, please.

    Thanks, Juraj

    Hi everybody,

    I have solved the same problem in my first KRpano tour with the help of logofadeout example:

    <plugin name="logo" url="logo.png" align="rightbottom" x="10" y="10" />
    <action name="fadeout">tween(plugin[logo].alpha,0,7,easeInExpo,set(plugin[logo].visible,false));</action>

    I have modified it to my needs and it works OK. Check it here: http://www.3dpanoramy.sk/kuriska/zadny_pohlad.html

    I have also tested some of the solutions by Graydon, but none of them suited my needs:

    A. Turn off the spots onhover in the load action... works OK, but I want to show the name of the hotspot when mouse is over it (ONHOVER)
    C. Don't use onhover for the spot... but try onOVER for your showtext...works OK too, but the name of the hotspot on the floorplan shows and then hides very quickly

    Using and modifying the code from logofadeout example I have solved all my needs:
    - the name of the hotspot on the floorplan shows and stays on when mouse is over the hotspot
    - the name of the pano shows and fades out correctly - doesn't matter which way you use for jumping from pano to pano (there are 3 ways how to do it - clicking on the hotspot of the floorplan, clicking on the scrolling thumbnail or selecting a pano from drop-down list of panos, that is at the top left corner).

    Thanks for your tips.

    Juraj

    Hi all,

    I have finally created my first tour with KRpano. You can check it here:


    24.07.2009 - link removed

    There are 2 ways how to jump from one pano to another - either clicking on the red hotspot in the floorplan or clicking on a scrolling thumbnails.

    I want to show the name of a pano for a short time and then to fade it out - as it works correctly when clicking on a thumbnails. But clicking on the red hotspots doesn't show the name of a new loaded pano (or the name only blinks there).

    What is wrong with my code?

    Juraj

    Hi,

    I am new to krpano and this is my first attempt using KRpano as a viewer http://www.3dpanoramy.sk/krpano/ford.html
    and I have to say I am not satisfied with the result at all. Check for straight lines how wavy their are. I mean the iron construction up under the roof. Is this normal with KRpano or should I set up some parameters to avoid this kind of problem.

    Just for comparison - this is the same pano converted to swf with Pano2VR http://www.3dpanoramy.sk/autosalon_2009/ford.html

    So have I missed anything or is this a standard bahaviour of KRpano.

    Thanks

    Juraj