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.

1

Monday, November 4th 2019, 6:39pm

Polygonal hotspots bug

In recent versions, there was an error displaying large polygonal hotspots. In the flash player everything is displayed as it should, but on html5 an error appears and some of the points are shifted in the mirror direction.
https://sferitus.com/?xml=fly/stadium/tour.xml


Source code

1
 	<hotspot name="spot1"><point ath="41.854632" atv="17.702521" /><point ath="150.940513" atv="11.919116" /><point ath="153.762042" atv="12.254591" /><point ath="46.729459" atv="21.673211" /><point ath="39.148851" atv="19.513441" /><point ath="-7.095752" atv="8.511058" /><point ath="-4.324017" atv="8.109533" /></hotspot>
Fertilizer has attached the following image:
  • Screenshot_10.jpg

2

Wednesday, November 13th 2019, 3:48pm

Hi,

the new polygonal hotspots rendering by WebGL has a limitation that a polygonal can't cover more than 180 degree field of view.

The reasons is that the polygonal is internally projected into a flat surface to make it possible to sub-divide it intro triangles for rendering. And a flat surface is limited to limited to 180 coverage. The advantage of that is the way faster rendering.

At means at the moment such large polygonal would need to be either splitted into several smaller ones - or the setting renderer="css3d" by used to use the old rendering by SVG.

Best regards,
Klaus

PanoramicWEB

Intermediate

Posts: 159

Location: Turkey

  • Send private message

3

Saturday, May 2nd 2020, 8:41am

Hi Klaus, is there a way for polygonal hotspot to capture false?
At means at the moment such large polygonal would need to be either splitted into several smaller ones - or the setting renderer="css3d" by used to use the old rendering by SVG.

4

Saturday, May 2nd 2020, 8:57pm

Yes, just capture="false", should work in all cases...

Kabkee

Trainee

Posts: 91

Location: South Korea

Occupation: South Korea

  • Send private message

5

Saturday, August 22nd 2020, 5:30pm

loadstyle might not work

Hi, I got the same problem.

I dynamically added hotspot and add points.
And then, call loadstyle() with <style> having capture='false'

It was not working.
Because of that, I set every individual attributes using set() action.
Then works !


Hi Klaus, is there a way for polygonal hotspot to capture false