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:

    Code
    <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.

  • 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

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!