View not working after Kprotect is applied

  • Hi All,

    I am quite new to PanoTools. Recently i bought KrProtect license.

    In my XML i am using


    <view vlookatmax="-7" fovmax="120"/>


    to control the nadir display. It works OK in normal mode. But when I compile it using Krprotect and create one flasg, Nadir gets display.

    I tried lots of combination but no help.


    Is there anything I am missing. Please help

  • Hi Klaus,

    Here is the way i did it.


    I used two XML files

    First one


    And the second one which is called my first one "loadpano(LastResortPoint)........."


    This is working in XML based version. But when compiled, nadir is still shown.

  • Hi,

    you use using different krpano versions?

    in the latest krpano version the view limiting behaver has changed a bit,
    now the viewing limits must be defined together with each pano,

    this change was necessary because without it, it wouldn't be possible
    to get from a view limited pano to an non-limited pano,

    that means try to add that view limiting code to each pano:

    Code
    <view vlookatmax="-7" fovmax="80"/>

    best regards,
    Klaus

  • Hi Klaus,


    Sorry for coming late.


    I tried as you said. Checked the version, Its 1.0.8. And as adviced by you added <view> to all other xml files.

    But i still get the Nadir shown.


    Any other idea please?

  • Still does not work. To make myself more confident, i did following things
    Downloaded the latest
    krpano Viewer 1.0.8.12 (build 2010-11-24)

    krpano Tools 1.0.8.12 (build 2010-11-24)

    Then to make my XML simple, i just put one our. (before it was multiple). I also removed all plugins and extra things. Just simple one sphere virtual tour.
    It works in general preview. But when compiled with KProtect, just does not work.

    Only XML code now is

    Code
    <krpano version="1.0.8" >
      <view vlookatmax="-7" fovmax="80"/>
        <image type="SPHERE">
            <sphere url="lastresortpoint.jpg" />
        </image>
    </krpano>


    HELP Please .. *cry*

  • In the view tab, try adding limitview="range" and also a vlookatmin="WHATEVER VALUE"
    Replacing the whatever value with a digit that works for you.

    See if that does anything for you.

Participate now!

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