Wondering if there’s a POP way to access a specific index from the array of available points when performing an arbitrary operation. Example: I want to create a new attribute in the MathMix POP for a current point that depends on information on some other point. Something like
newAttribute = someAttribute[currentIndex] + someAttribute[previousIndex]
For a sum I could use an accumulate POP, but is it possible in a more general way (if needing operations other than addition), or coding it is the only way to go? And if have to code it, how would I make such a reference in a GLSL POP?
Not sure how general or useful this feature would be, and therefore if it justifies a RFE… but tinkering around with an idea I suddenly find myself needing this feature I don’t mind writing it in GLSL of course, but I thought asking it in case that a) it is already possible or b) you may find it useful to implement in the future.
Best,
Darien