Sie sind nicht angemeldet.

  • »spacerywirtualne« ist der Autor dieses Themas

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

1

Donnerstag, 26. Januar 2023, 19:29

Detect layer over leyer.

Hi

Do you know the best way to detect layer over leyer? Something similar to hovering, but without using the mouse cursor - just a layer. *whistling*


Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

2

Freitag, 27. Januar 2023, 10:51

for simple/known setups maybe just use align, edge, pixelwidth/height...
maybe transfer to screen coords using layertoscreen(), then compare
but covering all cases would be tricky.. and slow.. *huh*

  • »spacerywirtualne« ist der Autor dieses Themas

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

3

Freitag, 27. Januar 2023, 11:31

thanx indexofrefraction

I've studied the topic and, wanting to avoid the massive use of loops, I think the best solution would be to implement jQuery's collision mechanism.


Piotr *thumbup*
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*