Hi,
I noticed that distorted text hotspot with a height of 1 is displayed with a height of 2 ?
Barebone
Did I miss something ?
Distorted Hotspot height
-
-
- Official Post
For screen-pixels use non-distorted hotspots.
Distorted hotspots are defined with 1000px ^= 90deg fov and not related to the screen-pixels anymore.
-
I understand that Klaus, but my distorted hs with a height of 1 has the same size as the one with a height of 2, the 'capture" zone is only 1 wich is correct.
-
- Official Post
Do you mean the hit-testing is not accurate? (in my tests it is...)
-
hit-testing is correct, width of the line is not (height value in my case).
If you pass your mouse over the left lines you'll see the hit testing is correct, it reacts only half the line width, and it react all the right line width, but left and right lines looks exactly the same.
Sorry if I'm not clear enough... -
video example :
-
- Official Post
Okay, I see the problem now - these are CSS-3D hotspots and the browser is doing the rendering...
I would call it a Chrome CSS-3D bug...
I was testing with Firefox and there it was fine.
Safari has the line-width also okay, but therefore problems with the text...For best cross-platform/cross-browser results, use WebGL hotspots (add renderer="webgl" to the hotspots), then krpano is rendering and hit-testing the hotspots fully on its own.
-
Thanx Klaus, fixed
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!