pix_snap2tex snaps the framebuffer and puts it into a texture on the graphics card. pix_buffer has no access to that texture. The pix_ should probably not be in the name of snap2tex since it is not really compatible with other pix_ objects.
You could use pix_snap and put that into pix_buffer. It will be slow.
hi there,
for the purpose of creating visual feedback, i just
had a quick shot at storing the result of a
pix_snap2tex in a pix_buffer. but somehow these two
don't get along very well: i don't get the snapshot
into the buffer, while pix_snap2texes help patch
("will take a snapshot of the current render buffer
and immediately texture it to any _geometric_ object
attached ...") makes me fear that i'm trying to do
something impossible here ...
tia,
thoralf.
___________________________________________________________
Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list