Hi all.
I have a question about adding an offset in the 3D view.
The hotspot in the image or text box will not be misaligned with the panoramic image if the DEPTH is set correctly.
However,
in the case of polygonal hotspots, it is not possible to set the DEPTH
of each point, so if the offset is increased, the shape will be
distorted.
Is there any way to resolve this?
Thank you.
https://chiiden.com/panorama/2022/test/depth_poly/
The top slider allows you to move ox and the left slider allows you to move oy.
Code
<hotspot name="html0" type="text" depth="1000" enabled="false"
html="depth_1000" ath="0" atv="0"
css="font-family:sans-serif; font-size:12px; color:#000000;"
bgcolor="0xFF0000" bgalpha="0.5"/>
<hotspot name="poly0" depth="1000" enabled="false" fillalpha="0" borderwidth="4" bordercolor="0xFF0000" borderalpha="0.5">
<point ath="-10" atv="-10"/>
<point ath="10" atv="-10"/>
<point ath="10" atv="10"/>
<point ath="-10" atv="10"/>
</hotspot>
<hotspot name="html1" type="text" depth="1080" enabled="false"
html="depth_1080" ath="10" atv="-20" align="center"
css="font-family:sans-serif; font-size:12px; color:#000000;"
bgcolor="0xFF0000" bgalpha="0.5"/>
<hotspot name="poly1" depth="1080" enabled="false" fillalpha="0" borderwidth="4" bordercolor="0xFF0000" borderalpha="0.5">
<point ath="20" atv="-28"/>
<point ath="0" atv="-29.5"/>
<point ath="0" atv="-10.5"/>
<point ath="20" atv="-10"/>
</hotspot>
Alles anzeigen