Sie sind nicht angemeldet.

a.pu

Schüler

  • »a.pu« ist der Autor dieses Themas

Beiträge: 120

Beruf: software engineer, author of krpano syntax highlighting, bundler and style guide

  • Nachricht senden

1

Donnerstag, 16. Juli 2020, 10:00

Polygonal hotspots in webgl render mode bug

Hi, take a look at demo here:

https://drive.google.com/file/d/13G9Tom4…iew?usp=sharing
(just add tour.js)

These two polygonal hotspots have the same point array values. Red one is webgl, blue one is css3d rendered.
Red one is clearly wrong
»a.pu« hat folgendes Bild angehängt:
  • Screenshot 2020-07-16 at 10.50.26.jpg

Sergey74

Fortgeschrittener

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

2

Donnerstag, 16. Juli 2020, 10:49

translation difficulties *huh*

3

Donnerstag, 16. Juli 2020, 14:02

Hi,

that might sound strange - but due the fisheye distortion the webgl-one is the correct one. The non-webgl display is simply connecting the points with lines, but ignoring the viewing distortion.

Another problem - the hotspot is 'too large', it covers more than 180 degree of view, so a meaning full rendering becomes difficult.

But if you want - try disabling the subdiv setting - then the points will be also connected with straight lines.
https://krpano.com/docu/xml/#hotspot.subdiv

Best regards,
Klaus

a.pu

Schüler

  • »a.pu« ist der Autor dieses Themas

Beiträge: 120

Beruf: software engineer, author of krpano syntax highlighting, bundler and style guide

  • Nachricht senden

4

Donnerstag, 16. Juli 2020, 14:32

Hi,

that might sound strange - but due the fisheye distortion the webgl-one is the correct one.

Best regards,
Klaus


Yes, hotspot is very big, I've used distortion just to show the issue better.
Thanks for the reply, I'll stick to webgl for now.