hi!
i am using [pix_snap2tex] to take a snapshot of the gem-window and texture it on a object.
the current render buffer is textured immediately.
is there a way to delay the texturing? like delaying the gem-list somehow?
thanks g.
At 21:30 21.05.2006, geadsch wrote:
hi!
i am using [pix_snap2tex] to take a snapshot of the gem-window and texture it on a object.
the current render buffer is textured immediately.
is there a way to delay the texturing? like delaying the gem-list somehow?
you can't delay the gem-list the way you can delay normal messages. have a look at [pix_buffer], [pix_buffer_write], [pix_buffer_read] - that will help for what you want to do.
sven.
The simplest would be pix_delay
Tom
On 5/21/06, sven ml.sven@subscience.de wrote:
At 21:30 21.05.2006, geadsch wrote:
hi!
i am using [pix_snap2tex] to take a snapshot of the gem-window and texture it on a object.
the current render buffer is textured immediately.
is there a way to delay the texturing? like delaying the gem-list somehow?
you can't delay the gem-list the way you can delay normal messages. have a look at [pix_buffer], [pix_buffer_write], [pix_buffer_read] - that will help for what you want to do.
sven.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 5/21/06, sven ml.sven@subscience.de wrote:
At 21:30 21.05.2006, geadsch wrote:
hi!
i am using [pix_snap2tex] to take a snapshot of the gem-window and texture it on a object.
the current render buffer is textured immediately.
is there a way to delay the texturing? like delaying the gem-list somehow?
you can't delay the gem-list the way you can delay normal messages. have a look at [pix_buffer], [pix_buffer_write], [pix_buffer_read] - that will help for what you want to do.
Those objects won't work with pix_snap2tex but they will work with pix_snap. pix_snap is not a high performance object since it reads back from the graphics card - an expensive operation on commodity hardware.
There is no way to delay the texturing of pix_snap2tex since that object is a wrapper for an OpenGL texturing call. There is a way to copy to a texture unit and not immediately display the results, but it is not as simple to do in the Pd patcher as we (the GEM devs) would like.
Anyone interested in going beyond the usual drawing objects and pixel filters in GEM is highly encouraged to pick up a copy of the OpenGL 'Redbook' to learn more about how GEM really works.
hi, you can use pix_snap and write the output into RAM with piX_buffer objects (pix_buffer_read, pix_buffer_write). with pix_buffer_read and a number box you can play the snapped pix' like a movie. if I remember correctly, I did this once but can't find the patches again......
cheers rainer
----Original Message Follows---- From: geadsch geadsch@controverse.net Reply-To: geadsch@controverse.net To: pd-list@iem.at Subject: [PD] delay a gem-list Date: Sun, 21 May 2006 21:30:46 +0200
hi!
i am using [pix_snap2tex] to take a snapshot of the gem-window and texture it on a object.
the current render buffer is textured immediately.
is there a way to delay the texturing? like delaying the gem-list somehow?
thanks g.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list