You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Midhat

Beginner

  • "Midhat" started this thread

Posts: 34

Location: Sarajevo, Bosnia & Herzegovina

  • Send private message

1

Tuesday, December 25th 2018, 5:47pm

Startup view

Hi,

How can I change the startup view, depending on the direction I'm coming from?

I want to make it like on Google Street View. If I come from the north to the south that always startup view is on south direction, and if I come from the south to the north that the startup view towards the north.
I hope that I have explained well and that you understand what I want
Regards,

Midhat

2

Wednesday, December 26th 2018, 5:52am

You need to collect panoramas so that everyone has the center in one direction. Then use the flag KEEPVIEW
Or you can use plugins.


https://krpano.com/examples/usage/#demotour-apartment

Midhat

Beginner

  • "Midhat" started this thread

Posts: 34

Location: Sarajevo, Bosnia & Herzegovina

  • Send private message

3

Wednesday, December 26th 2018, 10:18am

Do you think that each panorama has a center for example in the north? Then use it flag KEEPVIEW ?

4

Wednesday, December 26th 2018, 1:57pm

Yes, you need to collect all the same, If the north is in the center, then everything should be so

Tuur

Sage

Posts: 3,121

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

5

Thursday, December 27th 2018, 2:19pm

Hi,

maybe a better or quicker option for you is to just use a simple action like:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<action name="Move">
	loadscene(%1, null,MERGE,ZOOMBLEND(0.5));
	lookat(%2,%3,%4); <!-- hlookat,vlookat,fov -->
	
	
	<!--
In the onclick of the hotspot we call the action: Move
In this Move(); we put some data 
Move(%1,%2,%3,%4);  


%1 = scene name
%2 = view.hlookat
%3 = view.vlookat
%4 = view.fov

-->
</action>


So now you can call in the onclick the 'Move' action, like: Move(scene_4,45,0,90);
If you need easy access to numbers you can use the toolbox, and press numbers.
https://krpano.com/forum/wbb/index.php?p…74910#post74910

Hope it helps,
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Midhat

Beginner

  • "Midhat" started this thread

Posts: 34

Location: Sarajevo, Bosnia & Herzegovina

  • Send private message

6

Thursday, December 27th 2018, 2:49pm

Thanks

7

Friday, December 28th 2018, 6:20pm

check to my tour editor ;)

https://krpano.com/forum/wbb/index.php?p…&threadID=16597

when you create a hotspot it's automaticly keep the direction that you come from...

does is this feature that you need?

Midhat

Beginner

  • "Midhat" started this thread

Posts: 34

Location: Sarajevo, Bosnia & Herzegovina

  • Send private message

8

Saturday, December 29th 2018, 9:22am

Yes this is feature that I need? But is solved with KEEPVIEW.
Thank you

Similar threads