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.

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,124

Location: Netherlands

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

  • Send private message

1

Monday, October 6th 2014, 10:22am

Limit view and gyro

Hi,

I was wondering if the gyro makes the limit view not working..?
http://www.virtualtuur.com/krpano/poppy/LP2/
Click logo to change perspective.
In littleplanet mode limitview is off.but on ipad not.

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

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

2

Monday, October 6th 2014, 10:30am

What is the question here? I see no code in your example related to view.limitview. Also gyro is device="html5" so it is not related to limitview anyway as in e.g. Flash where I test your link now it is not started. Maybe I missed the point.

3

Monday, October 6th 2014, 10:30am

Sorry, but I don't understand...? *confused*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,124

Location: Netherlands

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

  • Send private message

4

Monday, October 6th 2014, 10:34am

Look on desktop. Click logo.
Little planet, limitview is off so you can do loopings.
On ipad, gyro is on. Limit view off does not work. On android it does.
I think when gyro kicks in limitview off is ignored or so..
See html for code and pano1.xml and pano2.xml

Here it works... No gyro
http://www.virtualtuur.com/krpano/littleplanet/2/

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

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,124

Location: Netherlands

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

  • Send private message

6

Monday, October 6th 2014, 11:18am

Hi,

the reason for this is how the gyro works - it 'calculates' the current looking position instead of moving from one position to another one - when targeting the device above the nadir or zenith limit the position on the 'other' side will be calculated - and due the rotated view (camroll) it looks like the viewing limit has been passed - but technically it's still within the viewing limits.

I hope I could have explained that understandable...

E.g. try with the gyro setting camroll=false to better understand what really happens:
http://www.virtualtuur.com/krpano/poppy/…].camroll=false

Best regards,
Klaus

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,124

Location: Netherlands

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

  • Send private message

7

Monday, October 6th 2014, 11:26am

Thanks Klaus
i think i understand.. a bit..
well, never mind.
it is not gonna work then, no problem.
I had just hopes doing saltos on a trampoline with the 'cardboard' on my head and a pano in little planet ;-)

(i accept no comments about tight leggings) *g*

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