You are not logged in.

Dear visitor, welcome to 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.


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.

Source code

 	<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


Wednesday, November 13th 2019, 3:48pm


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,