If it can be on the GPU, use a fragment shader! Do you work with a formula or do you set the alpha values by hand?
Gesendet: Freitag, 07. April 2017 um 23:39 Uhr Von: "Roman Haefeli" reduzent@gmail.com An: pd-list@lists.iem.at Betreff: [PD] [Gem] Modifying single pixel of pix image
Hi
Is it possible to manipulate a single pixel of a an image loaded by [pix_image]? Specifically, I'd like to change the alpha value of certain pixels. It doesn't matter to me whether the manipulation happens in the pix realm or the GL realm. Currently I can think only of cumbersome ways like using [pix_dump] -> [pix_set] and applying the manipulation to the largish list passed between them. Or by using [pix_pix2sig~] -> [pix_sig2pix~] which is basically the same, but would allow to do the manipulation on a table.
Roman _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list