Autorotate doesn't work always? (1.0.8 beta 7)

  • Hi,

    check out the code of these two:
    working:
    http://panoraamakuvat.fi/kuvat/kurjenrahka/laiturin-nokalta

    not working:
    http://panoraamakuvat.fi/kuvat/joyboots/joyboots-liiketila

    In both of those I have included the xml-file which includes the autorotate tag:

    Code
    <include url="panoraamakuvatfi.xml" />

    And there you can see:

    Code
    <autorotate enabled="true" 
            	waittime="1.0" 
            	accel="1.5" 
            	speed="10" 
            	horizon="5" 
            	tofov="90" 
            	/>

    But it doesn't work with the second one. Any guesses? Note: i'm using the latest beta.

  • Have you compared the actions in the

    action(show_html_field);">

    of each pano?

    Maybe something was added or taken away. It seems to be tied to the loading of the html field. At least, that's what I seem to be seeing.

    *edit* I assume the action(show_html_field);> is the same on both panos, tied to
    <include url="panoraamakuvatfi.xml" />

    and probably not the problem.

    Maybe something to do with lens flare? That is added in one and not the other.

    You may have to post more code from panoraamakuvatfi.xml for a solution.

    Jarredja

    Edited once, last by Jarredja (June 1, 2009 at 4:50 PM).

  • That is odd.

    I only see three differences between the two base xml's
    - images - one's jpgs, the others tiffs
    - lensflare - one has it, the other doesn't
    - lookats - a bit different

    None of which I've ever heard causing a problem.

    Since both base xml's are calling the exact same extra xml file.

    After staring at the non-working pano a bit... I do notice that the sharpness keeps going back and forth... like it's originally at high and then it drops to low... like it would when the autorotate kicks in... but then goes back to high.

    Odd.

    I closed my other windows where I was looking at the code... It would be good if you could load the non-working base xml file for reference.

    Graydon

  • Hi,

    there was a bug with the autorotating and when the "tofov" value was out of the fov limit range (in this example, the high fisheye value and the "limitfov" value are limiting the fov value)

    I have fixed it for beta 8,

    best regards,
    Klaus

  • Ahh, ok. So I've written false fisheye values there. Now it works when I changed the values with the non working XML from:

    Code
    <view hlookat   	="90"
          	vlookat   	="0"
          	fov       	="60"
          	fovmin    	="6"
          	fovmax    	="179"
          	fisheye   	="0.85"
          	fisheyefovlink="0.50"
          	/>


    to

    Code
    <view hlookat   	="90"
          	vlookat   	="0"
          	fov       	="100"
          	fovmin    	="6"
          	fovmax    	="179"
          	fisheye   	="0.35"
          	fisheyefovlink="0.90"
          	/>

    I still need to keep learning these values. ;)

    Thanks Klaus!

Participate now!

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