You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2012-09-29 19:40:49

argiro.starida
Member
Registered: 2012-05-12
Posts: 10

little planet effect and iphone devices

Hello!
I have used the little planet effect. It looks great on internet but it looks weird on iphone/ipad devices. I know it is not possible to see it on these devices because it's a flash thing but does anyone know if and HOW can I make it not play the little planet effect when seen by  iphone/ipad? When it detects iphone/ipad devices to start the panorama without the effect.
thanx in advance
Argiro

Offline

 

#2 2012-09-30 11:49:10

Sam Rohn
Member
From: Brooklyn, New York
Registered: 2011-03-11
Posts: 38
Website

Re: little planet effect and iphone devices

yes, using the planet intro results in starting the tour looking at the floor on html5 devices as planets do not work on non-flash, disabling planet intro for html5 should prob be default behavior

to fix it, you need to set different starting view per device type via the krpano device attribute

http://krpano.com/docu/xml/#devices-notes

this is from a krpano project, but similar code should work for ptp

Code:

<!-- HTML 5 intro - no planet -->        
<view     
devices="html5"
hlookat="0" 
vlookat="0" 
maxpixelzoom="1.0" 
fovmax="110"
/>
    
<!-- little planet intro - flash only -->
<view         
devices="flash"
stereographic="true"
fisheye="1.0"
fov="155"
fovtype="VFOV"
fovmax="150"
hlookat="0"
vlookat="90"
/>

<!-- ETC -->

just add the device attribute as show to the appropriate xml elements as needed

sam

Last edited by Sam Rohn (2012-09-30 12:15:34)


Sam Rohn :: 360° Panoramic Photography :: www.samrohn.com :: Location Scout :: www.nylocations.com :: New York City
PanoPress :: WordPress Plugin for 360° Panoramas in Flash & HTML5 :: www.panopress.org

Offline

 

#3 2012-10-01 16:01:55

argiro.starida
Member
Registered: 2012-05-12
Posts: 10

Re: little planet effect and iphone devices

Thank you very much for you reply and the code!!!smile
I'll try it and let you know what happened.
Argiro

Offline

 

#4 2012-10-02 10:05:28

argiro.starida
Member
Registered: 2012-05-12
Posts: 10

Re: little planet effect and iphone devices

Hello Sam,

I've tried the code but unfortunately nothing happened. I'm quite new to all these. Do I have to put the code somewhere specifically in the xml? Or do I have to replace some of the code with the new one?

Thank you again for your help
Argiro

Offline

 

#5 2012-10-03 06:52:04

Sam Rohn
Member
From: Brooklyn, New York
Registered: 2011-03-11
Posts: 38
Website

Re: little planet effect and iphone devices

sorry, this was not meant as a cut and paste solution, you would probably need to be a bit familiar w modifying krpano code to figure out exactly what needs to be changed, panotour little planet intro code is laid out bit differently then the way i have been doing things in single pano krpano projects...

but the device tag and alt starting view for html5 is the way to fix it, perhaps someone more familiar w modifying ptp than myself could come up with a working fix, disabling planet intro on html5 should be built into ptp templates so maybe if you report this as a bug they can get it fixed in next release

sam

Last edited by Sam Rohn (2012-10-03 06:55:17)


Sam Rohn :: 360° Panoramic Photography :: www.samrohn.com :: Location Scout :: www.nylocations.com :: New York City
PanoPress :: WordPress Plugin for 360° Panoramas in Flash & HTML5 :: www.panopress.org

Offline

 

#6 2012-10-03 09:08:22

argiro.starida
Member
Registered: 2012-05-12
Posts: 10

Re: little planet effect and iphone devices

yes the copy paste didn't work but I tried several things and finally I made it work. Thank you very much for your help and the great starting point to the solution smile
Argiro

Offline

 

#7 2012-10-03 18:48:18

ATXcloud
Member
From: AUSTIN, TX USA
Registered: 2011-06-06
Posts: 67

Re: little planet effect and iphone devices

Argiro, mInd sharing what you did to solve it? Thank you

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson