[Bf-python] Particles
Campbell Barton
cbarton at metavr.com
Thu Aug 3 13:17:34 CEST 2006
jmsoler at free.fr wrote:
> 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 .
>
Im not sure how most people would use this, but it seems that
DupliObjects are only usefull when you have dupli objects enabled, for
halo's in cases that there are no dupli's this data would be usefull,
JMS, do you want to make the patch?
- Cam
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-python
mailing list