Fading particles one by one.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  09 September 2006
Fading particles one by one.

After watching the matrix for the n'th time i wanted to recreate the "code-rain" as closely as possible. It all started out good but now ive gotten stuck.

This is what ive got:

I have a "Non-rendered" particle that moves in the desired direction and spawns the first "number" in the row (part 1 in the picture). This number should change as it "moves" down, like this: http://www.rasmus.be/01.mov

This number is deleated right after is spawns the next number in the row (part 2 in the picture). All the numbers are made with "shape instance operators" so that it randomly selects a different character every time a new particle is spawned. like this http://www.rasmus.be/02.mov

The "trail" of numbers left by the first number in the row should change although not as frequent as the first numer in the row and not all of them. This i achived bu making a looped event (part 3 in the picture). After the initial spawn of the "trail" those particles are age-tested (<30 +/- 30) then they get split so that 60% change and the rest idle. The changed ones get deleated and spawn a new particle (thus making a new shape or "number") then they go back into the age-test and so on and so on.

Now this all works perfectly but what realy made me scratch my noodle is this: The rows should fade away one by one from the top to the buttom, so that the numbers dont stay on the screen. I figured that i might need some sort of script for that but since i have Zero experience in scripting im kinda stuck. and i thought that maby one of you pFlow champions could help me.

  09 September 2006
did i understand that right? you wan't the particles lose color intensity, and get black(transparent) smoothly?
you can apply a dynamic material with particle age map in the opacity. so they will disappear smoothly.

nice set up of the flow
  09 September 2006
Angry i've tryed that

I've tryed that...but for some reason the only result i get with material dynamic is that all the particles fade at the same time.
  09 September 2006
Did you set the material to particle age?sorry, i just think that it should work. i'll try it by myself.
  09 September 2006
it is working fine for me. put in a delete operator.
Attached Images
File Type: jpg fade out.jpg (11.3 KB, 50 views)
  09 September 2006
Hmmf....i cant get it to work. i think it might be because the particles keep deleating them selves and spaning a replacement, thus resetting the age.

would you post an image of your pflow tree? and maby the setup of you material operator?
  09 September 2006
sorry man, i did a screen shot yester day, and closed max. and then i couldn't save the screenshot. it was 2 in the morning and i was to tired to do it again.

i still can't do the screenshot, but here you have the file.

look in the material dynamic operator, what the settings are. this is very important
Attached Files
File Type: zip particles fadeout.zip (19.8 KB, 42 views)
  09 September 2006
Thanks m8. Think i cracked it. The setup you sent me worked perfectly....although there seem to be an issue with the material and vRay. No matter, i was going to render it with scanline anyway.
  09 September 2006
There is an offset in the dynamic material operator, so particles start from different frames in the material animation (and will fade at different frames, respectively).
  09 September 2006
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 03:04 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.