Sie sind nicht angemeldet.

1

Dienstag, 12. Juli 2022, 07:10

Zoom Blend effect

HI,
I want to add zoom blend effect while loading pano.
how can I acheive this effect ?

Can anyone guide me here

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Dienstag, 12. Juli 2022, 09:41

»spacerywirtualne« hat folgendes Bild angehängt:
  • msedge_fVSv1DxBvX.png
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

3

Dienstag, 12. Juli 2022, 10:40

Thanks for the reply.


I have seen this guide, but I didn't get it where I have to use this method.
As when I add this button & add this xml file then I am getting this effect on the button click but I need this effect when we move from one pano to next pano at loading time. So how can I get this effect while loading the pano ?

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

4

Dienstag, 12. Juli 2022, 20:24

Add this piece of code to your loadscene() action

Quellcode

1
loadscene(scene_name, null, MERGE, ZOOMBLEND(2.0, 2.0, easeInOutSine));



Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

5

Dienstag, 12. Juli 2022, 22:06

or if you work with vtourskin.xml, change the values here :

Quellcode

1
2
3
4
5
6
<skin_settings maps="false"
    ...
    loadscene_blend="OPENBLEND(0.5, 0.0, 0.75, 0.05, linear)"
    loadscene_blend_prev="SLIDEBLEND(0.5, 180, 0.75, linear)"
    loadscene_blend_next="SLIDEBLEND(0.5,   0, 0.75, linear)"
    ... />

6

Donnerstag, 14. Juli 2022, 08:27

Hi
Thanks for reply
I have added the loadscene in action but the zoom effect is not working on pano, it's affecting on the marker added on the pano.