You are not logged in.

xhe

Beginner

  • "xhe" started this thread

Posts: 33

Location: Sunnyvale, California, USA

  • Send private message

1

Friday, August 30th 2019, 11:37pm

how to obtain google map street veiw transition effect?

Hello, this might be a stupic question, but I just want to hear your opinion.
How can we obtain google map street view transition effect? Smoonth transition without suddenly change panorama?
Now, I load a new pano, and it seemed krpano just unload first and load second, it still appear as two pano. can we make it appear just as one pano, and smoothly transfered to the second pano?
Is this soly based on how we are shooting photos for panorama and we can do nothing in krpano?

light_line

Trainee

Posts: 90

Occupation: krpano freelancer || creating ideas & coding them || krpano developer

  • Send private message

2

Saturday, August 31st 2019, 7:05am

currently, these transition effects are supported by krpano.

https://krpano.com/examples/119/krpano.h…ending-demo.xml

maybe in the next update, new transition effects will be included. *smile*

xhe

Beginner

  • "xhe" started this thread

Posts: 33

Location: Sunnyvale, California, USA

  • Send private message

3

Saturday, August 31st 2019, 7:33am

Thanks, can you point me to the doc on how to use these effects?
I think this can be used when I am calling this method:

this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'BLEND(0.1)');


but here, no matter how I adjust the parameter, the effects are all the same.So, how can I apply the effect here?

light_line

Trainee

Posts: 90

Occupation: krpano freelancer || creating ideas & coding them || krpano developer

  • Send private message

4

Saturday, August 31st 2019, 10:02am

here is the documentation:
https://krpano.com/docu/actions/#loadscene

Source code

1
2
3
4
5
6
7
8
9
10
11
12
no blending = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'NOBLEND');
simple crossblending = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'BLEND(1.0, easeInCubic)');
zoom blend = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'ZOOMBLEND(2.0, 2.0, easeInOutSine)');
black-out = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'COLORBLEND(2.0, 0x000000, easeOutSine)');
white-flash = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'LIGHTBLEND(1.0, 0xFFFFFF, 2.0, linear)');
right-to-left = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'SLIDEBLEND(1.0, 0.0, 0.2, linear)');
top-to-bottom = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'SLIDEBLEND(1.0, 90.0, 0.01, linear)');
diagonal = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'SLIDEBLEND(1.0, 135.0, 0.4, linear)');
circle open = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'OPENBLEND(1.0, 0.0, 0.2, 0.0, linear)');
vertical open = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'OPENBLEND(0.7, 1.0, 0.1, 0.0, linear)');
horizontal open = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'OPENBLEND(1.0, -1.0, 0.3, 0.0, linear)');
elliptic + zoom = this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'OPENBLEND(1.0, -0.5, 0.3, 0.8, linear)');

Sergey74

Trainee

Posts: 128

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

5

Saturday, August 31st 2019, 3:46pm

translation difficulties *huh*

xhe

Beginner

  • "xhe" started this thread

Posts: 33

Location: Sunnyvale, California, USA

  • Send private message

6

Saturday, August 31st 2019, 6:25pm

Thanks for reply, when I change
this.krpanoApi.actions.loadxml(this.panoXML, null, 'MERGE', 'BLEND(10.0, easeInOutSine)')


I don't see the effects here in 10 seconds, do you think we need to add any plugin to make this effective?

Thanks

xhe

Beginner

  • "xhe" started this thread

Posts: 33

Location: Sunnyvale, California, USA

  • Send private message

7

Thursday, September 5th 2019, 5:07pm

I checked this plugin:

https://krpano.com/plugins/userplugins/gtransition/#top


But unfortunately, I don't see how it can be used with loadxml method, which is what I am using to change pano, can anyone help to answer if the GTransition plugin can be used with loadxml method?

8

Friday, September 6th 2019, 10:11am

Hi,

google street view uses also some kind of depthmap or 3d-geometry when rendering these transitions.

They have information for that because they also laser-scan the environment when capturing the panos.
And for non-laser-scanned panos probably a rough fake-model, e.g. just a floor at a certain level probably is used.

You could make such transitions now also in krpano using the new depthmap/3d-model support:
krpano 1.20

Or alternatively here some examples for simple but therefore fully-automatic 3d-like-transitions:
3D transitions

Best regards,
Klaus

jordi

Intermediate

Posts: 464

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

9

Saturday, September 7th 2019, 7:08pm

How can we obtain google map street view transition effect?


You can check the navigator plugin to make such transitions

https://krpano.com/forum/wbb/index.php?p…&threadID=16984
everpano.com step beyond 360