Is there an easy way to smooth changes to attributes over time, like with a filter CHOP or lag CHOP?
Hello @tekt
You can use a Cache POP and a Cache Blend POP to smooth attributes over time. In this example, a circle position is smoothed over time.
SmoothOverTime.toe (3.9 KB)
Awesome thanks!
Hey @Guillaume.L, thanks for sharing your example. I noticed that the cache and cache blend pops don’t have an option for selecting the attribute to blend. I only want to apply the filter on a particular attribute of the pop. Is there any way I can do that?
For more context, I am working in a particle system with the particle pop. I have a field pop that is generating the Weight attribute based on an input spec pop. I want to add a filter/lag on this Weight parameter before it is passed on to the next pop
Hello @rajatgupta
When working with a constant number of points, you can use a Select POP before a Cache POP to isolate the attribute you want to smooth over time. After applying a Cache Blend POP, use an Attribute Combine POP to merge the smoothed attribute back into the original stream.
However, when using a Particle POP, the point count and order change dynamically over time. In this case, using the feedback loop is more appropriate for filtering attributes across frames, allowing you to accumulate and smooth data despite the changing topology.
Here’s an example demonstrating how to do this.
FilteringOnSpecificPartAttribute.toe (7.7 KB)
Thanks! That really helps
Hello,
thank you very much for this tip, it works great. However there is one thing I have noticed and I thought I might mention it. With larger number of attributes Cache Blend POP seems to take quite some CPU time. I have 17 point attributes (most of which are floats, but some are float2 / float3) and filtering (50 cached samples) on 25 points quickly bumps CPU cook time to nearly 1ms (on my hardware). I am not sure if this is expected or not, but at first glance it seemed a bit heavy. Thanks ![]()