You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

  • "YASUSHI KUMON" started this thread

Posts: 90

Location: kanagawa,japan

Occupation: photographer

  • Send private message

1

Sunday, April 17th 2022, 1:59am

polygonal hotspot ---problem?

Hi,
I created a high resolution flat panorama with a polygonal hotspot.
If you increase the magnification, the line will move and appear as if it trembles.
Is there a way to get rid of this?

Click here for the video.
https://chiiden.com/panorama/learn_krpano/line_problem.mp4

Click here for the panorama.
https://chiiden.com/panorama/macro/1000yen/

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<hotspot name="redline"
     	keep="true"
     	visible="true"
     	enabled="true"
     	handcursor="false"
     	alpha="1.0"
     	polyline="true"
     	fillcolor="0xFF0000"
     	fillalpha="0.5"
     	borderwidth="5.0"
     	bordercolor="0xFF0000"
     	borderalpha="0.5"
     	borderzoom="1.0"
     	borderhittest="false"
     	subdiv="true"
     	>
    	<point ath="-0.500" atv="-0.252" />
    	<point ath="0.500" atv="0.252" />
</hotspot>
Thank you.

2

Monday, April 18th 2022, 9:56am

Hi,

that looks like a numeric accuracy problem of the calculations on the GPU...
And it seems to be system/GPU specific, I was able to reproduce on iOS but not on my Windows system.
Will look for improvements.

As 'workaround' for the moment you could use a non-GPU drawn polygon by adding renderer="css3d" to the <hotspot>.

Best regards,
Klaus

  • "YASUSHI KUMON" started this thread

Posts: 90

Location: kanagawa,japan

Occupation: photographer

  • Send private message

3

Wednesday, April 20th 2022, 2:22pm

Hi,Klaus

wonderful!
Perfectly improved.
thank you!



https://chiiden.com/panorama/macro/1000yen/
Yasushi Kumon

orca.cl

Beginner

Posts: 7

Location: Chile

Occupation: Graphic Design

  • Send private message

4

Thursday, April 21st 2022, 5:53pm

Hi,Klaus

wonderful!
Perfectly improved.
thank you!



https://chiiden.com/panorama/macro/1000yen/
Yasushi Kumon

(I know this has nothing to do with the question, sorry)

Holy wow that's an impressive panorama!! great work
Graphic Designer, Photographer and Self Taught Web Developer.
I know I'm an unicorn. thumbsup