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.
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
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
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
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
On Sat, May 24, 2008 at 7:18 AM, Patrice Colet pat@mamalala.org wrote:
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?).
The contents of the framebuffer are exactly what you see onscreen. I don't understand what is 'poor' about the image being read back.
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].
pix_record on OSX is extremely well tested. I've recorded in excess of one million files with it.
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?
pix_write should just write the pix buffer to a file and not also have pix_snap functionality embedded in it. Unfortunately doing this would break a lot of patches. Maybe pix_image_write would be an acceptable option.
chris clepper wrote:
On Sat, May 24, 2008 at 7:18 AM, Patrice Colet <pat@mamalala.org mailto:pat@mamalala.org> wrote:
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?).
The contents of the framebuffer are exactly what you see onscreen. I don't understand what is 'poor' about the image being read back.
you are right, I only want to add two tiny comments: gemframebuffer does not allow changing of view and perspec and it has no FSAA like onscreen. marius.
Quoting chris clepper cgclepper@gmail.com:
pix_write should just write the pix buffer to a file and not also have pix_snap functionality embedded in it. Unfortunately doing this would break a lot of patches. Maybe pix_image_write would be an acceptable option.
i totally agree.
i think the best way to go would be to just wrap [pix_write] into an
abstraction with [pix_snap] and [pix_image_write] (or whatever name)
in the meantime i noticed that nobody yet has suggested using [pix_buffer]
afaik you can save contents of the [pix_buffer] to file...(but
thinking about it, it might has as well been on my todo list...)
fgasmrd IOhannes
This message was sent using IMP, the Internet Messaging Program.