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.

1

Saturday, March 7th 2015, 9:46am

Render Panorama with HTML5 with image type "sphere"

I would like to render a panorama image by loading an equirectangular image (no cubes), like this:

Source code

1
<image type="SPHERE" hfov="360" vfov="" voffset="0" prealign="">    <sphere url="pano.jpg" /> </image>


Using HTML5 and avoiding completely Flash because some controls I added do not work otherwise.

Is this possible?

Thanks.

2

Monday, March 9th 2015, 10:15am

Hi,

yes, that's possible, but only when the Browser is supporting WebGL and the pano image isn't too large.

Not to large means smaller than the maximum WebGL texture size - on mobiles typically 2048x2048 or 4096x4096.

But for better loading performance, better image quality and better comparability the usage of (multires) cubical panos will be recommended.

Best regards,
Klaus