Hey all,
Do u know how to embedpano xml with react?
i'm using local url. it have error invalid depthmap file
model.depth is encrypted using krpano tool
Code
<krpano onstart="loadscene(scene1);">
<style name="style_pano1" tx="-1671.52" ty="-142.49" tz="4.93" ox="-1671.52" oy="-142.49" oz="4.93" origin="16.72, 1.42, -0.05" align="-0.01|90.0|0.21" />
<scene name="scene1" title="pano1" onstart="" thumburl="http://127.0.0.1:5500/panos/pano1.tiles/thumb.jpg" lat="" lng="" alt="" heading="">
<control bouncinglimits="calc:image.cube ? true : false" />
<view hlookat="0.0" vlookat="0.0" fovtype="MFOV" limitview="auto" />
<preview url="http://127.0.0.1:5500/panos/pano1.tiles/preview.jpg" />
<image style="style_pano1">
<cube url="http://127.0.0.1:5500/panos/pano1.tiles/pano_%s.jpg" />
<depthmap url="http://127.0.0.1:5500/model/model.depth"
enabled="true"
rendermode="3dmodel"
background="none"
scale="100"
offset="0.0"
subdiv=""
encoding="gray"
axis="+x+y+z"
cull="front"
hittest="true"
origin="16.72, 1.42, -0.05"
align="0|90.0|0"
/>
</image>
</scene>
</krpano>
Display More