Tyflow 016127 spawn node
#1
I think the spawn node has a bug


Attached Files
.rar   dump.rar (Size: 2.02 MB / Downloads: 154)
.mp4   spwanerror.mp4 (Size: 2.49 MB / Downloads: 138)
  Reply
#2
Hi Shirani,

This is not a bug. Because you set spawn mode to "per step" and you haven't sent Spawned particles out to another event, you're building up a huge number of particles in the same event because you're doubling the particle count each frame and eventually running out of RAM:

Code:
frame 0: 5 particles
frame 1: 10  particles (5 particles each spawned 1 new particle per step)
frame 2: 20  particles (10 particles each spawned 1 new particle per step)
frame 3: 40 particles (...etc....)
frame 4: 80 particles
frame 5: 160 particles
frame 6: 320 particles  
frame 7: 640 particles
....
frame 25: 167772160 particles (167 million particles on frame 25! )
  Reply
#3
Heart 
(08-11-2021, 02:46 PM)tyFlow Wrote: Hi Shirani,

This is not a bug. Because you set spawn mode to "per step" and you haven't sent Spawned particles out to another event, you're building up a huge number of particles in the same event because you're doubling the particle count each frame and eventually running out of RAM:

Code:
frame 0: 5 particles
frame 1: 10  particles (5 particles each spawned 1 new particle per step)
frame 2: 20  particles (10 particles each spawned 1 new particle per step)
frame 3: 40 particles (...etc....)
frame 4: 80 particles
frame 5: 160 particles
frame 6: 320 particles  
frame 7: 640 particles
....
frame 25: 167772160 particles (167 million particles on frame 25! )

Right thank you
  Reply


Forum Jump: