I want that particles would appear from one corner, and like a wave would go through all the plane using vertex density. Basically just to animate the weight-painting. Is it possible do it, or maybe there is some other ways to make similar effect?
4 Answers
I think you're looking for the Vertex Weight Proximity modifier. It lets you assign vertex weights based on, for example, the distance to the target object's geometry, which you can animate per usual.
-
$\begingroup$ Did you skip any steps for this setup? I tried this setup with several different values and even animated the torus dropping down over the sphere and there was no effect on the sphere's weight values. Nothing obvious happens in Vertex Paint mode either. $\endgroup$ Commented Jun 17, 2014 at 7:05
-
$\begingroup$ One step you might've missed that I failed to mention was that you have to have the vertex group already assigned to the vertices that you want this modifier to affect. It cannot add vertices to a group automatically, and this might be a reason why you don't see any changes. $\endgroup$– volvisCommented Jun 17, 2014 at 8:02
-
$\begingroup$ It works with weight map, but for some reason it doesn't effect particles, maybe I miss something? (gyazo.com/ef83c45f53eae0dfae98773995617856) $\endgroup$– wyyCommented Jun 17, 2014 at 9:00
-
$\begingroup$ I'm no expert on particles so I'm afraid I can't help with that. It could be that particles only really operate on the beginning state and ignore subsequent changes. It might be worth checking the solution that uses textures to see if it behaves differently. $\endgroup$– volvisCommented Jun 17, 2014 at 9:24
Using Dynamic Paint you can get something close to what you are looking for.
- First you will need to add a Dynamic Paint canvas to the plane you want with the vertex group.
- Add a object and assign it as a Dynamic Paint brush.
- Change the settings of the canvas object. The Format should be Vertex set Surface type to Weight. Note the name of the Dynamic Paint output vertex group (default is dp_weight) and add a vertex group with the same name.
- To get the vertex group to fade out after the brush, enable the check mark Fade: under the Dynamic Paint Advanced. Then change the time slider down to something quicker suitable to your animation.
This is a example blend showing Dynamic Paint controlling the length of a hair Particle system.
-
$\begingroup$ In example u gave us, i changed type Hair to Emmiter, and activate Density vertex group - dp_weight, but for some reason it doesn't effect particle emission. Maybe i miss something? $\endgroup$– wyyCommented Jun 17, 2014 at 9:33
Currently there is no way to animate weight paint directly (unless you do so via some Python script).
Instead, you can use a texture to control particles with a texture, if the animation is simple. You can use offset to control the moment of the texture. The values that are of interest are highlighted in yellow.
Dynamic paint is the way to go.
The thing is that you can´t go with only one brush for both length and density weight groups at the same time. It looks like the particle generator, no matter if it is emitter or hair, doesn't update very well, in fact it "can't" generate particles if the canvas has the fade option on for this surface layer (the one used for density) and moving brush objects are involved. Yes, the particles will appear for some frames to inconsistenly dissapear.
You have to use two surface layers in the canvas menu: one for the density and one more for the length. For this case/example you can use the same brush/mesh
The density layer should have no fade at all. It means it will paint all in brush area and along his path. For this part you can also manually prepaint the area via weights where the particles should appear. Well, you can also use a map or a texture to control the particles density and secure the area of emission.
the length layer should have the Fade option activated in order to make the particles appear/dissapear by the area defined by the brush. This layer wil make the magic.
Things can change if more interaction is involved, like let's say...drivers, curve modifiers,modifiers in general,...for the modifiers case remember to activate the Use modifier stack in the emission pannel in the particle emitter menu. If something doenst updates well try to disconnect/reconnect the weight maps/vertex groups in the influence panel of the particles, inverting/reverting the values in the same menu works fine: (<-> icon)
thats all
-
$\begingroup$ these very detailed instructions helped me a lot to find may way... $\endgroup$– IchthyoCommented Sep 24, 2019 at 15:43