[PD] Image from shader back to Gem
cyrille henry
ch at chnry.net
Mon Feb 15 11:10:49 CET 2021
you can replace [pix_draw] with [pix_texture] and [rectangle 16 9]
But I don't think I understand the question.
cheers
c
Le 15/02/2021 à 10:44, Csaba Láng a écrit :
> I am totally lost, I attach my shader and the patch which I made the screenshot of at the beginning of this thread.
> Could someone show me how to achieve the texture on a rectangle 16 9 so I can rotate and crop it and not only as a mask, as it is now in the patch.
>
> Probably totally easy just cannot figure out how to add the pix_snap or pix_snap2tex
>
> On Mon, Feb 15, 2021 at 10:04 AM cyrille henry <ch at chnry.net <mailto:ch at chnry.net>> wrote:
>
> What I understand from the original question was how to feed an image generated with a shader to pix_movement.
> So one need an image, not a texture.
> I'm afraid pix_snap is the only solution.
>
> Cheers
> c
>
> Le 15/02/2021 à 08:39, IOhannes m zmoelnig a écrit :
> > On 2/14/21 9:52 PM, Miller Puckette via Pd-list wrote:
> >> I think the question is - within a shader, can you 'snap' an image to
> >> a texture so that it doesn't have to go back and forth between the
> >> GPU and CPU? I'm curious too... I guess there must be a way to do this...
> >
> >
> > [pix_snap2tex]
> > or, preferably [gemframebuffer].
> >
> > gfamsdr
> > IOhannes
> >
> >
> > _______________________________________________
> > Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>
More information about the Pd-list
mailing list