hi cyrille,
cyrille henry a écrit :
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?
This is very interesting and I would have been glad to do this on another application but this isn't really what I'm looking for, let me explain why...
I'm building an application where gemwin is always in fullscreen mode (for an exposition), there is no keyboard, no mouse, just a graphic tablet.
The visitor can record and play or change effects (before recording) a video of his/her eyes by clicking on buttons displayed on the gem window downside the video rendering (the rectangle), at the same time the visitor's voice is recorded with writesf~.
The two documents are renamed with creation's date and stored into respective folders for being played later with another part of the same application which is a kind of video mixer.
So I need to store the video capture (with the effect) into the hard drive or somewhere for beeing mixed later with the video of other visitors,
voilà .
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