PDA

View Full Version : particles to surface


darknight007
10-20-2008, 09:09 PM
Hello everyone. I have a scene where particles are emitted off screen and travel towards a sphere surface. The particles are moving slowly and are pointing towards their destination. I need the particles as they arrive at the sphere to orient themselves to the surface normals and land onto the surface. I have thought about hand animating the objects landing on the surface, but the shot requires a lot of them to land. I was wondering if pflow can handle something like this. Thanks everyone. i've attached an image to help explain. file:///C:/Users/darknight/Desktop/example.jpg

Piflik
10-21-2008, 12:51 AM
If I understand you right, you can do this via a quite simple script. Have a look at this tutorial (http://www.allanmckay.com/tut/tut_ObjAB.avi) by Allan McKay. You might have to tweak it a bit to fit your needs.

darknight007
10-21-2008, 04:53 PM
Thank you for your reply. I have watched this great tutorial but I'm afraid it doesn't help answer the orientation of the particles before they land on the surface. the particles are shaped in a Y shape with a trunk that fits into the sphere. I will post an image to help explain better as soon as I have privilege to attach an image. Thanks

darknight007
10-21-2008, 07:18 PM
here is an image to help explain

Piflik
10-21-2008, 07:44 PM
You can also let the Particles be emitted by the sphere and travel off screen, and then reverse the animation after rendering.

darknight007
10-21-2008, 07:50 PM
great idea Piflik. i wanted to try something like that but the camera is animated panning left to right, which i could also reverse correct? what worries me most is getting the particles to rotate in reverse as they go back off screen. I'm gonna try it out and let you know what happens. Thank you once again for replying. most appreciated!

amckay
10-27-2008, 10:24 PM
thats a tricky one, it can be done through a bit of scripting, or box set 3
but out of the box in max (with the go to rotation plugin, which I believe is part of the free addition to pflow tools I believe?) you can probably do something
I only spent 5 mins on this, I'm in a major crunch - but it probably will at least put you in the right direction. I have two sets of the same orientation, which probably isnt necessary,b ut basically I have it as a find target, like you set up (based on the napkin sketch) and they orientate once they get to the target, so I just copied and pasted that into the main event so they begin to align before they get there.

http://www.allanmckay.com/demo/ParticleAlign.max

So its messier than it needs to be but hopefully helps a little.

-AM

PS. Darkknight - thats a cool idea with doing something like that aligning to the camera, same thing you use a speed by surface, its based on the normals, so you can then use a reference object (a sphere or whatever) and go about it that way.

darknight007
10-27-2008, 10:38 PM
Thank you amckay for your example. it really helps alot and I think it is a solution that will work for this shot. i am thinking of having several already attached on the sphere, and landing only particles on the faces of the sphere that are pointing at the camera. again thank you for your time.

your work and tutorials rock man

darknight007
10-27-2008, 10:47 PM
say a particle has already landed in a certain position and another incoming particle lands in the same position or very close to that position, is there a way to tell the particles not to land in the same place/proximate area? i'm interested to know if this is too much for pflow? thanks

amckay
10-28-2008, 06:58 AM
sure you can use the keep apart operator to tell them to avoid eachother

darknight007
10-28-2008, 06:42 PM
Thanks! veyr much

PsychoSilence
11-06-2008, 06:25 PM
did that once for a commercial:
http://3delicious.de/spielwiese/flocking_butterflies.gif

Go To Rotation might save us A$$...

preview movie:
http://www.3delicious.de/spielwiese/flocking-landing.avi

max 9 file:
http://www.3delicious.de/spielwiese/flocking01.zip

darknight007
11-06-2008, 06:33 PM
Thank you Silence! Your example is awesome. Go to rotation works a wonder, however I wonder if they can begin their rotations earlier rather than hit their target then spin on the surface to the final rotation. As if the particles are anticipating their landing like a rocket on the moon or similar. The motion on your particles is fantastic. That last little particle adds some flare. nice.

PsychoSilence
11-06-2008, 06:49 PM
they sure can! check out th collision operator :)

it has an option that says "Will Collide" where u can set the frames the Test should test true already prior to the actual collision with the deflector/col.obj.

anselm

darknight007
11-06-2008, 07:19 PM
AWESOME!!! thanks thats exactly what I need. I think this is gonna work....fingers crossed

CGTalk Moderation
11-06-2008, 07:19 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.