Dear list,
is there any way to use (an object like) [pix_crop] for textures out of [gemframebuffer]? I want to render a [pix_video] stream into a texture of a framebuffer and crop it afterwards dynamically according to my different mappings. I use windows7 + pd-extended, gem 93.3 at the moment
thanks
Johnny
helo,
i think you're after pix_coordinate
cheers c
Le 26/04/2015 18:24, hi a écrit :
Dear list,
is there any way to use (an object like) [pix_crop] for textures out of [gemframebuffer]? I want to render a [pix_video] stream into a texture of a framebuffer and crop it afterwards dynamically according to my different mappings. I use windows7 + pd-extended, gem 93.3 at the moment
thanks
Johnny _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello
Another possibility to get textures from a framebuffer back into the pix-domain(so that you can apply pix_...-objects to the texture) is described in the help-browser: Gem/examples/04.pix/26.framebuffer_readback.pd
ragrds, peter
Am 26.04.15 um 18:40 schrieb Cyrille Henry:
helo,
i think you're after pix_coordinate
cheers c
Le 26/04/2015 18:24, hi a écrit :
Dear list,
is there any way to use (an object like) [pix_crop] for textures out of [gemframebuffer]? I want to render a [pix_video] stream into a texture of a framebuffer and crop it afterwards dynamically according to my different mappings. I use windows7 + pd-extended, gem 93.3 at the moment
thanks
Johnny _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks peter
that looks promising and might fit to the rest of my patch.
best,
-j-
Am 27.04.2015 um 09:23 schrieb Peter Venus news@petervenus.de:
Hello
Another possibility to get textures from a framebuffer back into the pix-domain(so that you can apply pix_...-objects to the texture) is described in the help-browser: Gem/examples/04.pix/26.framebuffer_readback.pd
ragrds, peter
Am 26.04.15 um 18:40 schrieb Cyrille Henry:
helo,
i think you're after pix_coordinate
cheers c
Le 26/04/2015 18:24, hi a écrit :
Dear list,
is there any way to use (an object like) [pix_crop] for textures out of [gemframebuffer]? I want to render a [pix_video] stream into a texture of a framebuffer and crop it afterwards dynamically according to my different mappings. I use windows7 + pd-extended, gem 93.3 at the moment
thanks
Johnny _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 04/27/2015 11:00 PM, hi wrote:
Thanks peter
that looks promising and might fit to the rest of my patch.
but keep in mind that the texture->pix transfer is rather costy in terms of CPU (well, actually in terms of transfer time), whereas doing texture-only operations (e.g. using [pix_coordinate]) will be *very fast*.
gfnmsdr IOhannes
Hello
Iohannes is right. The example i pointed out consumes quite some cpu-power. but: in the help-browser you´ll find another example, that takes the texture id of a framebuffer and allows to "crop" the texture. in this example, the work is done by the gpu with the help of glsl-shaders.
Gem/examples/12.multi_screen_projection/02.nfp-help
regards peter
Am 27.04.15 um 23:33 schrieb IOhannes m zmölnig:
On 04/27/2015 11:00 PM, hi wrote:
Thanks peter
that looks promising and might fit to the rest of my patch.
but keep in mind that the texture->pix transfer is rather costy in terms of CPU (well, actually in terms of transfer time), whereas doing texture-only operations (e.g. using [pix_coordinate]) will be *very fast*.
gfnmsdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list