I couldnt' get the previous example to work beyond drawing a slowing moving square on my screen (i.e. no sphere). This one seems to work, I get some crazy multi-color strobing in a kind of box like shape. I'm glad that you guys are working this stuff. If anyone wants to make some examples and/or a help patch for gemframebuffer, I'll happily check them into CVS.
.hc
On Dec 8, 2007, at 7:02 PM, cyrille henry wrote:
in fact, i made a mistake in my pevious patch.
it's working.
here is the corrected patch
cyrille
cyrille henry a écrit :
ok, i'm moving this thread to gem-dev... i finally manage to make some larsen using framebuffer. in fact, i pointed out the bug that prevent using this. i can't really explain better than with the attached patch. could someone please have a look? thanks Cyrille -------- Message original -------- Sujet: Re: [PD] gem, shader and framebuffer Date: Sat, 08 Dec 2007 20:37:38 +0100 De: cyrille henry cyrille.henry@la-kitchen.fr Pour: marius schebella marius.schebella@gmail.com Copie: PDlist pd-list@iem.at Références: 475AAF49.5000301@la-kitchen.fr <475AD93A. 1060200@gmail.com> 475AEA77.9050208@la-kitchen.fr 475AEED4.6050803@gmail.com marius schebella a écrit :
cyrille henry wrote:
yes. i faild to render in a framebuffer and using it as a texture for next rendered frame (just like in my wawe exemple). i think this should be more efficient than using pix_snap2tex.
if someone know how to do this...
maybe with pix_write_buffer, pix_read_buffer?
i want to use shader, so i don't think it will work.
don't have time to do more testing right now. what is the wawe exemple?
it's a phisical modeling wave exemple here it is. cyrille
marius.
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev<larsen_framebuffer.zip>
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
------------------------------------------------------------------------ ----
Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish. -William Carlos Williams