You are not logged in.

1

Tuesday, July 12th 2022, 7:10am

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

spacerywirtualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

2

Tuesday, July 12th 2022, 9:41am

spacerywirtualne has attached the following image:
  • 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

Tuesday, July 12th 2022, 10:40am

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 ?

spacerywirtualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

4

Tuesday, July 12th 2022, 8:24pm

Add this piece of code to your loadscene() action

Source code

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

Tuesday, July 12th 2022, 10:06pm

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

Source code

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

Thursday, July 14th 2022, 8:27am

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.