Sie sind nicht angemeldet.

1

Samstag, 7. März 2015, 09:46

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:

Quellcode

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

Montag, 9. März 2015, 10:15

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