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.

a-dou

Beginner

  • "a-dou" started this thread

Posts: 7

Location: Beijing city Haidian District Wanquan Zhuang

Occupation: IT/The Internet development

  • Send private message

1

Friday, August 2nd 2013, 7:51am

How to identify the images back to the default

Krpano, how
to return to the
default view
(when, I click on the 360 panoramic x=0,
y=0)

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

2

Friday, August 2nd 2013, 8:53pm

Hi!You can set any view.
for example
set(view.hlookat,150);
or set(view.vlookat,30);

But, if you mean that your scene has some start view settings, and you want to restore start view after rotation, then you need to store view settings in some custom variables in scene onstart event.
And then you can restore view settings from variables
save:
copy(starthlookat,view.hlookat); - where starthlookat is your custom variable;


restore:
copy(view.hlookat,starthlookat);

Regards
Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

a-dou

Beginner

  • "a-dou" started this thread

Posts: 7

Location: Beijing city Haidian District Wanquan Zhuang

Occupation: IT/The Internet development

  • Send private message

3

Friday, August 23rd 2013, 12:03pm

loaded html

Thank you. How to achieve the 360 panorama of loading external HTML excuse me? When I click on a button, the pop-up a window, the window is loaded (such as: http://www.baidu.com)
a-dou has attached the following image:
  • )TR]G)25YP37(2ULXA1EFPW.jpg