Need help: north and hotspot

  • Hey all!
    I'm newbie here and have some problems and I need your help:

    1. I'm alligning two scenes to make day/night switch.
    If I set them view hlookat to same value, they are pointing different angle. So I'm setting North, but it does not change anything!

    I need same view angle to make nice day/night change.

    What I'm doing wrong?

    2. I wish to make hotspot that stays on the screen without moving around. How to achive that? I'm using add_hotspot plugin, so hotspot code goes to seperate file save_hotspot.xml

  • Thank you!
    I will test it out...

    I have still problem with 1st question.
    Have a look - I'm setting north to same point at both panos, however the hlookat is way different:






    <scene name="scene_livining-day" title="livining-day" onstart="" thumburl="panos/livining-day.tiles/thumb.jpg" lat="" lng="" heading="">


    <control bouncinglimits="true" />


    <view hlookat="-91.630" vlookat="6.571" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="40.577866" fovmax="140.0" limitview="auto" hlookatmin="-180.0" hlookatmax="180.0" vlookatmin="-90.0" vlookatmax="90.0"/>


    <preview url="panos/livining-day.tiles/preview.jpg" />


    <image prealign="0|43.9|0">
    <cube url="panos/livining-day.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,640,1152,2304" />
    </image>



    </scene>


    <scene name="scene_living-night" title="living-night" onstart="" thumburl="panos/living-night.tiles/thumb.jpg" lat="" lng="" heading="">


    <control bouncinglimits="true" />


    <view hlookat="-142.191" vlookat="6.330" fovtype="MFOV" fov="120.0" maxpixelzoom="2.0" fovmin="40.577866" fovmax="140.0" limitview="auto" hlookatmin="-180.0" hlookatmax="180.0" vlookatmin="-90.0" vlookatmax="90.0"/>


    <preview url="panos/living-night.tiles/preview.jpg" />


    <image prealign="0.224214|43.900686|0.231647">
    <cube url="panos/living-night.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,640,1152,2304" />
    </image>


    </scene>


    What I'm doing wrong here?

  • For example, in the "day" scene, specify the "night" inclusion layer"

    Code
    <layer name="scene_night" keep="false" url="dusk.png" align="top" y="30" 
           onclick="loadscene(scene_night, null, MERGE);"  
     />


    In the "night" scene, the opposite is true

    It works perfect, thank you!

    I have a one more need and request for above:

    I wish to blend the change of two scenes. At the moment, change is instant and I wish to make it with small slow change from one to another. Kind of transition. Hope I put it clear in my words...

  • Thank you, but this is not my idea...


    Changes from day to night shouldn't move scene like if we go forward. I just want to slowly change from one to another, but static, no movement...


    Awesome!
    I just changed zoom to 0,0.

    Thank you!!

Participate now!

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