[Bf-committers] New force type patch: Spring (Farsthary)

Raul Fernandez Hernandez raulf at info.upr.edu.cu
Tue Dec 15 16:55:55 CET 2009

Hi :)

> This sounds really great. Could you give and example of how it might
> be used for objects and what that might look like? I had the same
> thoughts about it as a force.
> Thanks!

 In my site I have uploaded some examples with fluids that adds elastic
behavior for them.

 with sigle objects set to spring force you get that object extending
springs to every afected particle, and with particles set to affect
themselves with spring forces you get the typical N-body elastic

 This fill the gap between particles and softbody, allowing a wide range
of interesting effects.

> On Mon, Dec 14, 2009 at 7:55 PM, Raul Fernandez Hernandez
> <raulf at info.upr.edu.cu> wrote:
>> Hi all :)
>> Searching to add spring forces for the fluid particles I end up with a
>> nice patch that adds also spring force as a new general force type that
>> could be used like any other blender force: for objects, particles, etc.
>> Needless to say the importance and wide use cases for spring forces in
>> 3D,
>> previously this functionality was aviable in Blender only in
>> softbodies,cloth and constraints but with this patch could be extended
>> to
>> particle systems for many SFX's and also to objects, te posibilities are
>> endless :)
>>  Is interesting to note how the particle system integrate features from
>> softbodies and fluids :)
>>  I will send thi spatch also to Jahka for review and commit
>>  Is very easy to implement and does not break any previous code, it
>> only
>> will need a new UI slider for spring rest length but I'm not good at UI
>> coding, though it should be easy to add :)
>>   http://www.pasteall.org/9806/diff

More information about the Bf-committers mailing list