hi… sure it will be once again newbie questions about spreads.
displacing:
I m using the trautner function, and dont want to get in my result a spread including the black information, wich is the first array 0. how can I displace my spread by +1 ? ( any tips around this question will be appreciated !)
matrix: is there any node enabling get slice function for a spread in general: if i have a spread of 10 and i want to sort this spread in another order, like a patch in lighting ?
i was to quick in my writting …
but with a spread of 10x10 ?
is there a way to handle big arrays like a matrix:
I mean i have a raw array of 10 x 10
I want to reaffect value of it to different slice
More sympatic would be to have a kind of matrix where to write the value to take from ( dont know if i m clear).
its not for a lighting patch, but it is really like a lighting patch…
i mean to do something like:
for (i=0; i
As Joreg already pointed out, the most general technique for doing these kind of things is a GetSlice (Spreads) I (Spreads) combo. this will allow you to reshuffle spreads in any conceivable way. Note that the inputs to I are spreadable also, which makes it very easy to generatate the index sequences for multidimensional reorderings.
Another node worth knowing is Resample (Spreads) )) it will be a constant source of solutions.
Another surprisingly flexible node for this kind of things is Cross (Spreads) )) its basically two Resamples one in Point and one in Repeat mode, but it allows for some very elegant patches.