PCA2 krpano values tutorial


In this tutorial I show how to read the Krpano values and how you can then use these values to include the models as depthmap in Krpano.
You can use a separate models for each panorama or use one model for all panoramas!

We assume here a fully modeled model in which all panoCAMS are already placed.

If you like you can download a blend file here, in which 8 panoCAMS are already placed.

All panoramas are embedded in the blend file. Go to File/External Data/Unpack Resources if you want to extract the panoramas for practice.

Note: All panoramas here are very unbalanced. I only used them for testing. The best practice is of course to use only well levelled panoramas.

Read/use the krpano values

To read out the values for krpano you need an arrangement of all used models and/or all used panoCAMs.

This could be:

  • the models in the TOUR3D folder (is created if you have used the ‚MakeExportReady‘ method)
  • a single model with all well placed panoCAMS (the dollhouse or just the ‚main-model‘)
  • or a mixture of them

This is also the place where you can add hotspots if needed.

Hint: You can move and rotate the arrangement as long as everything fits together well.

Values for different models for each panorama:

If you want to use different models for each panorama, you must first prepare and export the models:

  • select all HANDLEs and at least the model (must be active object)
  • click MakeExportReady in the Export-panel

This will create two new folders, DEPTH3D and TOUR3D:

The DEPTH3D folder contains all finished 3D-depthmaps, ready for to use within krpano. Just export them from here as STL file (don’t forget to check ‚Ascii‘ and ‚Selection Only‘).

The TOUR3D folder contains all finished 3D-depthmaps perfect aligned to each other. Use this arrangement to read out the values for position and rotation.

Select the a model to get the ox/oy/oz and prealign values for the image:

<scene name="scene_flur01" title="flur01" >
    <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
    <preview url="panos/flur01-us.tiles/preview.jpg" />
    <image ox="-31.87" oy="-132.o" oz="312.69" prealign="-22.7|-48.97|0.04" >
        <cube url="panos/flur01-us.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,1024" />
        <depthmap url="models/flur1_depth.stl"


You can also select multiple models and print multiple outputs as a pre-made style:

<style name="bad_STYLE" ox="223.53" oy="-131.9999" oz="456.76" prealign="30.86|-76.89|0.0" />
<style name="zimmer1_STYLE" ox="307.11" oy="-131.99" oz="14.36" prealign="-48.46|136.28|0.65" />

Values for one single model for multiple panoramas

You can use the ‚main-model‘ or the dollhouse as depthmap for all panoramas (keep sure all transforms are applied before exporting the model as STL or OBJ file).

To read out the values, you just need the model with the well placed panoCAMs.

Select the HANDLEs to get the ox/oy/oz values for the image and the align and origin values for the depthmap:

<scene name="scene_flur01" title="flur01-us" >		
    <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
    <preview url="panos/flur01-us.tiles/preview.jpg" />
    <image ox="-31.874" oy="-132.0" oz="312.693">
        <cube url="panos/flur01-us.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,1024" />
        <depthmap url="models/dollhouse.obj"
            origin="0.319, 1.32, -3.127"

Here is a tour, where I have included both ways for testing:


Schreibe einen Kommentar

Spamschutz. Bitte die Aufgabe lösen * Time limit is exhausted. Please reload CAPTCHA.