Page 1 of 1

Particles and Cluster

Posted: 19 Nov 2018, 17:52
by VincentPix
Hello

I wonder how the synchronisation of the particles works in cluster mode.

If I do a burst of particle how to be sure that it will be the same "random" emission on every machine of the cluster.

Thant you for your advices.

Vincent

Re: Particles and Cluster

Posted: 20 Nov 2018, 12:10
by stephen
Hi Vincent,

there is no synchronization specifically for particles. We simply take advantage of the fact that a Computer cannot generate real random numbers. So the random numbers in the particle system have the same seed by default and thus generate the same results. As long as e.g. Events are not fired in different frames or the particle system gets different inputs on each cluster machine otherwise, the result will be in sync. In a simulated particle stream when a machine drops a frame the result of course can differ as well - this will not happen in a functional stream, since the particles' attributes are directly based on the cluster clock and not on the last frame's attributes.

I hope this will give you some insight into the workwise of the particle system
Best
Stephen

Re: Particles and Cluster

Posted: 20 Nov 2018, 12:21
by VincentPix
Perfect !

Thank you very much