how to merge 2 different (fov) panoramas ? I put example ...

  • Hi,
    I merged two diffrent panoramas taken from the same position but captured in diffrent time.
    I use "..KEEPVIEW|MERGE,.." and it works well.

    But now I want merge 2 panoramas (but the VFOV is different of each - one panorama is cylindrical and I convert it to spherical, the second is full 360 cubic.).
    Does anybody know how to resolve this problem?
    I need to keep all view parameters exept vlookatmin anv vlookatmax.

    The first panorama has full view and second panorama is limited.
    Transition should be possible from any pov and fov.

    Example of 2 panoramas

    http://www.szpygiel.republika.pl/pano.html

    Regards

    Pawel

    Edited 2 times, last by sp2av1 (January 27, 2010 at 12:35 AM).

  • Hi Pawel,

    I think the problem comes from the KEEPVIEW flag...
    It seems that the limitview settings are ignored... Perhaps Klaus can confirm this... *rolleyes*

    There is another way to keep the current view... settings variables with the current view values before loading the next scene and pass them to a lookat(atH,atV,fov) action.... for example, with an action like this:

    Code
    <action name="loadsceneX">
    	set(hlookat_X,get(view.hlookat));
    	set(vlookat_X,get(view.vlookat));
    	set(fov_X,get(view.fov));
    	loadscene(%1, null, MERGE, BLEND(1));
    	lookat(get(hlookat_X),get(vlookat_X),get(fov_X));
    </action>


    Then you can call this action in this way:

    Code
    action(loadsceneX,Scene_1); );


    Using this way, the limitview settings are respected...

    your code becomes:

    Hope this can help...

    SAlut.

Participate now!

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