There are GPGPU FFT routines using multi pass shaders but they mostly geared toward specific vendor implementations (but im not expert).

http://gpgpu.org/tag/fft

http://http.download.nvidia.com/developer/SDK/Individual_Samples/gpgpu_samples.html has an FFT implementation as well.

I'd imagine this is perfect for OpenCL, and would not be surprised if there already existed some OpenCL FFT somewhere out there.

FFT blurring can be fun too, do an FFT, a high pass and iFFT and you can get some really lovely blurs. I'd imagine a custom plugin would be the way to go but this is a bit above me. I'd love to see this too, so I second someone to rise to the challenge :)


On Sep 17, 2009, at 8:10 PM, Chris Wood wrote:

Here's a good challenge: fourier transform an image inside QC. Preferably at decent speed. Including a quick filter of some sort, and the inverse transform to get the image back.

Can it be done in any sane way? Anyone tried it?

The FFT methods I've come across so far involve multiple passes on the image, and swapping between two buffers.. I guess this might possibly be doable using a CI filter and a bit of javascript magic in the filter function. They also seem to need two output channels for each input, which could be more of an issue.

The other option is to write a plugin, but that would be seriously stretching my openGL skills a bit too far :)

Chris

_______________________________________________
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/doktorp%40mac.com

This email sent to [email protected]

_______________________________________________
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