On Sep 22, 2009, at 4:53 PM, Christopher Wright wrote:

Is there any way to induce QC to use images with signed float pixels?

It's possible with a Core Image filter:
<Negative Pixels.qtz>


This works on Leopard too.

Out of the box, there aren't many file formats that support floating point pixels at all, and those that do may complain/not support negative pixels. I've not tried though, so perhaps they're completely ok.

That's very interesting. It's too bad that passing that negated image into an OpenCL kernel clips the pixels to non-negative values. Is that necessary? Seems like a feature request.

Of course, I'm not interested in saving negatives pixels to a file. They're just variables in a computation.

Thanks!

 - Stoney

--
Stonewall Ballard
[email protected]           http://stoney.sb.org/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to