FIXED Line metrics / lookup attr POP bugs? 31712

Trying to place animated and oriented objects along a spline style linestrip made from Line POP and subdivided to be smoothed out. Attaching file with some annotations. I think crux of my issues is that lookup attr when referencing a linestrip made in this way in the second input in “normalized” mode is accounting for the unused points in the buffer (leftover from the max points option in linemetrics POP and/or line POP) causing errors until I resolve with a create with the Copy to CPU option, which isn’t so performant.

attrLookupTesting.toe (9.7 KB)

As well, as I continue with this sort of technique and try some texture lookup stuff down the pipe, I’ve noticed that perhaps the dimension of the linestrip i am getting is not so helpful as it seems to be double ( or close to double?) the point count of the linestrip resulting in the red linemetrics POP in the lower left portion of that network.

Hello @archo-p
It looks like there’s a bug with the Lookup Attribute POP and indirect inputs. We will look into this.

There’s a discrepancy between those values because the Dimension metric is CPU based and the final number of point on the Line POP is determined by the Post-Resample process happening on the GPU side. When Post-Resample is enabled, perhaps we could use the Maximum Number of Vertices parameter as a maximum value for the Dimension.

The Lookup Attribute bug should be fixed in 2023.31781+ builds.