Trying to average out some data in my POPs. They’re organized in 2 dimensions, and I would like to average the data out similarly like an Analyze TOP can do with rows and columns. I think the closest I got was with a Line Smooth POP but that’s more like a blur…
Accumulate POP also is so so close, but it doesn’t allow for specific end and start points.
I’m not sure if you missed it or perhaps have an older build of TouchDesigner, but there is also an analyzePOP. Analyze POP - TouchDesigner Documentation
If you average the P attribute, it will give you 1 point with the averages per axis. So it’s similar to the analyzeTOP, but doing the row and column averaging in 1. If you want a full average there is an option to combine the components (which can be set to average as well).
Ah thank you so much for your response, unfortunately the Analyze POP is too destructive for my use case. I only want to “analyze” specific intervals of points. Accumulate POP is close, but I can’t specify intervals.
Right, you want the Analyze POP to operate per-dimension and output multiple points. We will consider that as an upcoming feature. If we could shuffle points into an array attribute, we could use Math Mix POP’s arrayavg() function, but the shuffle is not available at this time. POP to TOP and back seems the only easy way.