Search - User list
Full Version: PScale controlled with ramp node
Root » Houdini Learning Materials » PScale controlled with ramp node
Calebos
Hello all,

as title says I would like to learn how to control particle radius with ramp node. I tried to do this already but failed. The purpose of this method is to easily control the pscale with ramp based on age of particle object.
I am migrating from Maya where this method is matter of several seconds to do. But in Houdini I am lost with this solution.
Thanks a lot.
mestela
In a wrangle:

@pscale = chramp('scale',@age);
Dav_Rod
Most efficient reply ever, Mestela
Thanks a lot!!


How could I get a color ramp instead of a spline ramp?

Thanks in advance.
Cristotek
You just need to enforce it as a vector ramp and then use any attribute to control such as @P @v @N @pscale @id and so on.

@Cd = vector(chramp("colorRamp",@P.z));

There are already different topics where this has been answered tho, so I suggest searching in both forums before opening another one if you don't wanna risk to not being answered :>
Dav_Rod
Thanks Cristotek, that solved the problem.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB