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.

xhe

Beginner

  • "xhe" started this thread

Posts: 37

Location: Sunnyvale, California, USA

  • Send private message

1

Saturday, April 4th 2020, 6:03pm

Can krPano play pano image obtained from iPhone camera?

Can anyone answer this question? Prepareing cubical images is impossible for regular user, but if user just provide regular pano iamge, wide image shot from iphone, can krPano handle that?
I checked krpano doc, it support Flat image, is that the same as iPhone pano image?
Any example?
Thanks

Tuur

Sage

Posts: 3,323

Location: Netherlands

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

  • Send private message

2

Saturday, April 4th 2020, 7:02pm

Yes that is possible.
Flat, cylindrical,180,360.. all

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

xhe

Beginner

  • "xhe" started this thread

Posts: 37

Location: Sunnyvale, California, USA

  • Send private message

3

Saturday, April 4th 2020, 7:15pm

Thanks for replying.
My question is how to play it?
I checked the sample for flat xml, it has bunch of subimages inside, for example:

<krpano showerrors="false">

<include url="skin/skin.xml" />

<preview url="https://d8d913s460fub.cloudfront.net/til…les/preview.jpg" />

<image type="FLAT" hfov="1.0" vfov="0.25" multires="true" tilesize="512">
<level tiledimagewidth="151000" tiledimageheight="37750"> <flat url="https://d8d913s460fub.cloudfront.net/til…%v/l8_%v_%h.jpg" /> </level>
<level tiledimagewidth="75500" tiledimageheight="18875"> <flat url="https://d8d913s460fub.cloudfront.net/til…%v/l7_%v_%h.jpg" /> </level>
<level tiledimagewidth="37750" tiledimageheight="9438"> <flat url="https://d8d913s460fub.cloudfront.net/til…%v/l6_%v_%h.jpg" /> </level>
<level tiledimagewidth="18875" tiledimageheight="4719"> <flat url="https://d8d913s460fub.cloudfront.net/til…%v/l5_%v_%h.jpg" /> </level>
<level tiledimagewidth="9438" tiledimageheight="2360"> <flat url="https://d8d913s460fub.cloudfront.net/til…%v/l4_%v_%h.jpg" /> </level>
<level tiledimagewidth="4719" tiledimageheight="1180"> <flat url="https://d8d913s460fub.cloudfront.net/til…%v/l3_%v_%h.jpg" /> </level>
<level tiledimagewidth="2360" tiledimageheight="590"> <flat url="https://d8d913s460fub.cloudfront.net/til…%v/l2_%v_%h.jpg" /> </level>
<level tiledimagewidth="1180" tiledimageheight="295"> <flat url="https://d8d913s460fub.cloudfront.net/til…%v/l1_%v_%h.jpg" /> </level>
</image>

<view fovtype="HFOV" limitview="lookat" fov="1.0" fovmax="1.0" maxpixelzoom="1.0" />

<control zoomtocursor="true" zoomoutcursor="true" bouncinglimits="true" keycodesin="16" keycodesout="17" />

</krpano>


But in reality, user just has one pano image, in order to use flat, do I still need to cut and prepare smaller image based on the original rectangular image?



Thanks

xhe

Beginner

  • "xhe" started this thread

Posts: 37

Location: Sunnyvale, California, USA

  • Send private message

4

Saturday, April 4th 2020, 8:27pm

ok, I tested again using flat format, it is working.
Only that iphone pano is not real 360 degree, if we need to have full 360 degree, we still need to stitch two,

xhe

Beginner

  • "xhe" started this thread

Posts: 37

Location: Sunnyvale, California, USA

  • Send private message

5

Saturday, April 4th 2020, 9:02pm

also, for flat,there is no pano effects at all, just like displaying a wide image, I cut it into four images, and use cube mode, also bad.
Does anyone knows how facebook did that? Seemed it is impossible to play a phone pano image with real pano effects here.

You can check krpano example page to see what I mean here