Jump to content

Synchronize particle in Slave


photo

Recommended Posts

Posted

How does Master Synchronize the particle to Slave? 

Thanks.

Posted

Hi Lukas,

It synchronizes the main parameters only. Like: seed, emitter size, delay spread, forces, timing.. In most cases this is enough.
It does not synchronize every single particle. On the one hand, it is good for optimization and reduces the total amount of packets sending over the network. On the other hand, complex particle systems do not work properly at the moment.
You can see the commented line at 1226 in source/plugins/Network/Syncker/source/SynckerSerializer.cpp file: ObjectParticles::cast(object)->saveStateParticles(stream);
If you uncomment it (1448 line) the Syncker will synchronize each particle in particle systems, but the network load will become very large, which will lead to connection problems. We are looking for a solution to this problem.

Best regards,
Alexander

  • Like 1
×
×
  • Create New...