Stereoscopic T-B integration

  • We currently produce vr spherical top-bottom CGI renders and need to convert them to the krpano viewer.

    We have already managed to get a standard spherical view to work using the MAKE PANO (NORMAL) droplet and MAKE VTOUR (MULTIRES) droplet.

    The stereoscopic function is not very well documented.

    We have already looked at krpano 1.19 - Pre Release 1 - WebVR / MobileVR / Stereoscopic 3D Support (Oculus Rift, Google Cardboard, GearVR, ...) but the process does not work or is not clear.

    Our images (sample thumbnail attached) are 4096x4096.

    If we drop the image onto the multi-res droplet, we get the following warning:

    WARNING: 3d-vr-example.jpg is not a 360x180 panorama image! Imagesize = 4096x4096px

    When we use the testing server, it seems to put the entire image onto one face of a cubemap and doesn't process the whole spherical image. As a result, it just looks like a square face in front of you.

    Then, if we change the xml:


    Code
    <krpano>
    <!-- the skin --><include url="skin/defaultskin.xml" />
    <!-- view settings --><view hlookat="0" vlookat="0" maxpixelzoom="1.0" fovmax="150" limitview="auto" />
    	<preview url="3d-vr-example.tiles/preview.jpg" />
    	<image type="SPHERE" hfov="90.00" vfov="90.000000" voffset="0.00" multires="true" tilesize="512" progressive="true" stereo="true" stereoformat="TB"> 	<level tiledimagewidth="4096" tiledimageheight="4096">		<sphere url="3d-vr-example.tiles/l3/%v/l3_%v_%h.jpg" />	</level>	<level tiledimagewidth="2048" tiledimageheight="2048">		<sphere url="3d-vr-example.tiles/l2/%v/l2_%v_%h.jpg" />	</level>	<level tiledimagewidth="1024" tiledimageheight="1024">		<sphere url="3d-vr-example.tiles/l1/%v/l1_%v_%h.jpg" />	</level></image>
    </krpano>


    This makes no difference.

    What are we missing?

  • Hi,

    the droplets don't have any stereoscopic input support yet.

    That means it would be necessary to either 'pre-process' the images manually and/or write manually the xml <image> element for the pano (without using the droplets).

    E.g. for directly using a top-bottom spherical image an <image> element like this would need to be used:

    Code
    <image stereo="true" stereoformat="TB">
      <sphere url="pano.jpg" />
    </image>

    Here the related documentation:
    https://krpano.com/docu/xml/#image.stereo

    And here a simple but full example for downloading:
    https://krpano.com/krpano.html?xm…here/krpano.xml

    Download:
    https://krpano.com/examples/stereo-tb-sphere/example.zip

    E.g. just replace the image there.

    Best regards,
    Klaus

  • Thanks for this. I know it's a delayed response but we are still figuring this out.

    Currently, the CGI renders we are generating at 8000px width (8000px high if stereo). If we just use the single image, we can use the steps above but I really like the multi-res option for fast delivery.

    I look forward to seeing stereo options in new droplet releases!!

    Until then, we are sticking with the mono view to keep the resolution high.

    Thanks again.

Jetzt mitmachen!

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