ok,
what about :
[gemhead] | [gemframebuffer) | [pix_video] | [pix_crop] | [square 4]
and:
[gemhead] | [pix_texture] | [rectangle 4 1.5]
with a link from gemframbuffer right outlet to pix_texture right inlet
you can render whatever you wish to a texture, and using this texture on different rectangles. why do you want to write them somewhere?
cyrille
Patrice Colet a écrit :
I would like rather something like this
[gemhead] | [pix_video] | [pix_crop] | [rectangle 4 1.5] | [pix_write]
to write in a file what I see into the rectangle only.
it currently work with [pix_record]
cyrille henry a écrit :
hello,
unless i misunderstand, what you describe is currently working.
gemhead 99 | pix_write
will capture in a file what you can see in the gem windows.
cyrille
Patrice Colet a écrit :
Hi, it's possible to render on a video file the texture drawn into a geo object, but the quality is always poor whatever codec we use (even uncompressed files), that can be useful for having poor animated textures, but anyway the quality is never as good as we can get when we render into picture files (isn't it?).
We can render framebuffer into picture files with the help of [pix_write], but I don't know any simple solution yet to render directly into pict files what we can get with the 'unstable' [pix_record].
The only *multiplatform* solution I'm thinking about is rendering the framebuffer into tiff files, cropping and transforming them to a lighter file format with imagemagicks controlled by a script file loaded with [popen], for having my texture rendered into a decent quality, that's quite complicated.
So my question that will certainly stay unanswered is/
What about adding a simple option to [pix_write] for rendering into picture files only the texture created by a gemchain instead of the framebuffer?
Many thanks if you have a simple answer or another solution.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list