View Full Version : Particles painting surface?

03 March 2006, 01:38 AM
I swear there was a thread on this before but couldn't find it (searched NT boards, spinquad, here). Is there a way to have a particle from a particle emitter leave a mark on a surface (wether it be pre-rendered/baked or whatever)?

03 March 2006, 11:38 PM
uhm i think there are many way, you can stich particles on surface, you can create an emitter that create particle only at collision (particles that are the paint on surface) with surface, there are some free and commercial shader that allow to paint on surface with null and more.

03 March 2006, 11:59 PM
Off the top of my head, Id say you could add a gradient to whatever channel you like in the surface set to distance to object, referencing a null, then use FX linker to tag the nulls onto the particles. I would think you'll have to add an extra instance of the gradient for each null object used.

Whilst this would probably work, Im sure there's probably far easier ways of doing it, I just wouldnt know em.

03 March 2006, 12:19 AM
Far out, so obvious. That's perfect PentamiterBeast, except instead ill spawn new particles at the surface, and clone the nulls on those, otherwise particles from the main emitter that merely skim the surface will paint it which i dont want.

03 March 2006, 03:20 AM
was I dreamin or is was something called paint splat mentioned - as an upcomming feature of LW 9.

Goes to do search on paint splat.

03 March 2006, 09:28 AM
yes it will be in lw9 and for more info u can check it out at tuff little unit web site
splatter gun

03 March 2006, 12:29 PM
Some Nulls parented to your particles and "Surface Effectors", would do the trick I think.

03 March 2006, 08:42 PM
You could also reference a procedural texture layer to the null that is hitting you obj. ( set your collision to stick) set world co-ords, and play with the falloff on the proced.layer to get the size of "paint splat" you want. You would then need to add a new copy of that layer for each null, and change the reference obj. accordingly.

03 March 2006, 09:05 PM
I've also got an LScript shader that paints onto a surface where PFX hit - Some bugs need fixing in it, but you can download an (old) beta of it here:

The name is 'Spraycan' - Includes a tiny Quicktime movie to show it working - Just paints a colour in this LScript, but I did have plans for it... Though those got a little forgotten! :)

I think from memory I also included the LS file for this on the '1001 Tips and Tricks' CD rom for people who bought the book to use as an LScript educational resource. I could be wrong, but I think I did... Hmmm...


03 March 2006, 12:37 AM
old, but this may help you out...

Download the Dandruf plugin... ;)

03 March 2006, 02:57 AM
After trying all of the idea's we came up with in that thread, the old null with a falloff was the most effective, although also very time consuming when dealing with alot of particles.

Acid works good and is easy but we found when the "hits" would over lap, the edges would be harsh, and sometimes needed some hand painting in comp....

Hey Howard i got some vids for ya finally , I'll send them your way this weekend..

03 March 2006, 09:43 AM
Cool Jer! Love to see em!

Yep, the null and layers is the only way to go it again, after seeing all these lscripts that are almost there, who is going to top it off and make one that fully works?

With the in my post above, the only real issue left is a way to clone all the layers correctly, although its 90% there....either way it helps out alot...

Kevman, think you can hack it?

03 March 2006, 10:58 PM
SprayCan I wrote in 2003 - I know the flaws, and I know why it crashes... I just never got around to working on it again after punching out that quicky demo (much like many projects I have in my 'HDD" vault of 'get back to it one day' files... lol! :twisted: )

Shouldn't be a hard project to polish up a little more - Lemme go dig it up again and see...


03 March 2006, 01:08 AM
Kev this plugin is great! I've managed to get a full 400 frames out of it with no problems, although I'll up the motion blur to an ungodly amount to get rid of the popping ;)

03 March 2006, 09:53 AM
I cant find the .ls unfortunately, so is it possible to read a .lsc correctly, like with a hex editor or something?

If not, can someone figure out how to recreate this script?

It basically takes a layer that the user has setup and clones it, reassigns the reference null to a new null its created...then you simply FXlink all the nulls and it works...again DarkOmen couldnt figure out how to properly clone the layers, and I believe he was simply making new ones from scratch...

really would like this to work...


CGTalk Moderation
03 March 2006, 09:53 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.