On Thu, 2007-05-10 at 15:55 +0200, Tim Boykett wrote:
Hello List,
is there a way to get text into a pix chain?
my little "thing to do" is: a camera, some extra information into the camera stream (the text that I need), and record it using pix_record.
Or is there a better solution?
don't know, if there are various solutions, but you can convert the framebuffer into a pix again using [pix_snap]. either you can grab both together, the video and the text, so that you display the text already upon the video, or you could grab the text separately (in a free area of the gemwin) and use [pix_mix] to merge the text-pix and the video afterwards. the former is possibly simpler to implement, but since you are applying a pix as texture in order to display it in opengl and then converting it back to a pix again, this might introduce interpolation artefacts. however, if you have alltogether in one pix, you can simply record it using [pix_record].
roman
Cheers,
tim
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de