[PD] [gem] gemframebuffer > pix_buffer_write

pierre at 314r.net pierre at 314r.net
Wed Jun 20 12:54:05 CEST 2012


Hi IOhannes


> On 2012-06-20 11:53, pierre at 314r.net wrote:
>> Hi all, I would like to know if there is a way to record a
>> [gemframebuffer] into a [pix_buffer 1000] my goal is to be able to
>> record a gemchain animation (5 seconds maybe) and replay it
>> (forward, backward, etc) I know that [pix_snap] with [pix_buffer]
>> could do the job, but it eat a lot of cpu, so a solution with
>> [gemframebuffer] would be better...
>>
>
> no. the problem you have is that you have to transfer whatever is
> rendered into a framebuffer (whether this is [gemframebuffer] or
> [gemwin] doesn't matter) back to main memory (which is what 
> [pix_snap]
> does), and that is usually slow.
>
> you might try to use a shader to transfer data within texture-memory
> (rather than between texture-memory and main-memory)


ok thanks,
I will stay with [pix_snap] for now, on a good computer it could works,

but I'll try also the shader solution

p.



More information about the Pd-list mailing list