Page 1 of 1

auto appearing hs object/text

Posted: Wed Aug 29, 2018 9:13 am
by MPW
Hi there,
I want to insert a nonvisible hotspot, that automatically shows a joining object (text) when entering a defined screen-area (e.g. center part) and hides it when leaving: means: you turn the pano and when the coffeetable is within the center region a text appears saying "want a coffee? Or two?". When the coffeetable leaves the center the text dissolves.
Thought of hotspot action with mouse over and adding a centerposition square (vis 0,0001) with init: generate Mouseover (which doesn´t exist unfortunately). When the hotspot enters the square...you know. :?
Is someone having a workaround for this?
I really would appreciate!

Re: auto appearing hs object/text

Posted: Wed Aug 29, 2018 12:19 pm
by Hopki
HI MPW,
In Pano2VR 5 and on you can add an Alpha logic block.
You set the Hotspot to Alpha 0.00.
Then set a Pan value between the width of the table, example 90 to 110.
The set the logic block to:
Pan >= 90 AND
Pan < = 110
Alpha 1.00
Transition Time 1.00

As you rotate the panorama when you are between 90 and 110 degrees the hotspot will fade in and fad out when leaving.
Regards,
Hopki

Re: auto appearing hs object/text

Posted: Wed Aug 29, 2018 1:01 pm
by MPW
Thank you, wonderful.
Was aware of alphablocks, but not in this combination.

I connected a svg to the hotspot, activated the smooth transition ( 3 sec) but the popup happened at once.

Is it because of the svg?

Re: auto appearing hs object/text

Posted: Wed Aug 29, 2018 4:56 pm
by Hopki
Hummmm, should not cause a problem.
If you have any other logic blocked set then they must also have transitions.
If your still getting problems can you post your skin?
Regards,
Hopki

Re: auto appearing hs object/text

Posted: Wed Aug 29, 2018 5:22 pm
by MPW
Yes, I still have the problem.
I reduced the skin just to the hotspots.
Hottext_cr appears between -20 and 20, but no smooth transition.
Any idea.
Skin attached...

Re: auto appearing hs object/text

Posted: Wed Aug 29, 2018 5:56 pm
by MPW
Oh,
just found it.
I attached the alphablock to the hotspot element without success.
Now I changed it: hotspot always visible and the svg, coming within the hotspot, now with the alphablock.
Now it´s working.
Sorry, didn´t thought of before.

So, thanks again for the idea.

Re: auto appearing hs object/text

Posted: Thu Aug 30, 2018 1:59 pm
by Hopki
Just glad you got it working.
Regards,
Hopki