View Full Version : ramp = linstep?

08 August 2007, 05:00 AM
In general when dealing with particles is it true that the linstep function can achieve the same results as a B/W ramp?

For example the following I put together...

float $normAge = age/lifespanPP;
opacityPP = 1-(linstep ( 0,0.5,$normAge )) ;

has the same effect as throwing a ramp based on lifespanPP in the opacityPP attribute. I was just wondering if this is quite a common practice to use one or the other.

CGTalk Moderation
08 August 2007, 05:00 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.