I have a composition available for download in my "box" widget at www.georgetoledo.com that shows how to do this via using an offscreen color buffer (what you're describing). I can't remember the name offhand, but it should be a fairly descriptive and literal title :-)
On Jan 17, 2012, at 5:50 AM, Joakim Svensson <joa...@imponera.se> wrote: > I got a request to publish my "sollution" to this list. > > The thing was that the function didn't end up doing anything (it wasn't a > closed circuit) so the values didn't get forwarded to the patches where I > thought my data was missing from. > > Solution: I put a "Image to String" and a "Billboard" as the last patch, > while I completed the function. > > While I'm at it, I can really recommend (sort of) collision testing with the > patch "Image Pixel", just make a separate image mask for the buttons and > assign a unique color value to each button. Compare the current color with > "String Compare". Saved me from a lot of complicated math. The best part is > the buttons doesn't need to be rectangular, they can be any shape you wish. > > 16 jan 2012 kl. 17:05 skrev Joakim Svensson: > >> Oh, sorry about that. It was easy enough. >> >> I'll try to control my frustration going forward. >> >> 16 jan 2012 kl. 16:58 skrev Joakim Svensson: >> >>> I'm trying to compare two color values for a collision test, but can't >>> connect the "RGB Color" output "Color" to anything useful to make a >>> comparison. >>> >>> Is there a way or am I out of luck? >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> http://lists.apple.com/mailman/options/quartzcomposer-dev/joakim%40imponera.se >>> >>> This email sent to joa...@imponera.se >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/quartzcomposer-dev/joakim%40imponera.se >> >> This email sent to joa...@imponera.se > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%40gmail.com > > This email sent to gtole...@gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com