Snow Effect General Questions

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

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!
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

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 4862 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 4862 times

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

Regards,
Hopki
Attachments
snow.zip
(39.76 KiB) Downloaded 243 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
soulbrother
Posts: 545
Joined: Tue Apr 08, 2008 7:01 pm
Location: München
Contact:

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 4854 times
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 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 :-)
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

Hi All,

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

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

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
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

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

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

Thanks Hopki! Happy New Year!
linkaran17
Posts: 16
Joined: Mon Mar 09, 2015 9:39 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
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 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!
Post Reply