bf-blender w/ particle stuff 03/05/2004

User-contributed CVS development builds. Please test and give feedback!

Moderators: jesterKing, stiv

leon
Posts: 0
Joined: Mon Oct 20, 2003 7:14 am

bf-blender w/ particle stuff 03/05/2004

Post by leon »

hi all,

A little update to the bf-blender I posted recently: just improvements to deflection. Leaking should be almost (if not completely) gone, at least for stationary deflectors.

Calculation is a little slower, but the results are much better!

The binary is here:

http://reblended.com/www/leon/bf-blender.zip

And for those with other OS's (and who are feeling *really* adventurous!), there's a patch against bf-blender here:

http://reblended.com/www/leon/bfpatch.txt

The patch hasn't been tested as far as I know yet, so be careful!

Cheers

Leon

ada89
Posts: 0
Joined: Sat Sep 06, 2003 10:26 pm

Post by ada89 »

Just tested it...and..YAY no more leakage!!!


...but when i set surface damping to 1, the leakage does happen but if i set it to 0.999, no leakage. I hope you can fix it :D

leon
Posts: 0
Joined: Mon Oct 20, 2003 7:14 am

Post by leon »

hi ada89,

Thanks, noted and fixed! I'll update later today probably!

Cheers

Leon

kencanvey
Posts: 0
Joined: Mon Jun 02, 2003 7:54 am
Location: Smethwick West Midlands UK

Post by kencanvey »

Thanks Leon, :D

can't wait until this is part of Blender proper :D


Ken

lucky3
Posts: 12
Joined: Thu Oct 17, 2002 6:08 pm

Post by lucky3 »

great improvements!! there's no leakage now!

[edit]: I've just a little feature request: have the ability to set an object "Destructor" (like "Deflection" for example) who could destroy the particles when they touch the Destructor Object.
What do you think about this? Is it possible?

leon
Posts: 0
Joined: Mon Oct 20, 2003 7:14 am

Post by leon »

lucky3: that's an interesting thought. I'll have a think about it and let you know...

Rhysy
Posts: 0
Joined: Sun Feb 01, 2004 7:22 pm

Post by Rhysy »

I'm sure I'm missing something obvious, but I can't get the new effects to work. I've set a plane to deflect particles and permeability is 0, but particles just go straight through. Anything else I have to do ?
I put the binary in my 2.33 directory, I'm running Windows XP.

leon
Posts: 0
Joined: Mon Oct 20, 2003 7:14 am

Post by leon »

Hi Rhysy,

Some things to check:

1) Make sure the plane normal is pointing towards the particles
2) Make sure you have clicked "recalc all" on the emitter after making the plane a deflector
3) For nice results, the "keys" value should be increased from it's default of 8 to 50 or 100, depending on the particle life.

If these don't work (or they're too obvious and you've tried already!), could you post the .blend on website somewhere, and I'll take a look?

Cheers

Leon

Rhysy
Posts: 0
Joined: Sun Feb 01, 2004 7:22 pm

Post by Rhysy »

Thanks, that solved it !
Now if I can only find a use for this.... :P

Koba
Posts: 0
Joined: Thu Apr 15, 2004 9:48 am

Post by Koba »

Hi

How about this for a use of the new particle deflection: Fluid dynamics! I feel this would be a great goal for blender. Just duplivert metaballs to the particles and now you can have real fountains with realistic flowing water! The water could spray up, fall down under gravity and collect realistically in the bowl of the fountain. With raytracing the effect would be superb! I have tried it but currently this works but is slow (due to the massive mesh resolution after metaball conversion) and unrealistic as there is nothing to simulate surface tension.

If the metaball code was adjusted to make lower resolution meshes with larger volumes of influence and/or the particles could be made to repel each other/keep their distance, blender would be able to do real nice water effects like the Realflow plugin for all those "high-end" 3D apps. The possibilities would be endless. It would be more usable if Blender could import a series of sequential meshes (converted metaballs) for each frame so the metaballs would only have to be converted and calculated once and not every time the frame changes. Maybe I could write a python script to do this if there isn't one already.

This is an advanced feature that I feel could be implemented relatively easily as Blender already has all the right elements (particles deflection, dupliverts and metaballs). I feel it would be an impressive feature that would make blender even more formidable. Don't let these ideas distract the coders from their current goals but it seems to me it is all there just waiting to be put together!

Well done leon for this great new feature!

Koba.
Last edited by Koba on Sun May 09, 2004 2:10 pm, edited 1 time in total.

ideasman
Posts: 0
Joined: Tue Feb 25, 2003 2:37 pm

Post by ideasman »

As well a duplivert metaballs you could apply a procedural displacement map on the metaballs so the actual mesh shape changes to be more like water (waves etc)

Koba
Posts: 0
Joined: Thu Apr 15, 2004 9:48 am

Post by Koba »

Wow. Didn't think of that.

Never tried applying procedular displacement maps to metaballs. Does this work? Or do you mean applying a displacement map after the conversion to polys? Thats a good idea to give small scale variations to drops, for example.

Koba.

Monkeyboi
Posts: 251
Joined: Tue Nov 26, 2002 1:24 pm
Location: Copenhagen, Denmark
Contact:

Post by Monkeyboi »

I'm afraid I don't think displacement mapping works with metas. Just tried, and they go all black :(

lucky3
Posts: 12
Joined: Thu Oct 17, 2002 6:08 pm

Post by lucky3 »

Monkeyboi wrote:I'm afraid I don't think displacement mapping works with metas. Just tried, and they go all black :(
displacement mapping works with metaballs, nurb and mesh. take a look at the 2.32 release notes and this pic :
http://www.blender3d.org/cms/uploads/pics/Displace5.png

[edit]
oops i've just tried it and you're right, the render is black, except with the Zinvert enabled. In fact, the Zbuffer is wrong, inverted.
[/edit]

ada89
Posts: 0
Joined: Sat Sep 06, 2003 10:26 pm

Post by ada89 »

Just tested it and it does works but the weird thing was that I had to place the lamp behind metaball to shine in front of it.……bug? :(

Post Reply