Recreating fetchstamp in copyPOP

Hello dear devs and fellow users,

i’m trying to recreate the fetchstamp behavior from the copy SOP into the copy POP.

I have a clue that it should be done using the CopyId attribute, but how?

thank you!

got the answer as soon as I posted the question: it’s the column number that should be 1 instead of 0:

Hi Rui,
So copy stamping is currently not implemented for the copy POP, as it wouldn’t leverage GPU parallelism: with stamping all the OPs are recooked for each stamp value - we might still add it in the future for specific effects/convenience.

With fetchStamp() the second argument is the default value returned, so it probably returns that (1) in your case.

Some of what could be achieved with copy stamping can be achieved in other ways in POPs, for different orientations per copy you can use points with orientation attributes (N, Up by default) in the second input of the Copy POP, for more advanced effects there’s the Copy GLSL POP, which can run different GLSL code per copy.

Currently all the copies will have the same topology (number of points/triangles…)
Happy to help with what you’re trying to achieve!

Hi Vicent,

i’ve noticed that, even not giving an error, the same behavior for copy stamping is not happening!

so I will endeavor in the wonderful and mysterious world of point attributes for defining the different rotation angles of each copy, and also their uniform scale

not changing the topology of each copy :smiley:

thank you for the heads-up!