Fixed number points generation from Trace SOP

Hello,

I’m wondering if there is a way to get a fixed number of points from the Trace SOP instead of a constantly changing number of points depending on the picture’s luminance/brightness.

For instance, generating a constant 400 points while keeping the last useful coordinates.
Fixed Number of Points.toe (6.1 KB)

Hi.
Not specifically but you may get some use from:
Resample SOP - TouchDesigner Documentation which can limit the polygon vertex count in predictable ways.

Cheers,
Rob.

Hey @rob! Thanks for the Resample TOP reminder! It’s definitely helpful, but it doesn’t quite solve my specific task. That said, I ended up finding a bit of a ‘punk’ workaround that works for now, that i share here in case someone else faces the same need in the future.

The solution i found is based on Paketa12’s “linear Interpolation” Tutorial and Darien Brito’s GLSL conversion
( Huge thanks to you two!)

Cheers
Fixed Number of Points - FIXED.toe (10.1 KB)

1 Like