Snow Effect General Questions

Q&A about the latest versions
Post Reply
User avatar
1uv3
Posts: 123
Joined: Thu Sep 20, 2018 10:18 pm

Snow Effect General Questions

Post by 1uv3 » Thu Dec 20, 2018 4:54 am

It seems that I am the first with a question about the glorious snow effect. Looks fantastic on mobile devices as well. Great job :-)

In the "Snow Code" it says
to start and stop the effect, you can use a 'Go to URL' action and put the following piece of code into the URL field: "javascript: startSnow();" or "javascript: stopSnow();"
I have tried adding the code but either get nothing at all or I get a black screen once the tour is published which all depends on if I inserted the code before or after the node such as "{node2} javascript: stopSnow();" or "javascript: stopSnow(); {node2}"

I obviously have no idea what I am doing here :-) Could someone please show the proper syntax for as example, to turn off the snow for node 2.

Thanks all!
Creative expression is the Universe's only way of experiencing every configurative atomic possibility capable within a finite Universe.

User avatar
Hopki
Gnome
Posts: 9001
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Snow Effect General Questions

Post by Hopki » Thu Dec 20, 2018 12:42 pm

Hi,
In the attached project I am using a Node Marker.
I just tagged the node/s that should not display snow with "stop_snow".
The Node Marker then has the tag set in its properties.

Screenshot 2018-12-20 at 11.32.38.png
Screenshot 2018-12-20 at 11.32.38.png (18.18 KiB) Viewed 406 times

It then has the actions:
Activated, Go to URL: javascript: stopSnow();
Deactivated, Go to URL: javascript: startSnow();

As the pano opens with the tag stop_snow the Node Marker becomes active and the URL Javascript call stops it.
When you move to a pano without the tag the Node Marker Deactivates so calls the Deactivated action to start it again.

If you do not want the snow to start on open, then in the text box "snow_code" at the top you will see:

Screenshot 2018-12-20 at 10.22.29.png
Screenshot 2018-12-20 at 10.22.29.png (28.46 KiB) Viewed 406 times

Set var snowOnLoad = true; to read
var snowOnLoad = false;

Regards,
Hopki
Attachments
snow.zip
(39.76 KiB) Downloaded 23 times

User avatar
soulbrother
Posts: 328
Joined: Tue Apr 08, 2008 7:01 pm
Location: München
Contact:

Re: Snow Effect General Questions

Post by soulbrother » Thu Dec 20, 2018 4:50 pm

Hi Hopki and thanks for your fast answers.

Is there any way to hide the snow, while a fly in is active and ideally to fade in the effect either after the flyin is finished, or after a defined time (via timer)?
)I already tried to modify alpha of the image, but it does not show an effect.

The second wish (yepp it near to Xmas, so I write wishes here...):

Is there a possibility to use 2 of the snowflakes at the same time?

Like that in the screenshot, but I did not get it running...
Of course I treid several "usual" modifications, like different names and changing the names of the image inside the code, but no way...
snowflake-test.jpg
snowflake-test.jpg (28.8 KiB) Viewed 398 times

User avatar
1uv3
Posts: 123
Joined: Thu Sep 20, 2018 10:18 pm

Re: Snow Effect General Questions

Post by 1uv3 » Thu Dec 20, 2018 10:31 pm

Hopki wrote:
Thu Dec 20, 2018 12:42 pm
Hi,
In the attached project I am using a Node Marker.
I just tagged the node/s that should not display snow with "stop_snow".
The Node Marker then has the tag set in its properties.
Thanks Hopki! Works perfectly :-)
Creative expression is the Universe's only way of experiencing every configurative atomic possibility capable within a finite Universe.

User avatar
1uv3
Posts: 123
Joined: Thu Sep 20, 2018 10:18 pm

Re: Snow Effect General Questions

Post by 1uv3 » Fri Dec 21, 2018 1:24 am

Hi All,

Is it possible to make the snow effect appear IN FRONT of pinned objects? If so, how is this accomplished?

Thanks!
Creative expression is the Universe's only way of experiencing every configurative atomic possibility capable within a finite Universe.

User avatar
Hopki
Gnome
Posts: 9001
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Snow Effect General Questions

Post by Hopki » Fri Dec 21, 2018 11:50 am

Hi Guys
@ soulbrother:
You can not for the moment, to keep the speed its one graphic which we then use the texture.
This is processed in GPU so no slowdown.


@1uv3:
Again not at the moment.
The snow effect has been a bit of a distraction from the normal development path but I know the developers still have some ideas for it.
What and when is down to the devs.

Regards,
Hopki

User avatar
1uv3
Posts: 123
Joined: Thu Sep 20, 2018 10:18 pm

Re: Snow Effect General Questions

Post by 1uv3 » Sat Dec 22, 2018 4:05 am

No worries Hopki......it's a great effect even as it is.

Thanks!
Creative expression is the Universe's only way of experiencing every configurative atomic possibility capable within a finite Universe.

User avatar
Sergey Burov
Posts: 8
Joined: Thu Nov 16, 2017 3:04 pm
Location: Moscow, Russia
Contact:

Re: Snow Effect General Questions

Post by Sergey Burov » Sat Dec 22, 2018 7:33 am

Thanks Hopki! Happy New Year!

linkaran17
Posts: 16
Joined: Mon Mar 09, 2015 9:39 pm

Re: Snow Effect General Questions

Post by linkaran17 » Thu Dec 27, 2018 5:24 pm

I realy like the snow EF and for Next Xmas would be nice enough having different kinda snow density/shapes per pana in a tour :mrgreen:
The snowFX worked fine for this year season greetings: http://xpoisure.com/seasons-greatings-2018/

User avatar
1uv3
Posts: 123
Joined: Thu Sep 20, 2018 10:18 pm

Re: Snow Effect General Questions

Post by 1uv3 » Thu Jan 24, 2019 10:41 pm

Hi,

I notice that when the snow effect is turned off for certain nodes that while the node is loading the snow effect is still turned on. Once the node is loaded then the snow effect shuts off. Here is a video showing what I mean.....you can see the snow till the node loads.

https://www.youtube.com/watch?v=uSkMRSDvra4

Thanks!
Creative expression is the Universe's only way of experiencing every configurative atomic possibility capable within a finite Universe.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 9 guests