Jump to content

Using image alpha to control emission of particles from surf


videle

Recommended Posts

I am having difficulty controlling the emission of particles from a surface textured with an image. I would like to suppress the emission of particles from points of the surface where the alpha is zero i.e. the transparent.

I have found several threads where texture based particle emission is discussed. Unfortunately none of these threads discuss how to suppress the emission of particles based on alpha.

Nevertheless, I've attached a small scene illustrating my attempt.

Thanks.

colortoparticles.hip

Scene.zip

Link to comment
Share on other sites

I am having difficulty controlling the emission of particles from a surface textured with an image. I would like to suppress the emission of particles from points of the surface where the alpha is zero i.e. the transparent.

I have found several threads where texture based particle emission is discussed. Unfortunately none of these threads discuss how to suppress the emission of particles based on alpha.

Nevertheless, I've attached a small scene illustrating my attempt.

Thanks.

Hi

1) Mandril.pic seems to be without Alpha so i used intensity (length(color)) to mimic it otherwise it would be 1 everywhere.

2) You need to promote Alpha attrib to primitives (i used average) cause you're emitting from them (and use Emission type = Surfaces (attribute) in Source POP.

3ak_colortoparticles.hip

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...