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.

lonelyelk

Beginner

  • "lonelyelk" started this thread

Posts: 20

Location: Moscow

  • Send private message

1

Monday, September 21st 2015, 5:58pm

Equirectangular multilevel panorama is not showing in WebGL

I'm trying to show equirectangular panorama in html5. If entire image is used:

Source code

1
	<image type="SPHERE" hfov="360.00" vfov="120.489130" voffset="-29.755435" multires="true" tilesize="256" baseindex="0"> <sphere url="pano.jpg" /> </image>



Everything seems ok. But when using levels only black screen is shown.

Source code

1
2
	<image type="SPHERE" hfov="360.00" vfov="120.489130" voffset="-29.755435" multires="true" tilesize="256" baseindex="0">		<level tiledimagewidth="17664" tiledimageheight="5912">
			<sphere url="0/%h-%v.jpg" />		</level>		<level tiledimagewidth="8704" tiledimageheight="2913">			<sphere url="1/%h-%v.jpg" />		</level>		<level tiledimagewidth="4352" tiledimageheight="1457">			<sphere url="2/%h-%v.jpg" />		</level>		<level tiledimagewidth="2048" tiledimageheight="685">			<sphere url="3/%h-%v.jpg" />		</level>		<level aspreview="true" tiledimagewidth="512" tiledimageheight="171">			<sphere url="4/%h-%v.jpg" />		</level>	</image>



Black sphere seems to rotate with mouse and rotate hotspots with it. But constraints from image tag are not used.

krpano version 1.18.5
all browswers on mac os x

Cubic projection seems to be working with tiles in html5. But I guess it's because it's css3.

Is this behaviour intended? Is this expected to be fixed any time soon?
Also having problems inserting code with line breaks.

2

Wednesday, September 30th 2015, 11:15am

Hi,

please see here:
http://krpano.com/docu/html5/#supportedformats

Normal sphere images are already supported in HTML5 (when WebGL is available),
but multires spheres are not supported in HTML5 yet (but planed).

Best regards,
Klaus