You are not logged in.

niconutsch

Trainee

  • "niconutsch" started this thread

Posts: 114

Location: hall in tirol

Occupation: fotograph

  • Send private message

1

Friday, January 24th 2014, 8:45pm

copy actual view to next panorama in krpano

dear forum

i try to find a solution for following problem.
two panoramas were taken from the exactly same position (two years between the shots)
it should be possible to change between these two at every view with a button.
how to copy actual view to next panorama
wbr
klaus

Alexey Tkachenko

Professional

Posts: 760

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Friday, January 24th 2014, 9:53pm

You can use "KEEPVIEW" setting inside "loadscene" action to keep the current view.

See here: http://krpano.com/docu/actions/#loadscene

Another way is to make a "blending cubes" slider. Like this:

http://krpano.com/examples/116/examples/…bes/slider.html

But this will not support multires and will require more coding effort.
Regards,

Alexey

niconutsch

Trainee

  • "niconutsch" started this thread

Posts: 114

Location: hall in tirol

Occupation: fotograph

  • Send private message

3

Saturday, January 25th 2014, 12:06pm

thanks a lot.

dear alexey
very simple!!!!
wbr klaus

Tuur

Sage

Posts: 3,184

Location: Netherlands

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

  • Send private message

4

Saturday, January 25th 2014, 12:24pm

or call these actions on the right moment.

Source code

1
2
3
4
5
<action name="look_vars">
	set(_hlookat, get(view.hlookat));
	set(_vlookat, get(view.vlookat));
	set(_fov, get(view.fov));
</action>


and

Source code

1
2
3
4
5
<action name="setlooktovars">
	set(view.hlookat, get(_hlookat));
	set(view.vlookat, get(_vlookat));
	set(view.fov, get(_fov));
</action>


i used this to go away and remember the looks etc from 360 video to pano and then return to video and resume video with same looks and moment.
The video part of the code i took out btw..


Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur