View Full Version : Particles emit from texture matte?
caseybasichis 12-14-2005, 11:03 PM Does anyone here know how I might go about setting up an emmiter to emit from the surfaces of an object based on a matte texture that is being projected onto it? ie it will emit where it is white and wont were it is black.
I really appreciate the help.
Casey
|
|
Aikiman
12-15-2005, 12:52 AM
Under the emitter attributes there is texture emission. for the particle to inherit colour load a file into the particle colour and select inherit colour. To influence the amount of particles using black and white values, plug it into texture rate, then enable texture rate. Oh yeah just about forgot, you also need to create a rgbPP for the particle otherwise it wont work.
caseybasichis
12-15-2005, 01:16 AM
I think i was unclear. I need to drive the rate of particle emission with a black and white texture mapped to the surface they are being emitted from.
For example if i had a sphere that was textured so it was all black with a thin white ring running longitudinally, the particles would only come out of that ring. In practice, the texture will be much more complex than a white ring. The color of the particles is going to be something completely different.
Thanks,
Casey
Bonedaddy
12-15-2005, 01:57 AM
Don't have time to see if there's an easier answer, but if you emit them using Aikiman's texture rgbPP trick, then you can do a lifespanPP culling based on rgbPP at birth. Then you can probably change rgbPP after that.
Aikiman
12-15-2005, 06:47 AM
Ummmm, use the emit from surface object function then follow what i told you as per the texture rate. Particles therefore will emit only where there is white. Use the same texture you map your object with into the texture rate, this only looks at the luminance values so a B/W image is most effective. Apply scale rate by object size and you will get what i did below using the grid proceedural texture.
http://www.jeremyraven.co.nz/images/grid.jpg
CGTalk Moderation
12-15-2005, 06:47 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.