[Bf-python] Particles

jmsoler at free.fr jmsoler at free.fr
Thu Aug 3 13:04:31 CEST 2006


Selon Campbell Barton <cbarton at metavr.com>:

> Hey all..
> I just experimented with particles today with mixed results.
>
> getParticlesLoc worked for point particles.
> for particels with length it used the starting point only. (length is
> ignored)
> and for static particles it didnt return anything.
>

This needs an improvement but it is not so hard to do as all the missing
infos can be retreived in the function Object.DupObjects which manages
correctly the static particules in duplication .

> Could these improvements be good?
> * Use Vectors for particle locations instead of lists of 3 floats

Sound as a good idea .

> * for particles with length- and static/animated particles, make each
> strand a list of vectors.

It can be done in python but faster if already compiled .

Note : getParticules and DupObjects use functions borrowed
to the render core and it seems that all this may  change
soon ...

Regards .



More information about the Bf-python mailing list