I am a newcomer to Krpano, and my panoramic image and OBJ model have directional deviations. I have quaternions for the direction of panoramic shooting, but I am not sure how to convert them into angles available for depthmap. align.
|
Quellcode
|
1
|
"rotation":{ "x":-0.0012495082253, "y":-0.005800439912, "z":0.5733134798673, "w":0.8193146205387 }
|
|
Quellcode
|
1
2
|
<scene name="anjubao-13" title="anjubao-13" onstart="showmodelinfo('dollhouse.obj', 'OBJ');" lat="" lng="" alt="" heading=""> <view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" /> <image ox="-446.8856357997" oy="0" oz="283.7837219605"> <sphere url="./anjubao/13.jpg" /> <depthmap url="anjubao/mesh.obj" enabled="true" rendermode="3dmodel" scale="100" origin="image" axis="-y+x+z" align="-0.0012495082253|-110|0.005800439912" /> </image>
</scene>
|
align="-0.0012495082253|-110|0.005800439912"
It is right,but i dont not why.
I would greatly appreciate any answer.