Jump to content

Partilcles - matte for selecting static ones?


cwalrus

Recommended Posts

Thanks Sankar - but that won't work for me. The particles come to rest when the hit the ground, so if I simply delete all the particles with velocity, they will die before they do anything (and they hit the ground at different times)

 

Also, i need a solution that works in a production setting - i.e. hit the render button once, and then I get one pass of all the particles, and one pass which is just a matte for the static particles. 

 

Help!

 

thanks!

Link to comment
Share on other sites

Dude! Blu to the rescue as usual! Thanks man - i had no idea AOV's even exisited. This is great news. 

 

Now I've typed in length($VX,$VY,$VZ) = 0  into the VEX Variable field on the AOV / extra image planes and I"m getting nothing.  Do i need to 'introduce' the particles velocity somehow, or write different code there?

 

Thanks Sankar as well - going to look into the grouping work around now...

Edited by cwalrus
Link to comment
Share on other sites

You want to make it as an attribute. For example, make an attribute called 'velzero' whatever the length of 0 is red (1,0,0) otherwise blue (0,0,1). You do this on SOP (or shader... up to you)

 

Have this attribute on your shader(using bind, and export it), then put the attribute name on your AOV VEX Variable and channel name(this can be different name).

Link to comment
Share on other sites

Holy bat pee so helpful guys - 

 

Thanks Sankar- that file explained so much - and It's reallllllly hard to learn that without help from people like you. 

 

 

Blu I'm going to try to do what you suggested also at some point - haven't played with Bind before now...

Link to comment
Share on other sites

Hi again guys - 

 

Sankar, the DirectRender option works perfectly, but I tried to replicate your other tree- the AOV tree, with no luck. Can you see what I've neglected if you have a second?

 

thank you!

You must Assign a shader to the particles, Inside the shader create a parameter node and change the settings as per your attributes (Check the attached images)

 

Then add extra image planes and give the attribute name in mantra 

post-6051-0-44958900-1445355405_thumb.jp

post-6051-0-80772900-1445355412_thumb.jp

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...