Sie sind nicht angemeldet.

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 94

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

1

Freitag, 16. Dezember 2022, 04:54

Offset and polygonal hotspot shape in 3D view

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.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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>

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 94

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

2

Freitag, 16. Dezember 2022, 09:05

Fixed the broken link.

sorry.
The url link was broken.
Fixed.

https://chiiden.com/panorama/2022/test/depth_poly/



kme

Fortgeschrittener

Beiträge: 310

Wohnort: Belgium

Beruf: Long time coder, product manager and 3D enthousiast

  • Nachricht senden

3

Freitag, 16. Dezember 2022, 10:24

Is there a reason to use "offset" instead of updating the actual view?

  • »YASUSHI KUMON« ist der Autor dieses Themas

Beiträge: 94

Wohnort: kanagawa,japan

Beruf: photographer

  • Nachricht senden

4

Freitag, 16. Dezember 2022, 12:04

The Reasons

For example, it is used to observe a wall or floor surface as a planar image.
At this time, it is better if the polygons on the wall or floor surface are not misaligned.