You are not logged in.

1

Monday, April 7th 2014, 12:25pm

png opacity

Hi everyone.
I have a problem...

I am using a png for a floorplan used as a map with hotspots. Works like a charm (I am using "mouseOver" to display the map and the map minimizes when mouse leaves). My problem is that my map is irregular and the mouseOver reads the whole image (not just the visible part of the png).
Is there a way to get the transparancy to work so the map minimizes when it leaves the visible part (not the "bounding box" of the image)?
Greatful for suggestions.

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

2

Monday, April 7th 2014, 2:20pm

VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

3

Monday, April 7th 2014, 3:25pm

Thanks a million, hard to find all little gems in the documentation.
Any thoughts on html5 solutions?

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

4

Monday, April 7th 2014, 5:59pm

Hi!
for html5 tour version you can use SVG for example, over tour window
or any other html element.

Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

5

Tuesday, April 8th 2014, 7:42pm

Hi,

implementing the pixelhittest feature is currently technically not possible in HTML5.

In Flash it works by drawing the (composed) plugin element into a small bitmap at the mouse cursor position and checking if the bitmap is transparent. In HTML5 there exists currently no technically equality.

Best regards,
Klaus