Jump to content


Using image alpha to control emission of particles from surf


  • Please log in to reply
2 replies to this topic

#1 videle

videle

    Peon

  • Members
  • Pip
  • 3 posts
  • Joined: 27-February 12
  • Location:UK
  • Name:Justina Reingardt

Posted 03 June 2012 - 02:40 PM

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.

Attached Files



#2 bloomendale

bloomendale

    Initiate

  • Members
  • PipPip
  • 174 posts
  • Joined: 26-December 11
  • Name:- -

Posted 03 June 2012 - 08:59 PM

View Postvidele, on 03 June 2012 - 02:40 PM, said:

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.

Attached Files



#3 videle

videle

    Peon

  • Members
  • Pip
  • 3 posts
  • Joined: 27-February 12
  • Location:UK
  • Name:Justina Reingardt

Posted 05 June 2012 - 03:36 AM

Thank you very much for the clear example, it works perfectly.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users