SetPixel() on mapped pixel layer
Posted: Wed Nov 09, 2016 11:58 pm
I've created a setup to control a kinetic light installation and I've divided the matrix up into zones for colour, position, and speed. I'm mapping almost every layer, but I'm also trying to use GetPixel and SetPixel to grab the colour values from the colour group and apply it to the position group.
It works no problem on unmapped layers, (or as a Storage Place macro), but I'm not able to use SetPixel to pixels outside the current map area. I think it's a logical limitation, as I've mapped the layer, so I probably shouldn't be able to write to a pixel that's outside that zone, but is there a workaround? I 've tried keeping the map preset full size and the tiling preset smaller, but that doesn't work.
On a related note, is it possible to have have an MAS layer see pixel values from layers below? I don't think it's possible, but if so I would be able to achieve what I'm hoping for that way.
Currently my solution is to use a storage place macro, which works, but only if I want to grab the pixel values of all layers.
Thanks,
Nathan
It works no problem on unmapped layers, (or as a Storage Place macro), but I'm not able to use SetPixel to pixels outside the current map area. I think it's a logical limitation, as I've mapped the layer, so I probably shouldn't be able to write to a pixel that's outside that zone, but is there a workaround? I 've tried keeping the map preset full size and the tiling preset smaller, but that doesn't work.
On a related note, is it possible to have have an MAS layer see pixel values from layers below? I don't think it's possible, but if so I would be able to achieve what I'm hoping for that way.
Currently my solution is to use a storage place macro, which works, but only if I want to grab the pixel values of all layers.
Thanks,
Nathan