• Please I made a tour with a introduction, the problem is:
    What a have to do to after the introduction change the fovmax to 90.
    I made a little planet with a action and the pano starts with this view.
    <view hlookat ="220"
    vlookat ="90.000000"
    camroll ="0.000000"
    fov ="240"
    fovmin ="60"
    fovmax ="240"
    maxpixelzoom ="1.000000"
    limitfov ="true"
    fisheye ="1.00"
    fisheyefovlink="0.50"
    stereographic ="true"
    architectural ="0.0"
    architecturalonlymiddle="false"
    limitview ="auto"
    hlookatmin ="NaN"
    hlookatmax ="NaN"
    vlookatmin ="NaN"
    vlookatmax ="NaN"
    />
    So always after the introduction the fovmax keep foxmax180, and I would like to change to foxmax 120.

    Somebody knows what I have to do?
    Thank you

  • So my little planet has on the final this command

    set(view.vlookatmin, -90);
    set(view.vlookatmax, 90);
    set(view.hlookatmin, -180);
    set(view.hlookatmax, 180);
    set(view.fovmin, 1);
    set(view.fovmax, 120);

    But I dont know why, I can see on the options plugins that the fov do not change.

    still keeping fovmax 180.

  • And if you try:

    Code
    wait(blend); <!-- wait till everything is back to normal view -->
    set(view.stereographic, false);
    set(view.vlookatmin, -90);
    set(view.vlookatmax, 90);
    set(view.hlookatmin, -180);
    set(view.hlookatmax, 180);
    set(view.fovmin, 1);
    set(view.fovmax, 120);

    This is the code I used a long time ago to return from littleplanet view back to normal:

    Code
    tween(view.fovmax,        155.0, distance(179, 0.25), easeoutquad); 
    tween(view.fov,       	  90, distance(179, 0.75), easeoutquad, set(view.fovmax,100);
    	tween(view.architectural,   0.0, distance(1.0, 0.25), easeoutquad); 
    	tween(view.fisheye,         0.0, distance(1.0, 0.25), easeoutquad);
    	set(view.stereographic, false);
    );


    maybe it helps.

    The onviewchange event is heavy if you use it alot. For something like a radar it's needed because you need the pan everytime the user turns. But you don't need it for simply restoring the fovmax, so it would be wasted performance if you tried that way.

  • Please, What about this event here? Is heavy too?
    Because all my nadir is with this code.

    <events onviewchange="if(hotspot[nadirlogo].rotatewithview, set(hotspot[nadirlogo].rotate,get(view.hlookat)) );"
    />

    Thank you very much

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!