You are not logged in.

1

Tuesday, January 24th 2017, 1:40pm

BUG! Hotspot/Layer transparency in Chrome on Windows

If you check this link on various browsers you will see that on Google Chrome on Windows the star disappears. It seems, if you make a layer the child of distorted hotspot, Windows Chrome cannot handle an alpha between 1 and 0. All the other browsers (including OSX Chrome) on all the platforms I have access to, work fine.

Does anybody know a work around which doesn't involve using an alpha of 1?

here's the code

addhotspot(Test);
set(hotspot[Test].url,%SWFPATH%/Dot.jpg);
set(hotspot[Test].distorted,1);
set(hotspot[Test].ath,0);
set(hotspot[Test].atv,0);
set(hotspot[Test].ry,45);
set(hotspot[Test].rx,0);
set(hotspot[Test].rz,0);
set(hotspot[Test].alpha,.5);
addlayer(Test);
set(layer[Test].url,%SWFPATH%/Star_.png);
set(layer[Test].parent,hotspot[Test]);

Alexey Tkachenko

Professional

Posts: 760

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Tuesday, January 24th 2017, 2:01pm

Hi)


Check out the line

Source code

1
set(hotspot[Test].distorted,1);
Distorted must be 'true' or 'false'. Maybe this will help.



Regards,

Alexey

3

Wednesday, January 25th 2017, 4:39pm

1 & 0 can replace true and false in KRPano.