[GEM-dev] pix_buffer feature request

B. Bogart ben at ekran.org
Thu Nov 20 19:14:03 CET 2008


Hey all,

I'm using a buffer in random access order, so there tend to be empty
slots. Rather than just printing to the console "empty slot" it would be
nice to handle the state of buffer slots from inside PD.

in particular pix_buffer_read could have an additional outlet which
would send a "1" when the index corresponds to a occupied slot, and "0"
when the index corresponds to an empty slot.

Perhaps pix_buffer could have a message for querying the state of the
buffer slots "empty 0" to check if slot 1 is empty.

What I have done is load black images into all slots before writing in
order to avoid the lacking texture square. It would be better for the
gemhead just not to render if its slot is empty.

See you in Bergen Johannes!

Thanks,
B.




More information about the GEM-dev mailing list