Particle Flow Discussion


#6001

Of course :slight_smile: Just use Point Color of the object. See examples:

https://vimeo.com/112837652


#6002

Awesome Johnny! I was hoping you will reply.
We should give you some reward (and CG Talk some award) for helping so much to various people.

Here is what inspired me:
https://vimeo.com/88391123

(look from 12:55)

I was listening Allan, and his talk about how hard was to achieve this effects, and I was like: “Naaah… that doesn’t look so hard”, so I created teapot (fragmented and in mparticles), and stuck at first step. :smiley:

Thanks again Johny. :slight_smile:

EDIT:
Looking now at your test. I’ve never used data flow, so I don’t have a clue what you did (btwm do you know any good beginners tutorials on data flow?), but I’ll try to use that for my tests.
Basically, I want to fragment teapot, and then that those fragments fly off by animated gradient ramp on teapot (similar like any traditional pflow dispersion effects, but not triggered by deflector collision, but with animated map).

Cheers


#6003

Sure no problem.

I can explain what the operator is doing, it should be pretty straight forward:

The Plane has an animated gradient ramp on it. The Data Op is looking at the Plane (Select Object), it is looking for Point Color (Geometry->Closest Point by Surface + Geometry->Point Color). What that means is were a Particle is intersecting with the Plane that is the Point and at that Point the sub-op is looking for a Color. Since Color is a point3 or a Vector [R,G,B], we only need greyscale which just happens to be the Length of that Color vector (Convert->Vector to Real - Length) So now we have something that reads the greyscale color that is traveling across the plane. When that Color changes at the Point of the Particle it will trigger a Condition True/False (Condition->Is Greater than A) If the condition is met the Particle is sent to the Output.

I have a few Box#3/ADM tutorials on my vimeo page (mostly examples with scene files) Anselm aka Psychosilence has some great tutorials and DVDs, ParticleSkull also is coming out with some really cool tuts too. There was a user here 3ak who had some really cool setups, super smart dude (assuming he was a dude, may have been a dudette :smiley: always hard to tell with anonymous users) haven’t seen them around in a while but searching should show some of their stuff.

If your fragments have an animated gradient on them I will make another example. The idea would be relatively close to the same.


#6004

Again, thanks a lot Johnny.
With the help of your data operator, I’ve managed to do (one of the first) test.
Works perfectly!

I owe you the result, so here it is:

//youtu.be/https://www.youtube.com/watch?v=uhv3q8Cuch4

Seems that embed not working… here’s the direct link:
https://www.youtube.com/watch?v=uhv3q8Cuch4


#6005

Nice that worked pretty good! :slight_smile:


#6006

Hi guys
I need some help on data ops. Basically I am trying to get a breeze blowing across an objects surface and just affecting the rotation of the particles, in a similar way to a sequin wall.
I have created a data operator that reads the color values of a normal map and then rotates the particles accordingly.
So here is my problem, I assume that the particles rotation values are all in world space, so it works perfectly on a flat plane. I however would like it to work on 3d objects. So I want to use a data operator to first align the particles to the objects normals. Does anyone know then how to just add what would then need to be rotations in local space from the normal map.

Open to any solutions.
Thanks

Just saw Johnny did this
http://vimeo.com/115026964
Needs to be that pretty much just on and object with normal aligned particles.


#6007

If anybody cares, here are some snowballs done with pflow/mparticles. Cheers, N

https://vimeo.com/118321184


#6008

Is it just me or the whole Particle Flow system is a bit buggy (at least in the 2014 edition of 3DS Max). I’m fairly new at this and I’ve been experimenting a lot, I’ve noticed a bug regarding deflectors. Although ‘regular’ single particle seem to collide just fine with a deflector, in my test scene as soon as I add a spawn test and create a kind of trail behind each particle, some particles seem to skip the deflector. I’ve tried with as little as 10 particles and I’ve seen even 4 particles skipping the deflector.

Has anyone else noticed it?


#6009

There is no bug free software, but one thing to keep in mind when using Collision operators and Deflectors is that the order of operators matters. Depending on where in the event or in the flow the Collision is processed relatively to the Spawn operator, some particles might just pass through. In the simplest case of a single Event, Spawn and Collision, if the Spawn operator is placed after the Collision, the Collision will process the new particles in the next integration step, and at that point they might have already passed through the Deflector. If the Spawn is before the Collision, the new particles should hit the Deflector. If they still pass through, reducing the Integration Step duration might help (esp. with complex mesh-based deflectors).
In the more complex case of sending out the trail particles to a new Event, obviously both Events need the Collision to happen after the Spawn, or putting the Collision in the Global Event to it processes the collisions after all Speeds have been assigned, but before the new Positions have been calculated.

If you would post a simple test scene showing the leaking particles, someone on this forum might take a look and see if there is anything obvious you could do…


#6010

Thank you for your reply… Here’s my very simple 350kb test scene…

https://www.dropbox.com/s/2ntld7xk6vqcnvx/SimpleTest_TestingBlobBake%20SingleObj.max?dl=0

Just some particles coming out of the surface of a sphere, dripping on the sphere and below (I’ve tried with lock/bond too, at this point I’m using Speed By Surface). With the Spawn test disabled all 10 particles collide with the Deflector, when I enable it I can see five of them leaking…

Also, exactly how can I pass the parent particles along with their children as a pack to another event? I’ve tried moving the Collision test to the “Spawning002” Event before the Delete operator but I still see some leaking…


#6011

Not quite sure to understand what you need, perhaps I’ve to re-read your post, but your scene seems to work just fine.
Your deflector is set on Continue, so particle don’t bounce. In the event you wired to the collision there’s a gravity which makes particles moving even faster.
If that’s what you want then it’s working, and if you want to keep the particle spawning after the collision you may just want to add another spawn operator in the event with the gravity and you’re done.


#6012

As I suggested in my previous post, changing the Integration Step to 1/8 Frame solves the problem. At larger steps, you get 5,3 or 2 particles leaking. You should change both integration steps (viewport and render) in the Source.


#6013

Thank you very much, I hadn’t even noticed that setting, noone had messed with that in any of the tutorials I had gone through.


#6014

Hello,
i need produce from 1 particle point cloud with random position around it. How can i make it?


#6015

Is there ability in Data Operator to find closest point of geometry in arbitrary direction, kinda RayCast node in Softimage ICE?


#6016

Sure, use the point position function. See attached example:


#6017

https://vimeo.com/149485065

New reel. PFlow in there of cause :slight_smile:


#6018

Nice, getting a big list of sweet projects there Ansi! :keenly:


#6019

Wanted to share with you a solution for a crashing Max2017 using Pflow.

I ran a PF simulation of approx 50k particles and the Max crashed constantly every time I tried to scroll the timebar. So if you’re using Data operators on PFlow on Win 10 - make sure you Run compatibility as Windows 7.


#6020

Ok, here is the deal.

I’ve made this PF system:

//youtu.be/Zw9Fp_L8j0Q

And I wanted particles to travel on character.
So I used lock/bond, very simple setup:

//youtu.be/z-ujaKgctfM

Well, it’s kind-a cool, but still particles not moving as the first video. They rush towards the head, and then particles becomes “confused”.
I know it’s probably mesh issue, and perhaps, maybe I am expecting too much from the lock/bond.

Is there any way, to really force lock/bond to just ignore everything, and simply place a particles on the surface? Or any other idea?

Here is lock/bond screenshot:
https://s31.postimg.org/us1hw3ksb/lock_bond.jpg