Sie sind nicht angemeldet.

1

Montag, 2. November 2020, 12:54

Jerky/stuttery text inside html hotspot

Hi!

So we have a bunch of hotspots with custom html designs, containing divs, texts, etc. Everthing appears fine but when the view is moved slightly the text seems to be stuttery, jumping around a tiny bit sometimes changing size. Again, it's a very minor change but noticeable.

Any idea on how to avoid this without making the hotspot distorted?

Thanks!

2

Montag, 2. November 2020, 18:32

Hi,

try setting the accuracy setting to 0:
https://krpano.com/docu/xml/#hotspot.accuracy

and additionally eventually also renderer to css3d:
https://krpano.com/docu/xml/#hotspot.renderer

Best regards,
Klaus

3

Dienstag, 3. November 2020, 06:44

Hi!

Thanks, unfortunately that didn't help. The rendered was already set to 'css3d' and now I added the accuracy setting, but it still is jerky. I added a short video clip showing the exact problem. Any ideas?
»panopan« hat folgende Datei angehängt:
  • jerky.zip (89,2 kB - 90 mal heruntergeladen - zuletzt: 16. Oktober 2023, 22:20)

4

Dienstag, 3. November 2020, 09:47

Hi,

looks correctly...
The element 'jumps' from one pixel-position to the other.

For sub-pixel / fractional placement the default accuracy=1 would need to be set, but in this case also the browser itself needs to support.
But note that in this case the element can become more blurry when not placed exactly at the pixel-grid.

So the question to find out the problem reason: which browser do you use for testing your example?

Best regards,
Klaus

5

Dienstag, 3. November 2020, 10:43

The browser is the latest Chrome. The hotspot was stuttering like this with accuracy set to 0 and without that too. So how to make it stand still, even when the view is slightly changing? Is that even possible?

6

Freitag, 6. November 2020, 19:38

Hi!

So, any other ideas for a solution? :)

7

Freitag, 13. November 2020, 17:55

Hi,

sorry, but there is no reproducible problem.
Please provide a link to your example.

Best regards,
Klaus