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?
Cheers,
tim
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
Hi Roman,
Okay, I had contemplated this and though that it must be possible to do this easier. But No! This seems somehow like a hack, but I suppose pix_ things are there for image manipulation, not image creation...
I am using OSX so there is currently some problem with GEM and fonts and PD and...hmm... so it remains undoable anyway :->
But thanks: I will simply build a few simple graphical objects to transfer the information, then use pix_snap to get images for recording. Thank you muchly!
Tim
On 10/05/2007, at 4:34 PM, Roman Haefeli wrote:
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
hi tim again
On Thu, 2007-05-10 at 17:37 +0200, Tim Boykett wrote:
Hi Roman,
Okay, I had contemplated this and though that it must be possible to do this easier. But No! This seems somehow like a hack,
hack or not, i think there is no other way, unless there are plans for something like a [pix_text].
I am using OSX so there is currently some problem with GEM and fonts and PD and...hmm... so it remains undoable anyway :->
afaik, the work on solving these problems is in progress (if not already solved yet). try the newest auto builds
But thanks: I will simply build a few simple graphical objects to transfer the information, then use pix_snap to get images for recording. Thank you muchly!
your welcome!
roman
Tim
On 10/05/2007, at 4:34 PM, Roman Haefeli wrote:
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
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Roman Haefeli wrote:
hi tim again
On Thu, 2007-05-10 at 17:37 +0200, Tim Boykett wrote:
Hi Roman,
Okay, I had contemplated this and though that it must be possible to do this easier. But No! This seems somehow like a hack,
why does it seem like a hack to you? if you want to create an avi of your car, you have to use a video-camera. if you want to create an avi of (vector) graphics, you have to render them into pixel space.
i don't think that either of these is a hack; it is just how things are done.
hack or not, i think there is no other way, unless there are plans for something like a [pix_text].
definitely not. if you don't want to do graphics but video instead, you are problably better off with pdp.... (this is not meant as an insult on you or pdp; it is just that pdp (apart from 3dp) is video/pixel oriented instead of graphic-oriented; yves has done a [pdp_text])
however, "exporting" to different formats should be made simpler in Gem...
mfg.adr IOhanens
This may be an option for OS X users soon, after sufficient pdp/pidip testing is done with Pd-extended!
~Kyle
On 5/10/07, IOhannes m zmoelnig zmoelnig@iem.at wrote:
Roman Haefeli wrote:
hi tim again
On Thu, 2007-05-10 at 17:37 +0200, Tim Boykett wrote:
Hi Roman,
Okay, I had contemplated this and though that it must be possible to do this easier. But No! This seems somehow like a hack,
why does it seem like a hack to you? if you want to create an avi of your car, you have to use a video-camera. if you want to create an avi of (vector) graphics, you have to render them into pixel space.
i don't think that either of these is a hack; it is just how things are done.
hack or not, i think there is no other way, unless there are plans for something like a [pix_text].
definitely not. if you don't want to do graphics but video instead, you are problably better off with pdp.... (this is not meant as an insult on you or pdp; it is just that pdp (apart from 3dp) is video/pixel oriented instead of graphic-oriented; yves has done a [pdp_text])
however, "exporting" to different formats should be made simpler in Gem...
mfg.adr IOhanens
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Thu, 2007-05-10 at 18:16 +0200, IOhannes m zmoelnig wrote:
hack or not, i think there is no other way, unless there are plans for something like a [pix_text].
definitely not.
that is what i actually expected ;-)
however, "exporting" to different formats should be made simpler in Gem...
i could live well with that. the problem i have is, that i can use [pix_snap] and i can also use [pix_record], but when i try to record the grabbed framebuffer (use both at the same time), my pd/gem crashes :-(
roman
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de