I’m trying to add motion blur support for particle systems and dupli objects to my Corona exporter.
So I need to get the animated matrices for each dupli in an object’s dupli_list on subsequent subframes and save them as a list. Does this make sense?
I tried stepping through the subframes, each time creating a new dupli_list, looping through the duplis and saving their matrices, then clearing the dupli_list. This works okay for animated dupli-faces / dupli-verts stuff, or for ‘hair’ particle systems.
But what I realized was that for emitter particle systems, the number of duplis changes all the time! In one frame there’s, say, 200 particles. In the next frame, depending on the lifetime of particles and the rate of emission, it could be anything! I wonder, is there any way at all to get a list of live particles on a given frame, and narrow it down to just this list on subsequent frames?